title: How do i export Python File and the Text File Variable?
body: <p>I just made my first python bot. Its an IG spambot and the code is</p>
  <pre><code>import pyautogui, time
  time.sleep(5)
  
  f = open(&quot;variable&quot;,'r')
  for word in f:
      pyautogui.typewrite(word)
      pyautogui.press(&quot;enter&quot;)
  </code></pre>
  <p>The code contains two files , One is pasted above and second is a text file
  (Named Variable here) which can be edited and spammed using the first code.
  Now, if i save my project it gets combined to one as <em>filename.py</em> but i want something like i can edit the <em>Textfile</em> and spam whatever text i want to. If i run <em>filename.py</em> it will spam the variable i made in Pycharm and i have to go back to the IDE and change the variable and then again save it and run it.<strong>strong text</strong></p>
  <p>It'd be great if you can help me with this problem :)</p>