Can Python directory names be keywords? E.g. 'import'?

Posted by Mark Schmit on Stack Overflow See other posts from Stack Overflow or by Mark Schmit
Published on 2010-04-13T18:35:32Z Indexed on 2010/04/13 18:53 UTC
Read the original article Hit count: 202

Filed under:
|
|
|

Am I allowed to have a directory named 'import' containing Python code? Or will the import command fail to parse it as a result? Is there any way around that?

© Stack Overflow or respective owner

Related posts about python

Related posts about module