i need to call a DLL from within a python program. in VB i would declare the function like... Declare Function LoadSFW Lib "Sfwlnk32" (ByVal strPath As String, ByVal strConfig As String) As Long then use it later like... intErrorCode = LoadSFW("C:\SFW", 6) i don't know how to do this in Python, so any quick explanation would be helpful. doug