Skip to content

Hello World

Rajesh Khadka edited this page Nov 13, 2019 · 2 revisions
  1. Create project in pycharm with installed virtual environment
  2. Create file with name run.py as :
  def say_hello():
    print('Greetings')

  if __name__ == '__main__':
    say_hello()
  1. Run file from terminal as :
    python3 run.py