0

I've named a module as 'sort1.2' and now when I import this module it shows a syntax error. How can I import any module if it contains '.' character in its name?

>>> import sort1.2
SyntaxError: invalid syntax
Alex Riley
  • 152,205
  • 43
  • 245
  • 225
Ketan Soni
  • 67
  • 1
  • 8

0 Answers0