Problem with importing in Python

Terry Reedy tjreedy at
Sat Jan 12 04:53:47 CET 2013

On 1/11/2013 5:17 PM, su29090 wrote:

> import math
> class circle:

By current convention, you should call the file '' 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

More information about the Python-list mailing list