hello guys,
I just installed my linux mint 13 and made my first python program on mint, but I am unable to open python scripts. I don't know why? I tried each and every possible way but still unable to open the stuff. Can you guys help me out solve the problem.?
I tried "./python.py" also added directory to the python console and also to the linux terminal but still unable to open up.
Unable to open PYTHON scripts on MINT 13?
Forum rules
Before you post read how to get help. Topics in this forum are automatically closed 6 months after creation.
Before you post read how to get help. Topics in this forum are automatically closed 6 months after creation.
Unable to open PYTHON scripts on MINT 13?
Last edited by LockBot on Wed Dec 28, 2022 7:16 am, edited 1 time in total.
Reason: Topic automatically closed 6 months after creation. New replies are no longer allowed.
Reason: Topic automatically closed 6 months after creation. New replies are no longer allowed.
Re: Unable to open PYTHON scripts on MINT 13?
Are you trying to view/edit the file or run it?
Re: Unable to open PYTHON scripts on MINT 13?
Sorry it took so long to get back to you.
What output is the terminal giving you?
Open the terminal in the directory containing your python script and run the following:
Be sure to replace filename with the name of your script file.
You can also run your script like this:
if you add the line #!/usr/bin/env python to the top of your python file and then make it executable(see this on how to make a file executable).
What output is the terminal giving you?
Open the terminal in the directory containing your python script and run the following:
Code: Select all
python filename
You can also run your script like this:
Code: Select all
./filename