Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.python > #81637 > unrolled thread
| Started by | Chris Angelico <rosuav@gmail.com> |
|---|---|
| First post | 2014-11-28 03:18 +1100 |
| Last post | 2014-11-28 03:18 +1100 |
| Articles | 1 — 1 participant |
Back to article view | Back to comp.lang.python
This discussion starts older than the indexed window; earlier articles aren't shown. The article labeled Started by
below is the oldest one visible, not the original post.
Re: Where is path.py? Chris Angelico <rosuav@gmail.com> - 2014-11-28 03:18 +1100
| From | Chris Angelico <rosuav@gmail.com> |
|---|---|
| Date | 2014-11-28 03:18 +1100 |
| Subject | Re: Where is path.py? |
| Message-ID | <mailman.16371.1417105101.18130.python-list@python.org> |
On Fri, Nov 28, 2014 at 2:30 AM, David Aldrich <David.Aldrich@emea.nec.com> wrote: > Thanks. But I don't quite understand. If I use sys: > > import sys > > args = sys.argv[1:] > > I don't need to use 'from'. What is different with using path? You could instead say: from sys import argv args = argv[1:] The only confusing bit here is that instead of "sys" and "argv", you have "path" and "path", the same name twice. But it's the same thing happening. ChrisA
Back to top | Article view | comp.lang.python
csiph-web