Python in notepad
Forum rules
• If you are posting source code, proper indenting and comments will improve the readability.
• If you are posting source code, proper indenting and comments will improve the readability.
-
- Posts: 113
- Joined: Fri Apr 13, 2012 2:48 pm
- Realm: US East
- Account: Darktiger138
- Clan: THP
- Location: New Zealand
- 3ICE
- Admin
- Posts: 2631
- Joined: Sat Mar 01, 2008 11:34 pm
- Realm: Europe
- Account: 3ICE
- Clan: 3ICE
- Location: Hungary
- Contact:
Re: Python in notepad
Generally you don't.
Notepad doesn't have syntax highlighting, code completion, macros, an easy was to compile or run your code, etc.
You should get Notepad++ or IDLE:
Notepad doesn't have syntax highlighting, code completion, macros, an easy was to compile or run your code, etc.
You should get Notepad++ or IDLE:
- Attachments
-
- IDLE Python GUI.png (9.85 KiB) Viewed 17039 times
-
- Posts: 113
- Joined: Fri Apr 13, 2012 2:48 pm
- Realm: US East
- Account: Darktiger138
- Clan: THP
- Location: New Zealand
- 3ICE
- Admin
- Posts: 2631
- Joined: Sat Mar 01, 2008 11:34 pm
- Realm: Europe
- Account: 3ICE
- Clan: 3ICE
- Location: Hungary
- Contact:
Re: Python in notepad
So what was your intent with the above question?
Are you not happy with IDLE?
Personally I found it kind of slow so I switched to Notepad++ right away.
Was that your goal?
Are you not happy with IDLE?
Personally I found it kind of slow so I switched to Notepad++ right away.
Was that your goal?
-
- Posts: 113
- Joined: Fri Apr 13, 2012 2:48 pm
- Realm: US East
- Account: Darktiger138
- Clan: THP
- Location: New Zealand
Re: Python in notepad
I was just wondering because at school I sometimes use a different computer that doesn't have IDLE installed on it and I can't be bothered installing it on every computer I use.
Spoiler:
- 3ICE
- Admin
- Posts: 2631
- Joined: Sat Mar 01, 2008 11:34 pm
- Realm: Europe
- Account: 3ICE
- Clan: 3ICE
- Location: Hungary
- Contact:
Re: Python in notepad
Ah. So what do they expect you to use?
Or do they just leave you to your own devices? To try and figure it out alone?
How can they expect any student to study if they don't provide the tools needed for studying...
If they don't even set you up with the Python compiler, they are truly evil.
You can invoke the basic command line compiler with:Or if it isn't even set up properly to be included in your system's PATH environmental variable, you need to know the location of python.exe as well:but that is just ugly. Especially if it is a shared install:Ouch.
In my programming classes we always have multiple possible IDEs to choose from on every computer. For example with Haskell we got four, and I went with GHCi (Glasgow Haskell Compiler Interactive) for compiling and coded in Notepad++. For Powershell we got three choices, and I went with ISE (Windows PowerShell Integrated Scripting Environment) for both compiling and writing code, occasionally returning to Notepad++ because I'm more used to it.
Or do they just leave you to your own devices? To try and figure it out alone?
How can they expect any student to study if they don't provide the tools needed for studying...
If they don't even set you up with the Python compiler, they are truly evil.
You can invoke the basic command line compiler with:
Code: Select all
python path/to/your/script.py
Code: Select all
C:\Program Files (x86)\Python\python.exe path/to/your/script.py
Code: Select all
\\server1\shared\school\apps\programming\pythons\v2.7\Python\python.exe path/to/your/script.py
In my programming classes we always have multiple possible IDEs to choose from on every computer. For example with Haskell we got four, and I went with GHCi (Glasgow Haskell Compiler Interactive) for compiling and coded in Notepad++. For Powershell we got three choices, and I went with ISE (Windows PowerShell Integrated Scripting Environment) for both compiling and writing code, occasionally returning to Notepad++ because I'm more used to it.
-
- Posts: 113
- Joined: Fri Apr 13, 2012 2:48 pm
- Realm: US East
- Account: Darktiger138
- Clan: THP
- Location: New Zealand
Re: Python in notepad
Well in my programming class all the computers in there have IDLE installed, but the school has multiple different computer labs all over the place, I was just bored in my English class and felt like screwing around with notepad.
Spoiler:
-
- Posts: 113
- Joined: Fri Apr 13, 2012 2:48 pm
- Realm: US East
- Account: Darktiger138
- Clan: THP
- Location: New Zealand
Who is online
Users browsing this forum: No registered users and 11 guests