anonymous
  • anonymous
The professor, I believe, is using a text editor to run pre-made python code. I have been trying to do the same, and have googled for a couple of hours trying to find out how to do it. I am using notepad++, what do I need to do in order to I run my notepad script in python?
MIT 6.00 Intro Computer Science (OCW)
  • Stacey Warren - Expert brainly.com
Hey! We 've verified this expert answer for you, click below to unlock the details :)
SOLVED
At vero eos et accusamus et iusto odio dignissimos ducimus qui blanditiis praesentium voluptatum deleniti atque corrupti quos dolores et quas molestias excepturi sint occaecati cupiditate non provident, similique sunt in culpa qui officia deserunt mollitia animi, id est laborum et dolorum fuga. Et harum quidem rerum facilis est et expedita distinctio. Nam libero tempore, cum soluta nobis est eligendi optio cumque nihil impedit quo minus id quod maxime placeat facere possimus, omnis voluptas assumenda est, omnis dolor repellendus. Itaque earum rerum hic tenetur a sapiente delectus, ut aut reiciendis voluptatibus maiores alias consequatur aut perferendis doloribus asperiores repellat.
schrodinger
  • schrodinger
I got my questions answered at brainly.com in under 10 minutes. Go to brainly.com now for free help!
anonymous
  • anonymous
The professor is using the editor that comes with Python current version is 2.7.2. It is called IDLE. You don't need to install anything else (I'm using a Windows 7 computer, not familiar with other builds of this interpreter). hope this helps.
anonymous
  • anonymous
thanks for the reply chribonn! I guess my issue is that I really do prefer notepad++. Just now, I came along the solution for my own problem. In notepad++, if I go to run, and enter "C:\Python27\Lib\idlelib\idle.pyw" -r "$(FULL_CURRENT_PATH)" , with python27 being the version of python that I'm using, I can then initiate IDLE to run my notepad script. Whew! I like notepad because of it's options, I run with a black background because of headaches, so this makes a nice option for me.
anonymous
  • anonymous
Using komodo (the free version) myself, combining an endless amounts of p.languages in one advanced text editor (with a hundreds of options to choose from). While working on lessons i like to use IDLE. When IDLE Shell is open -> "New Window" (ctrl+N), to create a text_file.py, which can be run as seen in lectures by "Run" -> "Run Module" (F5). Wondered about this as well, when komodo would only run .py files like any command_line.exe (and closing right after). In FreeBASIC (another p.language, of compiling type) you need to add the sleep statement at the end of each module/program/script, to ensure it can be seen even when the program run through, which is not the same as python sleep command. Sorry for the random information bit, just leaving it there, in case anyone finds it interesting.

Looking for something else?

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