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
  • 169,130
  • 45
  • 262
  • 238
Ketan Soni
  • 97
  • 1
  • 8

0 Answers0