Re: [Tutor] Correct Way to Start a Python Program Under Linux

2007-01-19 Thread pytutor . 20 . 247ob
> wrote > > I'm not sure what you mean by a filelauncher. > In my window manager I just add the file path to my menu > by editing a dialog box or config file. which environment are you > using? Im using gnome and creating a 'custom application launcher' by rt click a panel and choosing 'add to

[Tutor] Correct Way to Start a Python Program Under Linux

2007-01-18 Thread pytutor . 20 . 247ob
Hi, Please help I'm at my wits end... My program comprises of 2 modules and runs a gui written in pygtk2, I have at the beginning of each: #!/bin/env python I made it executable (chmod a+x) I can run them from a terminal window like $ /path/to/file.py this works fine and dandy no probs at all

[Tutor] Subprocess popen problem depending on how I start program

2007-01-16 Thread pytutor . 20 . 247ob
Hi, I'm writing a program that downloads audio streams from the net, to do this I use mplayer and tcpdump, which I kick off as detached processes (if thats the correct terminology), I do it this way because i'm using pygtk and I dont want the program to wait for the processes to finish otherwise th

[Tutor] Best way to call a prog that requires root access in linux

2007-01-05 Thread pytutor . 20 . 247ob
Hi all, I've had a dig around on the forums about this and it was suggested to use 'sudo'. Well I have done this, I need to call tcpdump so I can sniff the traffic and find the url's, I've modified my sudoers file so that for this exe only I need no password. This seems to be the best way since th