> Sorry, I mean my np.somenamespace.another.namespace.sparce head :)
I really don't understand what you are trying to complain about. Namespaces are nice. Dumping everything into the global namespace sucks.
I really don't understand what you are trying to complain about. Namespaces are nice. Dumping everything into the global namespace sucks.
For one thing, I've found it very useful when folks use syntax like `import numpy as np`, because then when I see `np.foo` I can trace back where `foo` comes from and look up the relevant documentation.
The complaint about `open("foo.txt").readlines()` vs `readlines("foo.txt")` is a red herring IMO, because nothing stops anyone from implementing a generic `readlines()` function in Python that can take a string file name or a file handler object. It's just that nobody really cares enough to because it's a complete non-issue.