Skip to content
Python for Structural Engineers
Welcome
Welcome to Python for Structural Engineers
Computational Thinking
Course Structure
Introduction to Google Colab
Module 0: Day-to-Day Engineering Calculations with Python Fundamentals
Variables, Assignments and Operators
Operators
Variables and assignment
Comments and variable naming
Exercises
Summary
Variables, Assignments and Operators – Quiz
Print Statements
Control Statements Sample Lesson
Introduction
Booleans
‘if’-‘else’-Statements
‘for’ loops
‘while’ loops
Boolean operators
Control flow statements
Safe while loops
Exercises
Summary
Control Statements – Quiz
Data Types
Simple types
Controlling data types
Floating point error
‘None’ type
Exercises
Summary
Data Types Quiz
Functions
Introduction
Creating and using your first function
Functions without input/output
Default values
Scope
Exercises
Summary
Functions – Quiz
Library Functions
Introduction
Python’s standard library
Installing
Importing
Exercises
Summary
Libraries – Quiz
Data Structures
Creating Lists
Manipulating lists
List index
List comprehension
Tuples
Dictionaries
Wrap up
Exercises
Summary
Data Structures – Quiz
Object Oriented Programming
Introduction
Classes and objects
Attributes and methods
Interrogating objects
Creating your own class
Magic functions
Are you modifying the original object or a copy?
Exercises
Summary
Object-Oriented Programming – Quiz
Practical Use Case: Reinforced Concrete Beam Calculation Template
Feedback
Feedback Module 0 (Optional)
Module 1: Structural Analysis Plots – Better, Faster, Automated
Introduction to matplotlib
Welcome to the module
Simple plots
Lists revisited
Plotting a function
Exercises
Summary
Introduction to matplotlib – Quiz
Creating and Formatting Plots
Basic formatting
Multiple plots in one figure
Exercises
Summary
Creating and Formatting Plots – Quiz
Advanced Formatting
A different approach
Formatting plots with the Object-Oriented Approach
Exercises
Summary
Advanced Formatting – Quiz
Subplots, Geometry and Other Plots
Subplots
Geometrically accurate plots
Patches
Other plot types
Seaborn
Exercises
Summary
Subplots, Geometry and Other Plots – Quiz
Practical Use Case: Vibration Plot
Practical Use Case: Soil-Structure Interaction Analysis
Feedback
Feedback Module 1 (Optional)
Module 2: Excel on Steroids
Introduction to Pandas
Welcome to the module
Tables in engineering
Importing tabular data
Navigating dataframes
Exercises
Summary
Introduction to Pandas – Quiz
Series and DataFrames
Intro
Filtering data
Sorting data
with AI
Are you modifying the original dataframe or a copy?
Index.
Exercises
Summary
Series & DataFrames – Quiz
1 of 2
Previous Topic
Next Topic

Safe while loops

  1. Python for Structural Engineers
  2. Control Statements
  3. Safe while loops
Previous Topic
Back to Lesson
Next Topic

Notify

This will close in 0 seconds

Scroll to Top
Login
Accessing this course requires a login. Please enter your credentials below!

Lost Your Password?