Re: running a python program

2014-08-28 Thread Mark Lawrence
On 28/08/2014 16:53, ngangsia akumbo wrote: thanks i figured it out So what did you feed the cat in the end? Or are we on a new topic? Or what? -- My fellow Pythonistas, ask not what our language can do for you, ask what you can do for our language. Mark Lawrence -- https://mail.python.

Re: running a python program

2014-08-28 Thread ngangsia akumbo
thanks i figured it out -- https://mail.python.org/mailman/listinfo/python-list

Re: running a python program

2014-08-28 Thread Mark Lawrence
On 28/08/2014 10:31, ngangsia akumbo wrote: i have done so before posting here Done what, fed the cat? -- My fellow Pythonistas, ask not what our language can do for you, ask what you can do for our language. Mark Lawrence -- https://mail.python.org/mailman/listinfo/python-list

Re: running a python program

2014-08-28 Thread ngangsia akumbo
thanks -- https://mail.python.org/mailman/listinfo/python-list

Re: running a python program

2014-08-28 Thread ngangsia akumbo
i have done so before posting here -- https://mail.python.org/mailman/listinfo/python-list

Re: running a python program

2014-08-28 Thread Chris Angelico
On Thu, Aug 28, 2014 at 7:10 PM, ngangsia akumbo wrote: > when i run python setup.py py2exe i get this error > > no module name py2exe any help please Any help? Sure. I'll offer three suggestions. 1) Don't top-post. 2) Don't use Google Groups, or edit your posts before sending. 3) Use a web sear

Re: running a python program

2014-08-28 Thread ngangsia akumbo
when i run python setup.py py2exe i get this error no module name py2exe any help please On Wednesday, August 27, 2014 8:39:28 AM UTC-7, Grant Edwards wrote: > On 2014-08-27, ngangsia akumbo wrote: > > > > > i have written a small scripts in python that inputs two values and > > > prints ou

Re: running a python program

2014-08-27 Thread Grant Edwards
On 2014-08-27, ngangsia akumbo wrote: > i have written a small scripts in python that inputs two values and > prints out the sum. > > Ok i want to be able to install this program on a windows 8 machine > and run it as a normal program. I use py2exe for that. When I want to bundle it up with an i

Re: running a python program

2014-08-27 Thread Chris Angelico
On Wed, Aug 27, 2014 at 11:46 PM, ngangsia akumbo wrote: > please i need some help You could try a search engine. Type what you want into it, and start reading the results. In the three minutes between your first post and your context-free and content-free nudge, you probably could have found wha

Re: running a python program

2014-08-27 Thread William Ray Wing
On Aug 27, 2014, at 9:42 AM, ngangsia akumbo wrote: > i have written a small scripts in python that inputs two values and prints > out the sum. > > Ok i want to be able to install this program on a windows 8 machine and run > it as a normal program. > > i want to be able to run it to any wind

Re: running a python program

2014-08-27 Thread ngangsia akumbo
please i need some help -- https://mail.python.org/mailman/listinfo/python-list

running a python program

2014-08-27 Thread ngangsia akumbo
i have written a small scripts in python that inputs two values and prints out the sum. Ok i want to be able to install this program on a windows 8 machine and run it as a normal program. i want to be able to run it to any windows machine without necessarily installing python on that machine.

Re: Help Need in running a Python Program from terminal

2010-10-26 Thread Raji
Greetings Philip ! > File "openastro.py", line 90, in > >TRANSLATION[LANGUAGES[i]] = > > gettext.translation("openastro",TDomain,languages=['en']) > > File "/usr/lib/python2.6/gettext.py", line 484, in translation > >raise IOError(ENOENT, 'No translation file found for domain', domain)

Re: Help Need in running a Python Program from terminal

2010-10-25 Thread Philip Semanchuk
On Oct 25, 2010, at 7:16 AM, Raji wrote: > Greetings ! > > I want to analyse and debug a python program ( its a astrology application > ) > > Downloaded the code from here http://openastro.org/?Download > for Ubuntu > > When i executed the main file python o

