[IPython-User] newbie questions

Ittay Dror ittay.dror@gmail....
Mon Jun 28 10:49:18 CDT 2010

Matt Tobin wrote:
> Hi Ittay,
>     It sounds to me like you do not have too much experience with Python?
> You may just need to learn how to use the syntax before diving in.
> O'reilly has a great book to help you out "Python in a Nutshell", it
> will show you everything (and is what my professor read before teaching
> my class).

I know I can write python functions, but then I'd need to call them as func(a,b,c), which is awkward when using ipython as
a process shell where normally you use expressions like 'func a b c'

> for your second issue, it appears that it does auto-complete the
> tabbing, but then you did not specify that you wanted to go within the
> "Program Files" folder (perhaps try c:/Program\ Files/ then two tabs to
> show options) or even better, start typing the name of the folder you
> want inside and hit tab for auto-completion =)
That's what I did. No luck.

> On 10-06-28 10:46 AM, Ittay Dror wrote:
>> Hello,
>> I'm trying to use ipython as a replacement for Windows' cmd.exe and I have some questions:
>> 1. How can I define my own functions (where)? I saw there are macros and aliases, but both don't support using variables. I want something that will be executed like a normal process (so "foo bar car" and not "foo(bar,car)")
>> 2. Tab completion does not seem to work when completing paths with spaces. E.g., I type "c:/Prog<tab>" and it completes to "c:/Program\ Files", but then if I continue with "/<tab>" nothing happens.
>> Thank you,
>> Ittay
>> _______________________________________________
>> IPython-User mailing list
>> IPython-User@scipy.org
>> http://mail.scipy.org/mailman/listinfo/ipython-user
> _______________________________________________
> IPython-User mailing list
> IPython-User@scipy.org
> http://mail.scipy.org/mailman/listinfo/ipython-user

More information about the IPython-User mailing list