[docs] suggestion for tutorial, section 2
Christopher Crawford
crawford at pa.uky.edu
Sun Aug 19 16:05:14 CEST 2012
Hello,
As someone just learning Python from Bash/C++ background, I would
like to suggest a small addition to 2.1.2:
how to execute a script inside the shell (similar to bash
'scriptname', 'source script' or '. script'):
import fn, or reload(fn)
related, it would be nice to have info near the beginning of the
tutorial how to call system commands:
import os; os.system('..')
--thanks, Chris
Christopher Crawford
Dept. of Physics & Astronomy
University of Kentucky
373 C.-P. Building
Lexington, KY 40506-0055
859-257-2504 (office)
859-421-9612 (cell)
859-323-2846 (fax)
More information about the docs
mailing list