On Sat, Jul 27, 2013 at 2:19 PM, Devyn Collier Johnson
<devyncjohn...@gmail.com> wrote:
> About the aliases, I have tried setting pwd() as an alias for "os.getcwd()",
> but I cannot type "pwd()" and get the desired output. Instead, I must type
> "pwd". I tested this in Guake running Python3.3.
>
>>>> os.getcwd()
> '/home/collier'
>>>> pwd = os.getcwd()
>>>> pwd()

Try:

>>> pwd = os.getcwd

Otherwise you're calling it immediately.

ChrisA
-- 
http://mail.python.org/mailman/listinfo/python-list

Reply via email to