BestTechie Forums: Pywin32 'none' Variable - BestTechie Forums

Jump to content

Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

Pywin32 'none' Variable


#1 User is offline   Artman 

  • Member
  • Pip
  • Group: Members
  • Posts: 1
  • Joined: 16-February 09

Posted 16 February 2009 - 02:46 AM

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.

Thanks in advance,
Artman

#2 User is offline   Matt 

  • root
  • Group: Contributor
  • Posts: 3512
  • Joined: 23-August 04
  • Location:Ohio
  • Operating System:Ubuntu 9.04 (64 bit), Vista Home Premium (32 bit)

Posted 17 February 2009 - 03:07 PM

http://boodebr.org/m...e-empty-nothing

That might reveal some helpful info.

#3 User is offline   iccaros 

  • UberTechie
  • Group: Linux Experts
  • Posts: 1292
  • Joined: 31-August 04
  • Location:Great State of Washingtion
  • Operating System:Gentoo,Iccaros-Linux(of course),Slackware,GentooX,Red Hat, Windows (3.1 to VISTA BETA), MAC OSX (10.4 currently),LFS, Solaris 8,9,10, Trusted Solaris, FreeBSD, OPENBSD, NETBSD

Posted 17 February 2009 - 08:24 PM

null

Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

1 User(s) are reading this topic
0 members, 1 guests, 0 anonymous users