Getting Idle editor to run scripts?

by: davidjackson1955, 9 years ago


After entering a script in the IDLE editor and pressing "Run| | Python Shell" nothing happens?



You must be logged in to post. Please login or register an account.



David, my best guess is you've probably defined a bunch of functions, but not actually called any of them to run. Unfortunately, I cannot confirm this or figure out what else could be the cause without seeing some sample code.

-Harrison 9 years ago

You must be logged in to post. Please login or register an account.


Harrison,
Thanks as always for taking the time to respond to my post.
When I enter the code (listed below) into the IDLE editor and click on "Run|Python Shell" nothing happens

import matplotlib.pyplot as plt
plt.plot([1,2,3],[5,7,4])
plt.show()


-davidjackson1955 9 years ago
Last edited 9 years ago

You must be logged in to post. Please login or register an account.


What I needed to do is "Run Module" from the editor menu.....

-davidjackson1955 9 years ago

You must be logged in to post. Please login or register an account.


I didn't realize you weren't doing that. You can also just press f5. I assumed by saying you went to run, you actually did the run module choice.

Glad you got it figured out!

-Harrison 9 years ago

You must be logged in to post. Please login or register an account.