[IPython-user] Running commands from a file

Ryan liquidbreeze1@yahoo....
Sat Aug 4 08:26:30 CDT 2007


Hey all,

I have been searching around trying to find out out if there is a way to run all the commands that available inside the ipython shell from a file. eg

>ipython somefile

where somefile contains both windows shell commands and python

cd
print "Hello world'
pause

or the file contains

!cd

print "Hello world'
!pause


I have not figured out a way to do this, is it possible?

Thanks,

Ryan




       
____________________________________________________________________________________
Got a little couch potato? 
Check out fun summer activities for kids.
http://search.yahoo.com/search?fr=oni_on_mail&p=summer+activities+for+kids&cs=bz 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.ipython.scipy.org/pipermail/ipython-user/attachments/20070804/bf10c4d9/attachment.html 


More information about the IPython-user mailing list