title: How to copy / download file created in Pyodide in browser?
body: <p>I managed to run Pyodide in browser. I created <code>hello.txt</code> file. But how can I access it.
  <br>Pyodide <br> <a href="https://github.com/iodide-project/pyodide/blob/master/docs/using_pyodide_from_javascript.md" rel="noreferrer">https://github.com/iodide-project/pyodide/blob/master/docs/using_pyodide_from_javascript.md</a></p>
  <pre><code>pyodide.runPython('open(&quot;hello.txt&quot;, &quot;w&quot;)')
  </code></pre>
  <p>What I tried in chrome devtools?</p>
  <pre><code>pyodide.runPython('os.chdir(&quot;../&quot;)')
  pyodide.runPython('os.listdir()')
  pyodide.runPython('os.path.realpath(&quot;hello.txt&quot;)')
  </code></pre>
  <p>Output for <code>listdir</code></p>
  <pre><code>[&quot;hello.txt&quot;, &quot;lib&quot;, &quot;proc&quot;, &quot;dev&quot;, &quot;home&quot;, &quot;tmp&quot;]
  </code></pre>
  <p>Output for <code>realpath</code></p>
  <pre><code>&quot;/hello.txt&quot;
  </code></pre>
  <p>Also,</p>
  <pre><code>pyodide.runPython('import platform')
  pyodide.runPython('platform.platform()')
  </code></pre>
  <p>Output</p>
  <pre><code>&quot;Emscripten-1.0-x86-JS-32bit&quot;
  </code></pre>
  <p>All outputs in chrome devtools console.</p>
  <p>It is created in root folder. But how it can be accessed in file explorer or anyway to copy file to Download folder?</p>
  <p>Thanks</p>