'Why won't my python3 file import even though it is in the same directory?

I was attempting to import a python script that was in the same directory and it would not be recognized.

import 1PythonScript

def do_stuff() -> None:
    pass



Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source