Re: very weird python bug..

2009-09-28 Thread Sampsa Riikonen
On Thursday 24 September 2009 02:01:52 pm Christian Heimes wrote: Sampsa Riikonen wrote: = If I start the program in directory paska2, everythings OK, but if the directory name happens to be python, the importation of the modules goes nuts! What's inside the python/ subdirectory? Do you

very weird python bug..

2009-09-24 Thread Sampsa Riikonen
Dear List, Maybe someone could help out with this mysterious bug.. starting a python program in a directory named python, makes the importation of modules sometimes impossible with cryptic error messages.. sam...@linux-912g:~ mkdir paska2 sam...@linux-912g:~ sam...@linux-912g:~ echo import

Re: very weird python bug..

2009-09-24 Thread Christian Heimes
Sampsa Riikonen wrote: = If I start the program in directory paska2, everythings OK, but if the directory name happens to be python, the importation of the modules goes nuts! What's inside the python/ subdirectory? Do you happen to have a file called struct.py inside it? --