Why am I unable to import my own os module?
Why am I unable to import my own os module? Question: I am using Python 3.10. I created a module os.py in a directory, my_dir. I am trying to access my os.py using import os, from my_dir directory. But it is loading Python’s os module, not mine. I inserted my_dir in sys.path as a first …