Help Need in running a Python Program from terminal

2010-10-25 Thread Raji
Greetings ! I want to analyse and debug a python program ( its a astrology application ) Downloaded the code from here http://openastro.org/?Download for Ubuntu When i executed the main file python openastro.py from terminal i stopped with the following error

Re: Running a python program as main...

2008-03-26 Thread Rick Dooling
On Mar 26, 9:12 am, waltbrad <[EMAIL PROTECTED]> wrote: > On his command line he types: > > C:\...\PP3E>Launcher.py > > and this begins the program. Doesn't work for me. I have to type: > > C:\...\PP3E>python Launcher.py > > Is this a typo on his part or has he configured his settings in such a >

Re: Running a python program as main...

2008-03-26 Thread subeen
On Mar 26, 8:12 pm, waltbrad <[EMAIL PROTECTED]> wrote: > Stumbling through Mark Lutz's "Programming Python 3rd", he gives an > example of a program that will automatically configure environment > settings and launch other programs. Then he gives an example of > running this program. On his comm

Re: Running a python program as main...

2008-03-26 Thread Robert Lehmann
On Wed, 26 Mar 2008 13:05:55 -0300, Gabriel Genellina wrote: > En Wed, 26 Mar 2008 11:12:21 -0300, waltbrad <[EMAIL PROTECTED]> > escribió: > >> Stumbling through Mark Lutz's "Programming Python 3rd", he gives an >> example of a program that will automatically configure environment >> settings a

Re: Running a python program as main...

2008-03-26 Thread Gabriel Genellina
En Wed, 26 Mar 2008 11:12:21 -0300, waltbrad <[EMAIL PROTECTED]> escribió: > Stumbling through Mark Lutz's "Programming Python 3rd", he gives an > example of a program that will automatically configure environment > settings and launch other programs. Then he gives an example of > running this

Running a python program as main...

2008-03-26 Thread waltbrad
Stumbling through Mark Lutz's "Programming Python 3rd", he gives an example of a program that will automatically configure environment settings and launch other programs. Then he gives an example of running this program. On his command line he types: C:\...\PP3E>Launcher.py and this begins the

Re: Running a python program during idle time only

2005-06-01 Thread los
I'm writting the code with the win32 module I found. The way I'm planning on attacking the problem after reading all the remarks is as follows: 1.) have the program run a full system index, and once it completes it turn the flag on a configuration file to true 2.) after this initial index, every

Re: Running a python program during idle time only

2005-05-27 Thread John Abel
Shane Hathaway wrote: >Mike Meyer wrote: > > >>On a completely different topic, this looks like the wrong way to solve >>the problem. You want to update a search engine based on changes to the >>underlying file system. The right way to do this isn't to just keep >>rescanning the file system, it'

Re: Running a python program during idle time only

2005-05-27 Thread John Abel
John Abel wrote: >Shane Hathaway wrote: > > > >>Mike Meyer wrote: >> >> >> >> >>>On a completely different topic, this looks like the wrong way to solve >>>the problem. You want to update a search engine based on changes to the >>>underlying file system. The right way to do this isn't to ju

Re: Running a python program during idle time only

2005-05-27 Thread John Abel
Shane Hathaway wrote: >Mike Meyer wrote: > > >>On a completely different topic, this looks like the wrong way to solve >>the problem. You want to update a search engine based on changes to the >>underlying file system. The right way to do this isn't to just keep >>rescanning the file system, it'

Re: Running a python program during idle time only

2005-05-27 Thread Shane Hathaway
Mike Meyer wrote: > On a completely different topic, this looks like the wrong way to solve > the problem. You want to update a search engine based on changes to the > underlying file system. The right way to do this isn't to just keep > rescanning the file system, it's to arrange things so that yo

Re: Running a python program during idle time only

