title: How to run a simple python script on heroku without flask/django?
body: <p>I'm trying to run a simple hello world python program on my heroku server. I'm new to heroku.I was able to successfully deploy my script to heroku.
  My python script and procfile are given below,</p>
  
  <p>hi.py</p>
  
  <pre><code>print("hello world")
  </code></pre>
  
  <p>Procfile</p>
  
  <pre><code>web: python hi.py
  </code></pre>
  
  <p>I got "Hello world" as output when i ran <code>heroku run web</code> on my terminal.But when i try to run the app using heroku web url it shows the following error.</p>
  
  <blockquote>
    <p>Application Error An error occurred in the application and your page
    could not be served. Please try again in a few moments.</p>
  </blockquote>
  
  <p>What did i do wrong here? I'm newbie to heroku &amp; its concepts, please do bare.</p>