polm / posuto

🏣📮〠 Japanese postal code data.
MIT License
204 stars 11 forks source link

SyntaxError: invalid character in identifier #1

Closed terasakisatoshi closed 4 years ago

terasakisatoshi commented 4 years ago

How do we input ?

Python 3.6.8 (default, Jul 12 2019, 20:53:32)
[GCC 4.2.1 Compatible Apple LLVM 10.0.1 (clang-1001.0.46.4)] on darwin
Type "help", "copyright", "credits" or "license" for more information.
>>> import posuto as 〒
  File "<stdin>", line 1
    import posuto as 〒
                     ^
SyntaxError: invalid character in identifier
polm commented 4 years ago

I should have been more clear in the README, but unfortunately 〒 and 🗼 are not valid identifiers in Python and the example code is pseudocode. I'll add a note so it's more obvious. Thanks for the report!