Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Importing library does not look pretty.... #3

Open
jqb opened this issue Jun 14, 2013 · 1 comment
Open

Importing library does not look pretty.... #3

jqb opened this issue Jun 14, 2013 · 1 comment

Comments

@jqb
Copy link
Contributor

jqb commented Jun 14, 2013

You know what?

from os import path2 as path 

is not cool enough. Maybe:

from os.path2 import path

instead?

what would require some changes in our .pth file but it's possible

@xando
Copy link
Owner

xando commented Jun 15, 2013

from os import path2 as path

I really like this. Import is no cool, but is suggesting a lot. path2 is a
replacement for path and it should as close as possible to

from os import path

I think every day usage will be

from os import path2

On Sat, Jun 15, 2013 at 1:06 AM, Kuba Janoszek [email protected]:

You know what?

from os import path2 as path

is not cool enough. Maybe:

from os.path2 import path

instead?

what would require some changes in our .pth file but it's possible


Reply to this email directly or view it on GitHubhttps://github.com//issues/3
.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants