For my program I disable the py2exe log feature by routing output to the
nul-file.
Code:
if win32 and py2exe:
sys.stdout = open("nul", "w")
sys.stderr = open("nul", "w")
This always worked fine.
Today, I received an email from a user with the following error:
IOEr
Hello,
I'm writing an application which will hold a database of people. Ofcourse,
people can have the same name, so I want to stock them with an unique ID.
I've searched and found some things:
- uuid.uuid4()
- id(name)
- os.urandom(n)
But they seem overkill to me. Well, maybe not id().
What sho
Hello all,
At the moment I'm using 3 files as datastorage for my program. One file
using ConfigParser and two use the Pickle module.
File one contains for example:
[ID]
option1 = string1
option2 = string2
option3 = string3
And is connected to one of the Pickle files which is like this:
{ID : [{k