Python Forum
[Tkinter] how do I enter code into python
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
[Tkinter] how do I enter code into python
#3
You don't need lines 4,5,6,7. You can run the code by typing
Output:
python C:\Users\bob\test.py
in a terminal (use the correct path). You can also read this official documentation page: Using python on Windows

I'm not a windows user, but I know that you must not use a word processor that produces rich text to write python code. Wordpad may not be the correct tool. Install a real editor such as Notepad++ for this.
Reply


Messages In This Thread
how do I enter code into python - by matelot - Feb-13-2018, 12:33 AM
RE: how do I enter code into python - by buran - Feb-13-2018, 08:16 AM
RE: how do I enter code into python - by matelot - Feb-13-2018, 11:19 AM
RE: how do I enter code into python - by Gribouillis - Feb-13-2018, 08:27 AM
RE: how do I enter code into python - by buran - Feb-13-2018, 10:51 AM
RE: how do I enter code into python - by buran - Feb-13-2018, 11:24 AM
RE: how do I enter code into python - by matelot - Feb-13-2018, 11:28 AM
RE: how do I enter code into python - by buran - Feb-13-2018, 11:38 AM
RE: how do I enter code into python - by matelot - Feb-13-2018, 12:22 PM
RE: how do I enter code into python - by Larz60+ - Feb-13-2018, 12:41 PM
RE: how do I enter code into python - by buran - Feb-13-2018, 01:09 PM
RE: how do I enter code into python - by matelot - Feb-13-2018, 02:03 PM
RE: how do I enter code into python - by buran - Feb-13-2018, 02:16 PM
RE: how do I enter code into python - by matelot - Feb-13-2018, 03:01 PM
RE: how do I enter code into python - by metulburr - Feb-13-2018, 05:22 PM
RE: how do I enter code into python - by matelot - Feb-13-2018, 11:14 PM

Forum Jump:

User Panel Messages

Announcements
Announcement #1 8/1/2020
Announcement #2 8/2/2020
Announcement #3 8/6/2020