[IPython-user] Puzzled

Ville M. Vainio vivainio@gmail....
Sat Jul 12 07:16:14 CDT 2008


On Sat, Jul 12, 2008 at 9:19 AM, Dick Moores <rdmoores@gmail.com> wrote:

>> I just tried to do something on IPython that works fine at the Win XP
>> command line:
>>
>> In [26]: python setup.py build
>> -----------------------------------------
>>   File "<ipython console>", line 1
>>     python setup.py build
>>                ^
>> SyntaxError: invalid syntax
>>
>> What should I do instead? And where could have looked this up?

- You can do !python setup.py build
- You could use the sh profile that more closely resembles command
line (and you don't need to type the !)
- You can run %rehashx

%quickref gives you a quick reference with this information.

-- 
Ville M. Vainio - vivainio.googlepages.com
blog=360.yahoo.com/villevainio - g[mail | talk]='vivainio'


More information about the IPython-user mailing list