Pycharm Import statement - Printable Version +- Python Forum (https://python-forum.io) +-- Forum: Python Coding (https://python-forum.io/forum-7.html) +--- Forum: General Coding Help (https://python-forum.io/forum-8.html) +--- Thread: Pycharm Import statement (/thread-18220.html) |
Pycharm Import statement - sunilramakumar - May-09-2019 Hello - Hoping this is the right forum. I installed pycharm and started using it. I am running into an error when using the import statement. Can you please let me know what I need to do to resolve the below error. Thank you for your help in advance. My code import random print(random.randint())Error
RE: Pycharm Import statement - buran - May-09-2019 don't name your file random.py . This way you shadow the built-in module with the same name.
|