Navigation
index
next
|
previous
|
AM 129, Fall 2022 documentation
»
Chapter 3. Python - Basics
Chapter 3. Python - Basics
¶
Introduction to Python
Reading Materials for This Chapter
Fortran vs. Python
Running Python
Python 2 vs. Python 3?
Interactive Interpreter
Overview on Python Programming
Interactive Python
Indentation: In Python indentation is everything!
Ending and wrapping lines
Comments
Python data types
Strings
Docstrings
Lists
Tuples
Iterators and
range
Python objects
Declaring variables?
Copying objects
Mutable and Immutable objects
Python scripts and modules
Importing modules
The Python Path
Reloading modules
Other forms of import
Dictionaries
Relational storage
Dictionary as a set of counters
Dictionaries and lists
Dictionaries and memoization
Global variables
An example study
Python functions and lambdas
Defining your own functions
Special arguments to functions:
*args
and
**kwargs
Lambda functions
Documentation in Python
Documentation suitable for the web
Markdown
reStructuredText
Conversion tools
Previous topic
Fortran Example – Newton’s method to find a root
Next topic
Introduction to Python
This Page
Show Source
Quick search
Navigation
index
next
|
previous
|
AM 129, Fall 2022 documentation
»
Chapter 3. Python - Basics