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
  set -x shell equivalent of python, possible/available? ggpf900 1 417 Jan-25-2025, 08:01 PM
Last Post: Gribouillis
  updating pip, python - understanding terminal and pycharm. endlessnameless 0 1,100 Jun-24-2024, 05:48 AM
Last Post: endlessnameless
  Help creating shell scrip for python file marciokoko 10 3,311 Sep-16-2023, 09:46 PM
Last Post: snippsat
  invoking python in Terminal Euler 2 1,224 Aug-25-2023, 06:17 AM
Last Post: perfringo
  Launch Python IDLE Shell from terminal Pavel_47 5 2,543 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 2,079 Jan-16-2023, 07:38 PM
Last Post: Skaperen
  batch file for running python scipt in Windows shell MaartenRo 2 2,953 Jan-21-2022, 02:36 PM
Last Post: MaartenRo
  Dynamic Printing With Python Terminal MrTim 2 4,245 Jul-06-2021, 04:00 PM
Last Post: MrTim
  Running latest Python version on the Terminal (MAC) Damian 4 3,600 Mar-22-2021, 07:58 AM
Last Post: Damian
  keyboard module doesn't work in the microsoft version terminal of python. username 1 3,913 Feb-25-2021, 05:19 PM
Last Post: Larz60+

Forum Jump:

User Panel Messages

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