A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://mail.python.org/pipermail/python-dev/2004-January/042349.html below:

[Python-Dev] Draft: PEP for imports

[Python-Dev] Draft: PEP for imports [Python-Dev] Draft: PEP for importsBatista, Facundo FBatista at uniFON.com.ar
Fri Jan 30 09:17:24 EST 2004
Armin Rigo wrote: 

#-   import neatTricks in "/home/guido/lib/python"      # no package
#-   import package.module in "/home/guido/lib/python"  # package
#-   import foo in "."                                  # 
#- relative import
#-   from neatTricks in "../cmds" import a, b, c
#-   s=os.path.join("some", "where"); import foo in s   # 
#- expression path
#- 
#- where the semantics would be to search sys.path if and only 
#- if no 'in' clause
#- is specified.  ('in' doesn't sound quite right...)

I'm +1 on this alternative. What about "at" instead of "in"?

.	Facundo

More information about the Python-Dev mailing list

RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4