Here's the question you clicked on:

55 members online
  • 0 replying
  • 0 viewing

MohitPepper

  • 3 years ago

when double click on a .py file , a command window opens up and goes awy in a fraction of a second . How should i see whats the code written inside of the .py file?

  • This Question is Closed
  1. msmithhnova
    • 3 years ago
    Best Response
    You've already chosen the best response.
    Medals 0

    Double clicking it will run the file and the command window closes when done. To view the contents you can open it in python's Idle or a text editor like notepad++ or wordpad. To see the output you can run it in Idle or open a command prompt and run it from there.

  2. mwas
    • 3 years ago
    Best Response
    You've already chosen the best response.
    Medals 0

    right click the python file and click edit with python

  3. moli1993
    • 3 years ago
    Best Response
    You've already chosen the best response.
    Medals 0

    right click on the python file and click edit with IDLE

  4. Not the answer you are looking for?
    Search for more explanations.

    • Attachments:

Ask your own question

Sign Up
Find more explanations on OpenStudy
Privacy Policy