Python Forum
Python "Terminal" vs "Shell"
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Python "Terminal" vs "Shell"
#1
I have installed Python 3.6.0 on my machine.

From the Windows Start menu, the options for coding seem to be as follows:
- IDLE (Python 3.6 64-bit) ... Shell
- Python 3.6 (64-bit) ... Terminal

From doing some research they appear to have similar functions, with the Shell having some form of Graphical user Interface (GUI).

After installing the add-on packages "MeshPy" and "sectionproperties", the coding seemed to work in Python's Terminal window.

I tested the code in the following link (about halfway down the page).
https://robbievanleeuwen.github.io/finit...-analysis/

It works in the Terminal window.
Te same code however does not work in the IDLE shell.

Can someone tell me what changes I need to make.
Reply
#2
Python has no Terminal,what you talk about is what Windows OS build in cmd(Windows Command Line).
You also got a tutorial in other Thread posted bye @buran.

Quote:Te same code however does not work in the IDLE shell.
When start IDLE your in interactive mode see >>>,this is for testing shorter piece of code(Enter after every line).
To run code in link you posted File --> New File in this new window that opened copy in or write code.
Now File --> Save As example sec.py run code Run --> Run module(F5).
Reply
#3
OK thanks for the direction.
This seems to work.
Reply


Possibly Related Threads…
Thread Author Replies Views Last Post
  Dynamic Printing With Python Terminal MrTim 2 208 Jul-06-2021, 04:00 PM
Last Post: MrTim
  Running latest Python version on the Terminal (MAC) Damian 4 587 Mar-22-2021, 07:58 AM
Last Post: Damian
  keyboard module doesn't work in the microsoft version terminal of python. username 1 543 Feb-25-2021, 05:19 PM
Last Post: Larz60+
  gnome terminal playing with python jmex 12 973 Feb-03-2021, 01:38 PM
Last Post: Axel_Erfurt
  Refresh data in python script while running in Terminal frankenchrist 4 783 Feb-03-2021, 09:54 AM
Last Post: Larz60+
  How to make a Python program run in a dos shell (cmd) Pedroski55 2 565 Nov-09-2020, 10:17 AM
Last Post: DeaD_EyE
Bug Python Shell 3.9.0 - Issue with indentation Earis 17 1,736 Oct-31-2020, 07:00 AM
Last Post: Earis
  Python Program Runs in Pycharm but not in Terminal Vbhardwaj2383 2 1,344 Apr-06-2020, 04:41 PM
Last Post: Vbhardwaj2383
  python shell teelado 1 885 Jun-13-2019, 01:49 AM
Last Post: Larz60+
  Jupyter and python terminal dervast 3 1,236 Mar-29-2019, 02:08 PM
Last Post: dervast

Forum Jump:

User Panel Messages

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