Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.python > #25960
| References | <BsCdnb3NJ_bOvJDNnZ2dnUVZ7rmdnZ2d@bt.com> <mailman.2458.1343039009.4697.python-list@python.org> <500e34c8$0$1779$c3e8da3$76491128@news.astraweb.com> |
|---|---|
| From | Devin Jeanpierre <jeanpierreda@gmail.com> |
| Date | 2012-07-24 03:49 -0400 |
| Subject | Re: python package confusion |
| Newsgroups | comp.lang.python |
| Message-ID | <mailman.2520.1343116214.4697.python-list@python.org> (permalink) |
On Tue, Jul 24, 2012 at 1:38 AM, Steven D'Aprano <steve+comp.lang.python@pearwood.info> wrote: > I don't know about a bad idea or not, but it is certainly redundant, > because Python automatically adds '' (equivalent to '.') to the very > start of the search path. No, it only does that if Python is reading commands from stdin, or if Python was run with the -c option, or maybe some other situations. It doesn't do it if you just run a program, as in "python myfile.py". -- Devin
Back to comp.lang.python | Previous | Next — Previous in thread | Find similar | Unroll thread
python package confusion Lipska the Kat <lipska@lipskathekat.com> - 2012-07-23 11:02 +0100
Re: python package confusion Dave Angel <d@davea.name> - 2012-07-23 06:19 -0400
Re: python package confusion Lipska the Kat <lipska@lipskathekat.com> - 2012-07-23 11:54 +0100
Re: python package confusion Devin Jeanpierre <jeanpierreda@gmail.com> - 2012-07-23 06:22 -0400
Re: python package confusion Lipska the Kat <lipska@lipskathekat.com> - 2012-07-23 12:02 +0100
Re: python package confusion David <bouncingcats@gmail.com> - 2012-07-23 21:16 +1000
Re: python package confusion Lipska the Kat <lipska@lipskathekat.com> - 2012-07-23 12:43 +0100
Re: python package confusion Steven D'Aprano <steve+comp.lang.python@pearwood.info> - 2012-07-24 05:38 +0000
Re: python package confusion Devin Jeanpierre <jeanpierreda@gmail.com> - 2012-07-24 03:49 -0400
csiph-web