Python Newbie

Dave Angel davea at davea.name
Sun Feb 24 23:47:26 CET 2013


On 02/24/2013 10:46 AM, piterrr.dolinski at gmail.com wrote:
> Hi guys,
>
> Question. Have this code
>
> intX = 32                          # decl + init int var
> intX_asString = None               # decl + init with NULL string var

None is not a str, and it's not a "NULL string var"   Perhaps what you 
want is intX_asString = ""

 > I am using a Python IDE called PyScripter. Its Intellisense is full
 > of methods starting and ending with "__", hence the question.

I'm surprised;  I'd expect the Intellisense to filter those out by 
default, since people seldom should call them.

-- 
DaveA



More information about the Python-list mailing list