Python Forum

Full Version: Please Help
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Pages: 1 2
Why don't you try things in the Idle Shell?

Idle comes with Python. Even on Windoze.

Or PyCharm?

Not that I am an expert, but I have only ever used Idle for testing things. Works great!

Write or paste any code in Idle, you will immediately see a result or an error message.

With a little function like this:

def printMe(text):
    print(text)
print anything!

from the Idle shell:

Quote:>>> printMe(123)
123
>>> mytext = "Goodbye cruel world!"
>>> printMe(mytext)
Goodbye cruel world!
>>>
(Oct-30-2018, 09:46 AM)ydg Wrote: [ -> ]however, I am not sure I am understanding what you really mean
when you say: "use the full path to the Python executable"

If you don't know what a path is, you could read https://en.m.wikipedia.org/wiki/Path_(computing), for example.
Pages: 1 2