+ 2
How can open a python file in python program
Please answer me effectively
14 odpowiedzi
+ 2
How can open the python file in the another python program?
+ 2
Ok sir thnx for your information
+ 2
And another question with you sir that was can run html file in python?
+ 2
Am new user sir
+ 2
Ok thanks 😊
+ 1
Aymane Boukrouh not sure but I'm think you're misleading by saying that Python comes with PyCharm.
+ 1
Man lawn that wasn't his question
0
You open them in an IDE, or you run them in the command line
0
I don't understand you question. A python program is just a python file that was run, you cannot run a program inside another.
0
bharathkanna what IDE do you use ?
0
bharathkanna don't call me sir, I'm just a learner like you 🙂. I meant what ide ? Try spyder or pycharm IDEs, you can download them for windows 10. Python comes pre-installed in them, all you have to do is open the file and click run
EDIT: I just read that PyCharm does not come with python installed, sorry.
0
So what is the question
- 1
with open(file name.extension) as a
Now a is a file object