Top.Mail.Ru
Python
? ?
LiveJournal for python.
View:Personal Journal.
View:Friends.
View:Calendar.
Missed some entries? Then simply jump to the previous day or the next day.

Tuesday, March 28th, 2006

Subject:decimal seperator in windows
Time:11:23 am.
Hi, I'm new to Python... so I don't know if this easy or if it is even possible.

Does anyone know how to get hold of the sign used as number decimal separator in WinXP (from the regional settings)? It is '.' in some computers, but the ones with Norwegian setting it is ',' . I need my script to use the correct sign in some command calls. I can't find it in the sys library, or any other place. I really hate to look it up on each computer and then change the python script!
Comments: Read 4 orAdd Your Own.

LiveJournal for python.

View:User Info.
View:Friends.
View:Calendar.
View:Memories.
Missed some entries? Then simply jump to the previous day or the next day.

Image