Messing around in the interpreter, it would be useful for me to be able to do something along the lines of reload(foo) as f
, though I know it is not possible. Just like I do import foo as f
, is there a way to do it?
Using Python 2.6
Thanks!
If you import as import foo as f
in the first place, then the reload call can be reload(f)
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With