title: ModuleNotFoundError when importing local .py file
body: <p>I've tried looking everywhere about this problem but I cannot find the solution. I am also new to Python so forgive me, but I am trying to import my local readMessages.py file into my TextReactions.py file. I've tried import readMessages, from readMessages import take_screenshot, but I still get the error ModuleNotFoundError: No module named 'readMessages'.
  Thank you for any help in advanced!</p>
  <pre><code>from readMessages import take_screenshot
  from dotenv import load_dotenv
  
  # Loads the .env file that resides on the same level as the script.
  load_dotenv()
  
  # Grab the API token from the .env file.
  DISCORD_TOKEN = os.getenv(&quot;DISCORD_TOKEN&quot;)
  
  import requests
  import json
  import discord
  import os, os.path
  import pyautogui
  class readMessages:
      os.system('cls')
      list = os.listdir('C://Users//gamer//Documents//Pythong//Screenshots')
      count = len(list)
      def retrieve_messages(channelid):
          print(&quot;MESSAGES BELOW:&quot;)
  </code></pre>