Re:a popen question. Please help

2009-08-30 Thread ivanko . rus
First, I think you should use subprocess.Popen (it's recommended by PEP-324) instead of os.popen. For example: p = subprocess.Popen(["top"], stdout = PIPE) p.stdout.readlines() And to write to stdin (in your case "q") you can use p.stdin.write("q"), or terminate the process with p.terminate(

Re:Re: Sqlite format string

2009-08-29 Thread ivanko . rus
29.08.2009 17:26 пользователь Tim Chase написал: ivanko@gmail.com wrote: 29.08.2009 15:40 пользователь "Sergio Charpinel Jr." sergiocharpi...@gmail.com> написал: Thanks. Do you know if both of them works for mysql too? 2009/8/29 ivanko@gmail.com> 29.08.2009 15:2

Re:Re: Sqlite format string

2009-08-29 Thread ivanko . rus
29.08.2009 15:40 пользователь "Sergio Charpinel Jr." написал: Thanks. Do you know if both of them works for mysql too? 2009/8/29 ivanko@gmail.com> 29.08.2009 15:27 пользователь "Sergio Charpinel Jr." sergiocharpi...@gmail.com> написал: Actually, this works for any string (it doesn'

Re:Re: IDE for python similar to visual basic

2009-08-29 Thread ivanko . rus
29.08.2009 1:32 пользователь Vivian Wang написал: On Aug 29, 6:19 am, qwe rty hkh00...@gmail.com> wrote: > i have been searching for am IDE for python that is similar to Visual > Basic but had no luck.shall you help me please? You can try biform: http://www.bilive.com/download/Se

Re:Re: Monitoring stdout in (more or less) real time

2009-08-29 Thread ivanko . rus
29.08.2009 2:21 пользователь Gabriel Genellina написал: En Sat, 29 Aug 2009 03:28:26 -0300, ivanko@gmail.com> escribió: Hello to everyone! I am making a program that will be a GTK+ frontend to ffmpeg. Naturally, one of the main functions is parsing ffmpeg's output. It's pretty s

Re:Python Noob - gui module, book, annoying questions

2009-08-29 Thread ivanko . rus
29.08.2009 2:20 пользователь Pherdnut написал: I want to write cross-platform stuff. Any opinions on the best GUI module for that? There are many options for this. For example GTK+ (pygtk), tkinter, QT. GTK+ is a little bit complicated, but you can use glade to make the GUIs. Tkinter is b

Re:IDE for Python

2009-08-29 Thread ivanko . rus
29.08.2009 4:14 пользователь "Thangappan.M" написал: Dear all, Please suggest some good IDE for python.I am working in linux platform. -- Regards, Thangappan.M You can use Eclipse + PyDev or Emacs+PythonMode . Also there are Anjuta and Code:Blocks, but they are designed mainly for C

Monitoring stdout in (more or less) real time

2009-08-29 Thread ivanko . rus
Hello to everyone! I am making a program that will be a GTK+ frontend to ffmpeg. Naturally, one of the main functions is parsing ffmpeg's output. It's pretty simple when I, for example, retrieve information about a file (the program finishes and I read the output). But it also needs to parse