2005-05-24 Thread los
Yes it should. The problem is that I notice a loss in performance when the program is running at 100% CPU. Even though it is nice, if you try to open up new applications, or switch between them, you notice your computer lagging a little bit. That's why even though I'm not using the cpu that much

Re: Running a python program during idle time only

2005-05-23 Thread Asbjørn Sæbø
"los" <[EMAIL PROTECTED]> writes: > Thanks for all the replies. > > I did try using nice under windows. I created a java program that > would just loop and print numbers on the screen. Even when I ran that > simple program with nice, (lets call it program A) as soon as I started > the program t

Re: Running a python program during idle time only

2005-05-23 Thread David Rushby
los wrote: > I'm trying to create a program similar to that of Google's desktop that > will crawl through the hard drive and index files. I have written the > program and as of now I just put the thread to sleep for 1 second after > indexing a couple of files. > > I'm wondering if anyone knows of

Re: Running a python program during idle time only

2005-05-23 Thread Mike Meyer
"los" <[EMAIL PROTECTED]> writes: > Thanks for all the replies. > > I did try using nice under windows. I created a java program that > would just loop and print numbers on the screen. Even when I ran that > simple program with nice, (lets call it program A) as soon as I started > the program t

Fwd: Running a python program during idle time only

2005-05-23 Thread James Carroll
I think you can keep your sleep commands in your program to keep it from hogging the cpu even when you are running it as nice. You know, even more important than cpu load (since your indexer is accessing the hard drive, is hard drive access..) You can monitor the bytes / second going to the hard

Re: Running a python program during idle time only

2005-05-23 Thread James Carroll
I think you can keep your sleep commands in your program to keep it from hogging the cpu even when you are running it as nice. You know, even more important than cpu load (since your indexer is accessing the hard drive, is hard drive access..) You can monitor the bytes / second going to the hard

Re: Running a python program during idle time only

2005-05-23 Thread los
Thanks for all the replies. I did try using nice under windows. I created a java program that would just loop and print numbers on the screen. Even when I ran that simple program with nice, (lets call it program A) as soon as I started the program the cpu went all the way to 100% usage. Then wh

Re: Running a python program during idle time only

2005-05-22 Thread Terry Hancock
On Friday 20 May 2005 08:06 pm, los wrote: > I'm wondering if anyone knows of a way that I could make so that the > program will run at full speed only runs after the computer has been > idle for a while. I've looked at the "nice" command but that's not > exactly what I want. You need to define w

Re: Running a python program during idle time only

2005-05-22 Thread Cousin Stanley
| | I'm wondering if anyone knows of a way that I could make so that | the program will run at full speed only runs after the computer | has been idle for a while. Perhaps looking at some ScreenSaver code could be useful I've never considered how this is done myself, but ScreeS

Re: Running a python program during idle time only

2005-05-21 Thread James Carroll
There's probably a way to tell how long the user has been idle, but here's how you can check the CPU load to see if it's elevated... (of course your program might elevate it too.) On linux, you can read from /proc/loadavg Here's a fun thing to try on windows... make sure you have the win32all

Re: Running a python program during idle time only

2005-05-20 Thread Donn Cave
Quoth Mike Meyer <[EMAIL PROTECTED]>: | "los" <[EMAIL PROTECTED]> writes: | > I'm trying to create a program similar to that of Google's desktop that | > will crawl through the hard drive and index files. I have written the | > program and as of now I just put the thread to sleep for 1 second afte

Re: Running a python program during idle time only

2005-05-20 Thread Mike Meyer
"los" <[EMAIL PROTECTED]> writes: > I'm trying to create a program similar to that of Google's desktop that > will crawl through the hard drive and index files. I have written the > program and as of now I just put the thread to sleep for 1 second after > indexing a couple of files. > > I'm wonder

Running a python program during idle time only

2005-05-20 Thread los
Hi, I'm trying to create a program similar to that of Google's desktop that will crawl through the hard drive and index files. I have written the program and as of now I just put the thread to sleep for 1 second after indexing a couple of files. I'm wondering if anyone knows of a way that I coul