How to make a Python script to audio read a text file on phone ?

2013-03-17 Thread Nic
I've installed Python on my Nokia E71 (Symbian S60 3rd FP1) and found a script example which can read out text, see example below. I want to make the script to asks me for a text file instead and then reads out the content. I guess it works with a .txt file, dont know if other formats work. Re

Re: os.popen() not executing command on windows xp

2007-01-11 Thread nic
It appears os.popen() doesn't like full windows paths with spaces (e.g. "c:/program files") so I'm going to use the subprocess module. -- http://mail.python.org/mailman/listinfo/python-list

Re: os.popen() not executing command on windows xp

2007-01-11 Thread nic
Justin Ezequiel wrote: > > import os > > a = os.popen('"c:\Program Files\Grisoft\AVG Free\avgscan.exe" > > "c:\program files\temp1\test1.txt"') > > print a.read() > > > > use raw strings > > e.g., instead of '"c:...\avgscan...' > use r'"c:...\avgscan...' > > http://www.ferg.org/projects/python_gotc

os.popen() not executing command on windows xp

2007-01-11 Thread nic
On my system (WinXP) typing the following line into command prompt(cmd.exe) successfully scans the file test1.txt: "c:\Program Files\Grisoft\AVG Free\avgscan.exe" "c:\program files\temp1\test1.txt" Yet the python script: import os a = os.popen('"c:\Program Files\Grisoft\AVG Free\avgscan.exe" "c:\p

graphical class diagram tool?

2006-11-14 Thread nic
Hi all Some years ago I saw a graphical class diagram generated by examining a python program. I *thought* that this was done with Boa Constructor, but I may be wrong. I've download a recent version of BC and can't find reference to this feature. Can anyone point me at other tools to do this?

Re: Ricerca Programmatore Python

2006-05-30 Thread Nic
I read your replies and am really sorry for the trouble. Best regards, Nic "Boris Borcic" <[EMAIL PROTECTED]> ha scritto nel messaggio news:[EMAIL PROTECTED] > Nic wrote: >> Please accept my apologies for the use of the Italian language. > > accepted --

Ricerca Programmatore Python

2006-05-29 Thread Nic
Please accept my apologies for the use of the Italian language. * Salve a tutti, Scrivo per informarvi di una proposta di collaborazione. Sto cercando un programmatore per la realizzazione di un mini-software utile per analizzare e rappresentare multigrafi. Si richiede una ottima com

Re: Python and Combinatorics

2006-05-16 Thread Nic
Thanks a bunch. Both the codes are fine. Only one question, if you allow. In my example I've chosen the number 3. How should I change the Python code in order to select another number (e.g. 7)? Thanks. Nic -- http://mail.python.org/mailman/listinfo/python-list

Re: Python and Combinatorics

2006-05-16 Thread Nic
I forgot them. Sorry. They should be included. Nic "Peter Otten" <[EMAIL PROTECTED]> ha scritto nel messaggio news:[EMAIL PROTECTED] > Nic wrote: > > [Algorithm that I may have misunderstood] > >> 12a 13a 23a >> 12a 13b 23a >> 12a 13b 23b >>

Python and Combinatorics

2006-05-16 Thread Nic
Hello, I've a problem in defining a good Python code useful to articulate the following algorithm. Can you help me please? Thanks a bunch, Nic 1. Insert a number "n". Example: 3 2. List all the numbers < or = to n. Example: 1,2,3. 3. Combine the listed numbers each other. Ex

Re: List and order

2006-05-16 Thread Nic
Perfect. Thanks. Nic "Peter Otten" <[EMAIL PROTECTED]> ha scritto nel messaggio news:[EMAIL PROTECTED] > Nic wrote: > >> The only problem is that from: >> 12 >> 22 >> 21 >> In spite of writing >> 12 12 22 >> it writes >> 12 21

Re: List and order

2006-05-15 Thread Nic
Many thanks. Both the cases are OK. The only problem is that from: 12 22 21 In spite of writing 12 12 22 it writes 12 21 22 Do you know how is it possible to delete also this last trouble? Thanks a bunch, Nic "Peter Otten" <[EMAIL PROTECTED]> ha scritto nel messaggio news:[EMAIL

Re: List and order

2006-05-15 Thread Nic
n) Do you know how is it possible to delete it? Thanks. Nic "Miki" <[EMAIL PROTECTED]> ha scritto nel messaggio news:[EMAIL PROTECTED] > Hello Nic, > > Python lists has a very powerfull buid-in "sort". > > edges = list(G.edges()) > edges.sort(key

List and order

2006-05-15 Thread Nic
] As result, I have: 12 22 21 I'd like to order the numbers included in the couples in a decrescent way: 12 12 22 And then to write the couples on a single line, always in a decrescent way: 12 12 22 I'm not able to do this operation. Can you help me please? Thanks a bunch,

Re: Is there an equivalent to Java Webstart in Python?

2005-12-05 Thread Nic Bar
The idea is that I don't want to have the user installing anything in his machine. The only thing he/she may install is the virtual machine. THis way I can modify the application as necessary without the need to redeploy on each and one of the installed machines. Nic On 5 Dec 2005 04:

Re: Is there an equivalent to Java Webstart in Python?

2005-12-05 Thread Nic Bar
(assuming the correct version of python is already installed on the local computer) Thanks Nic On 5 Dec 2005 02:45:04 -0800, "James" <[EMAIL PROTECTED]> wrote: >Use Jython or IronPython. >(Almost) One click web deployment is only available for Java and .NET >platforms

Is there an equivalent to Java Webstart in Python?

2005-12-05 Thread Nic Bar
Hi everybody, I want to develop a WEB based Python user appication that nees to be downloaded and started grom a web server using a browser. Does anybody know if there is an equivalent of Java WebStart for python applications? Nic -- http://mail.python.org/mailman/listinfo/python-list