On Dec 16, 5:24 am, John Machin <[EMAIL PROTECTED]> wrote: > > Yes. Consider this: If you were to run your calculation script from > the shell prompt [strongly recommended during testing], how would you > tell it the name of the file? Now look at the docs again. >
File arguments! Of course, totally forgot about them! Thanks a lot! > > > > PS: both with mmpam and temp file you probably meant that I should > > hard code some as-weirdest-filename-as-possible two both programs but > > what if I run the computation several times? > > That's mmap, not mmpam. No, Dennis didn't mean that you should hard > code a filename. Have a look at the tempfile module. Now I recall I read I somewhere that network communication is so much faster than disk access (especially on the same machine, as steve howell suggested) so instead of file names I probably should find out which port is open to use. -- http://mail.python.org/mailman/listinfo/python-list