New to Python. Here is the code thatwork in vb scripts. how to make it work in python
If [APPLICANT] = "UWNY" Then
Attachment = "G:\highway_Permits\Road_Permits\Road Permits Issued\Road_Permits_Suez_PDF_Scans\"+ [PERMIT_NO] +".pdf"
ElseIf [APPLICANT] = "O&R" Then
Attachment = "G:\highway_Permits\Road_Permits\Road Permits Issued\Road_Permits_OnR_PDF_Scans\"+ [PERMIT_NO] +".pdf"
Else
Attachment = "G:\highway_Permits\Road_Permits\Road Permits Issued\Roads_Permits_Others_PDF_Scans\"+ [PERMIT_NO] +".pdf"
End If