Python Tutorials - Herong's Tutorial Examples - v2.14, by Herong Yang
Python IDE at sympy.org
This section provides a tutorial example on how to use to the online Python IDE provided at sympy.com.
If you want use online editor to write a longer Python code and run it, you can use the simple Python IDE (Integrated Development Environment) provided by sympy.org. It is free to use. And no login is required.
Here is what I did:
1. Go to https://www.sympy.org/en/shell.html. A sample SymPy code is displayed and followed a code input box.
2. Enter the following in the code input box:
print("Hello world!")
3. Press "ENTER" key. The code will be executed. Output will be displayed on the screen.
By the way, sympy.org provides the SymPy library to display mathematical expression in symbolic forms. Try the following code:
import sympy exp = (x + y)**3 sympy.expand(exp)
sympy.org also seems to provide the latest version of the Python system. Try the following code:
import sys sys.version
Table of Contents
Using Python Shell at python.org
Running Python Code at pythonanywhere.com
Python IDE at online-python.com
Variables, Operations and Expressions
Function Statement and Function Call
Iterators, Generators and List Comprehensions
Packages and Package Directories
"pathlib" - Object-Oriented Filesystem Paths
"pip" - Package Installer for Python
SciPy.org - Python Libraries for Science
pandas - Data Analysis and Manipulation
Anaconda - Python Environment Manager