Is there a way to use .pythonrc.py to provide a help function that autoloads whatever module name is passed like so: \>>> h(re)
I tried inheriting site._Helper and overriding __init__ and __call__ but that didn't work, also I don't know how to deal/trap/catch the NameError (no quotes on h(re)) - is there a way to insert a try/except block around the >>> prompt? I hate having to: import whatever every-time i forget. Actually could I ditch the () in h(re) and just do: h re - the joy of that :p -- https://mail.python.org/mailman/listinfo/python-list