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
  Help creating shell scrip for python file marciokoko 10 1,254 Sep-16-2023, 09:46 PM
Last Post: snippsat
  invoking python in Terminal Euler 2 591 Aug-25-2023, 06:17 AM
Last Post: perfringo
  Launch Python IDLE Shell from terminal Pavel_47 5 1,143 Feb-17-2023, 02:53 PM
Last Post: Pavel_47
  Python VS Code: using print command twice but not getting output from terminal kdx264 4 1,033 Jan-16-2023, 07:38 PM
Last Post: Skaperen
  batch file for running python scipt in Windows shell MaartenRo 2 1,822 Jan-21-2022, 02:36 PM
Last Post: MaartenRo
  Dynamic Printing With Python Terminal MrTim 2 2,824 Jul-06-2021, 04:00 PM
Last Post: MrTim
  Running latest Python version on the Terminal (MAC) Damian 4 2,589 Mar-22-2021, 07:58 AM
Last Post: Damian
  keyboard module doesn't work in the microsoft version terminal of python. username 1 2,744 Feb-25-2021, 05:19 PM
Last Post: Larz60+
  gnome terminal playing with python jmex 12 6,023 Feb-03-2021, 01:38 PM
Last Post: Axel_Erfurt
  Refresh data in python script while running in Terminal frankenchrist 4 7,098 Feb-03-2021, 09:54 AM
Last Post: Larz60+

Forum Jump:

User Panel Messages

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