where do I put resources (images, audio files) when I wrote Python program?

2009-07-27 Thread Piotrek
Hello, I write a Python program. It will contain some images (in .png format), some audio files (as .ogg) etc. Now I think where should my installer put these files and how should I access them. What is the normal Python way of doing that? I think about puting these files in /usr/share/myprogram a

Control a process interactively (pexpect) and save data

2009-05-06 Thread Piotrek G.
al input argument should be a string to be sent to the child process, or None, if no data should be sent to the child." So it "waits for process to terminate" and I'm unable to interact... Any suggestions? Oh, and by the way my script works with /bin/sh but doesn'

Re: Finding a sense of word in a text

2008-06-12 Thread Piotrek Byzia
On 11 Cze, 19:10, Sengly <[EMAIL PROTECTED]> wrote: > Dear all, > > This might be off group but I am looking for a python library that can > help me to find a sense of a word in a text and eventually a list of > synonyms of that term. I searched the web and found one but it is > written in perl (ht