Re: sys.path and unicode folder names

2006-02-09 Thread Nir Aides
Martin v. Löwis wrote: > Nir Aides wrote: >> If few people use file names not in their respective CP_ACP as you say, >> why did Microsoft bother to make Windows XP a unicode OS? > > Because it simplifies their implementation, in the long run. > >> It is because of

Re: sys.path and unicode folder names

2006-02-09 Thread Nir Aides
altered to work around the problem, but the fact remains: Python is Broken. Martin v. Löwis wrote: > Nir Aides wrote: >> Actually, I already managed to make a Patch for this problem. >> I will post it soon on my website and in this group. >> >> But I find it strange that

Re: sys.path and unicode folder names

2006-02-08 Thread Nir Aides
Actually, I already managed to make a Patch for this problem. I will post it soon on my website and in this group. But I find it strange that this problem even exists, and that I could not find any workarounds on the Internet. Nir Martin v. Löwis wrote: > Nir Aides wrote: >>

Re: sys.path and unicode folder names

2006-02-07 Thread Nir Aides
I can not restrict the name to CP_ACP. I am interested in the general case of Unicode. Windows XP is a native Unicode OS. Martin v. Löwis wrote: > Nir Aides wrote: >> Is there a solution or a work around for the sys.path problem with >> unicode folder names on Windows XP? >>

sys.path and unicode folder names

2006-02-07 Thread Nir Aides
Hello, Is there a solution or a work around for the sys.path problem with unicode folder names on Windows XP? I need to be able to import modules from a folder with a non-ascii name. Thanks, Nir -- http://mail.python.org/mailman/listinfo/python-list

Re: Looking for a Python mentor

2005-10-13 Thread Nir Aides
Hello Len, You should try the #python IRC room. It is always very active and helpful. Nir LenS wrote: > Hello > > Was wandering if there is any place where some one could go to get > mentoring on python coding. I have started coding in python but I am > the only one in the shop using it. S

tracing crash

2005-05-29 Thread Nir Aides
Hi, I am facing a strange problem. I will appreciate an explanation and a work around for the problem. Look in the following code paste. It seems that taking a reference to the frame object crashes python in some scripts: # # trace_hell.py # # crashes with spe (stani's python editor) v0.7.3.a #

tkinter and threads

2005-05-04 Thread Nir Aides
Hello, In Tkinter, is it safe to call widget.after(time, callback) from another thread (other than the gui thread)? Thanks, Nir -- http://mail.python.org/mailman/listinfo/python-list

Tkinter and Windows XP themes (via manifest files)

2005-05-03 Thread Nir Aides
Hello, How do I make Tkinter use windows XP themes? ordinary root Tkinter windows ignore the manifest file (which is placed by wxPython for the same purpose) but message dialogs popped with tkMessageBox.Message do use the Windows Theme, so it should be possible. Does anyone has a clue? Thanks,