Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.python > #36663
| From | Terry Reedy <tjreedy@udel.edu> |
|---|---|
| Subject | Re: Problem with importing in Python |
| Date | 2013-01-11 22:53 -0500 |
| References | <1eb7cd76-ade3-4c34-8816-6eaa7201262e@googlegroups.com> |
| Newsgroups | comp.lang.python |
| Message-ID | <mailman.424.1357962885.2939.python-list@python.org> (permalink) |
On 1/11/2013 5:17 PM, su29090 wrote: > Circle.py > > import math > > class circle: By current convention, you should call the file 'circle.py' and the class 'Circle'. Using all lower case for module filenames is the sanest thing to do in a world where different filesystems do different things with casing. -- Terry Jan Reedy
Back to comp.lang.python | Previous | Next — Previous in thread | Find similar | Unroll thread
Problem with importing in Python su29090 <129km09@gmail.com> - 2013-01-11 14:17 -0800
Re: Problem with importing in Python Adnan Sadzak <sadzak@gmail.com> - 2013-01-11 23:25 +0100
Re: Problem with importing in Python su29090 <129km09@gmail.com> - 2013-01-11 14:29 -0800
Re: Problem with importing in Python su29090 <129km09@gmail.com> - 2013-01-11 14:29 -0800
Re: Problem with importing in Python Chris Angelico <rosuav@gmail.com> - 2013-01-12 09:27 +1100
Re: Problem with importing in Python su29090 <129km09@gmail.com> - 2013-01-11 14:38 -0800
Re: Problem with importing in Python su29090 <129km09@gmail.com> - 2013-01-11 14:38 -0800
Re: Problem with importing in Python Dave Angel <d@davea.name> - 2013-01-11 17:43 -0500
Re: Problem with importing in Python su29090 <129km09@gmail.com> - 2013-01-11 15:23 -0800
Re: Problem with importing in Python su29090 <129km09@gmail.com> - 2013-01-11 15:23 -0800
Re: Problem with importing in Python Tim Roberts <timr@probo.com> - 2013-01-11 20:37 -0800
Re: Problem with importing in Python Chris Angelico <rosuav@gmail.com> - 2013-01-12 15:54 +1100
Re: Problem with importing in Python Dave Angel <d@davea.name> - 2013-01-12 00:14 -0500
Re: Problem with importing in Python Terry Reedy <tjreedy@udel.edu> - 2013-01-11 22:53 -0500
csiph-web