[Tutor] Is "var = None" in Python equivalent to "Set var = Nothing"in VB?
kf9150 at gmail.com
Mon Jun 30 11:26:29 CEST 2008
wesley chun <wescpy <at> gmail.com> writes:
> one question i'd like to ask is, in what context is such a line part
> of your code? altho alan is correct in that syntactically, they're
> very similar, i'm wondering what you're using it for.
Thanks for your reply (also thanks to others who replied). I was trying to
translate a VBA sample in this page http://tinyurl.com/3hvj3j to python. The VBA
sample has a line "Set objDbx = Nothing".
Btw, I bought your book "Core Python Programming, 2nd Edition" and really enjoy
reading it. Thanks.
More information about the Tutor