[Verba] Re: Nemesis Coding: Taylor's solution completed
Stuart D. Gathman
stuart at gathman.org
Tue Jan 24 17:43:34 EST 2006
On Tue, 24 Jan 2006, Rebecca Chenette wrote:
> "Run it from a command line" is the part i need to figure out. You're
> right about the whole windows not being very cool about running programs
> from an email attachment. How do I get to the command line? I can talk with
> you about it tomorrow, if you like. This time I'm not planning on being
> ill:)
1) Right click on attachment as "Save As". Make sure you remember which
directory you saved it in. You might want to create a folder
for your python stuff.
2) From the Start Menu, find "Command Prompt". This can be hard to find
since they keep moving it around, so instead you can select "Run Program"
and enter "CMD" as the program.
3) At the Command prompt, enter "CD \PATH\TO\MY\PYTHON\FOLDER" where
you saved the attachment.
4) At the CMD prompt, you can use "TYPE bin2.py" to display the file,
or "NOTEPAD bin2.py" to edit with NOTEPAD.
5) At the CMD prompt, type "python bin2.py" to run. Or first edit
a data file with NOTEPAD/VIM/whatever ("NOTEPAD data.txt") and
run with "python bin2.py <data.txt".
--
Stuart D. Gathman <stuart at bmsi.com>
Business Management Systems Inc. Phone: 703 591-0911 Fax: 703 591-6154
"Confutatis maledictis, flamis acribus addictis" - background song for
a Microsoft sponsored "Where do you want to go from here?" commercial.
More information about the Verba
mailing list