This is the place for queries that don't fit in any of the other categories.
I am very new to python and a little new to Linux. I am trying to figure out how I can run a python3 script using my terminal or IDLE. I know that the system uses python 2.7. But I did install python 3 because I am following a beginners book. I see how you can put the # in your script and tell it where the interpreter is. But since mine is not the system installed python how do I do it so it will run my script in Python3 automatically? Thank you.
- Posts: 9
- Joined: Fri Nov 15, 2013 6:45 pm
- Code: Select all
on the first line of your script.
I don't kwon about IDLE.
- Posts: 86
- Joined: Thu Feb 07, 2013 9:26 pm
Return to General Coding Help
Who is online
Users browsing this forum: Baidu [Spider], stapler8 and 6 guests