Python "Terminal" vs "Shell" - Printable Version +- Python Forum (https://python-forum.io) +-- Forum: Python Coding (https://python-forum.io/forum-7.html) +--- Forum: General Coding Help (https://python-forum.io/forum-8.html) +--- Thread: Python "Terminal" vs "Shell" (/thread-25735.html) |
Python "Terminal" vs "Shell" - SectionProperties - Apr-10-2020 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/finite%20element%20analysis/cross-section-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. RE: Python "Terminal" vs "Shell" - snippsat - Apr-10-2020 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) .
RE: Python "Terminal" vs "Shell" - SectionProperties - Apr-10-2020 OK thanks for the direction. This seems to work. |