Hello,
when i try to run this (see below) i get message: socket error: no connection
could be made because the target maching actively refused it, and, idle
subprocess didn't make connection. either idle can't start a subprocess or
personal firewall software is blocking the connection.
def
On 12/20/2009 11:53 PM, Richard Hultgren wrote:
Hello,
when i try to run this (see below) i get message: socket error: no
connection could be made because the target maching actively refused it,
and, idle subprocess didn't make connection. either idle can't start a
subprocess or personal
Michael Yang wrote:
Hi Everyone,
I'm new to programming and to python.
I have a program I want to run on my Media Temple Virtual Server (dv)
- Linux. which has the latest Plesk 9 virtuozzo installed.
Ultimately I want it to run the program (main.py) on a scheduled
basis. How do I do
Michael Yang wrote:
thanks. so this would run my script on a schedule i specify. And its
a set it and forget it deal.
but if i want to view the output of the program (ie. the program has
various print statements to show program's status), how would I do
this while its running the job?
Hi Everyone,
I'm new to programming and to python.
I have a program I want to run on my Media Temple Virtual Server (dv) -
Linux. which has the latest Plesk 9 virtuozzo installed.
Ultimately I want it to run the program (main.py) on a scheduled basis. How
do I do this?
Thanks!
-Mike
WM [EMAIL PROTECTED] wrote
a = Futzenburgerstein
b = ( 7 + 2 ) / 3
c = b / 2
print a, b, c
The above text was copied from a window named
??futz.py-C:\Python26\futz.py The ?? is two red
script characters which I cannot read. When I go
'F5' or Run Run Module I get kicked back into IDLE.
a = Futzenburgerstein
b = ( 7 + 2 ) / 3
c = b / 2
print a, b, c
The above text was copied from a window named
??futz.py-C:\Python26\futz.py The ?? is two red
script characters which I cannot read. When I go
'F5' or Run Run Module I get kicked back into IDLE.
Shouldn't 'F5' get me a window
Howdy,
I am working on some research. I'm trying to optimize the performance of
an antenna. For the simulation of the antenna it would be easiest to use
an antenna software package that I have in my lab. I know that Matlab
can call the antenna software through a command called system. Matlab
There is also os.system which should work in a similar way as Matlab
system. You pass a string with the command and arguments. The downside
of system is that it opens an entire shell and environment for the
program being run, you only have the return value from the
application.
Other options can
I know this seems elementary, but if I write a program and save it as a .py
file, how do I then run that program on the command line or in the Python Shell
(GUI)? Or is there something I'm missing? I swear I was able to do this once,
and now I can't remember what I did...
Jessica Brink
Jessica,
Assuming you have python installed on your system (Windows?, *nix?),
then all you have to do is double click the .py file and it will run.
If you want, you can run it from the command line:
C:\ python yourfile.py
On 5/1/07, Jessica Brink [EMAIL PROTECTED] wrote:
I know this
Jessica Brink [EMAIL PROTECTED] wrote
I know this seems elementary, but if I write a program and
save it as a .py file, how do I then run that program on the
command line
Just type python script.py at the OS prompt
Or in *nix you can just type script.py if you havbe a shebang
line at
Pujo Aji [EMAIL PROTECTED] wrote:
this should be the same as running other python code.
assuming you use windows, you can type from dos command :
python namefile.py
Or indeed just double click on the file in Windows explorer.
Extra tip:
If you rename it to namefile.pyc then it won't bring
Alan Gauld wrote:
Or indeed just double click on the file in Windows explorer.
Extra tip:
If you rename it to namefile.pyc then it won't bring up the
blank DOS console window.
mmm, that should be namefile.pyw
Kent
--
http://www.kentsjohnson.com
Hello everybody,I have a very simple question: how can I run a script that uses module Tkinter without using IDLE? Thank you,David
Yahoo! Music Unlimited - Access over 1 million songs. Try it free.___
Tutor maillist - Tutor@python.org
15 matches
Mail list logo