[python-win32] PyWin 32 variable instead of 'Nothing' in VB

Tim Golden mail at timgolden.me.uk
Mon Feb 16 16:07:43 CET 2009


Payman Rowhani wrote:
> We have a Visual Basic script that communicates with an application through com. 
We like to translate it to Python and use win32com.client instead. 
We have everything working, except for the use of "Nothing" in the 
VB script for a couple of its function calls. What is the replacement 
of "Nothing" in Python? Note that the generic "None" does not work. 


I *think* you can use pythoncom.Empty

TJG


More information about the python-win32 mailing list