SlideShare a Scribd company logo
Boey Pak Cheong B. Sc. (Hons)
pcboey@pytech.com.my
http://pytechresources.comSpecialized in Python Training
Since 2006
Learning to write programs stretches your mind, and 
helps you think better, creates a way of thinking 
about things that I think is helpful in all domains
­ Bill Gates, Microsoft Co­founder
“
”
What is Python?
●
A programming language
●
Interpreted
●
Object-oriented
●
High-level
●
Developed by Guido van Rossum from
1989
●
Cross-platform
●
Open-source, freely distributable
Python 2 or 3
●
Python 2 or 3 ?
●
Python 2.x is legacy, Python 3.x is the
present and future of the language.
●
Where can I get Python from?
●
Python Official Website
– Standard Python installation
●
Third Party Packagers
– Anaconda
– Enthought Canopy
Python, the Language of Science and Engineering for Engineers
Python, the Language of Science and Engineering for Engineers
Who uses Python?
Engineering Companies Using Python
Saving Energy with Python
SMS Siemag AG
Lift off with Python
DLR German Aerospace Center
VAMPzero: Aircraft Conceptual Design
with Python
●
Johnson Space Center
●
Integrated Planning System
– Uses Python as standard scripting language
●
modular collection of tools for assisting
shuttle pre-mission planning
●
For more info visit :
https://www.python.org/about/success/u
sa/
Why Python?
●
Easy to learn
●
Simple, clean syntax
●
As readable as English
●
Write less code
●
3 to 5 time shorter than Java
●
5 to 10 times shorter than C++
●
Higher productivity
Why Python? (2)
●
Impressive Standard Libraries
●
Extensive Third Party Libraries
●
Excellent Documentation
●
Powerful & Versatile
●
Build websites
●
Analyze and visualize data
●
Scientific and numeric computing
Why Python? (3)
●
Free & Open-source
●
Great community
Job Trends from Indeed.com
Some other considerations
●
TIOBE index – October 2016
●
Python – 5th
Position
●
Fortran – 28th
Position
●
Intel released its Python distribution in
2016
Fortran Vs Python
●
Fortran
●
Heavily optimized static typed compiler
●
World's oldest yet still used language
●
Python
●
Dynamic typed interpreted language
●
Created 1990
Fortran Vs Python (2)
●
Fortran
●
Synonymous with scientific computing
●
Only real alternative was C++
●
Including C, only languages supported by
Intel
– Until their Python came along
●
Huge amount of scientific and engineering
code written in Fortran
– And still in use
Fortran Vs Python (3)
●
Computer processing time vs
programming time
●
Much easier to learn Python
●
Faster to develop code using Python
1960/70's (Fortran days) Today
Computer Processing
Time
Expensive Cheap
Programming Time Relatively Cheap Expensive
Fortran Vs Python (4)
●
Compared with Fortran, the core Python
arrays (lists) are not fast
●
But Python with SciPy and NumPy is a
game changer
●
>90,000 Python packages in pypi
●
Scientific/Engineering Category
●
> 5500 packages
●
In 16 sub-categories
Fortran Vs Python
Conclusion
●
Fortran will still be around for some years
●
Existing software needs maintenance
●
But for new software ...
●
Python is a good alternative
– Easy to learn
– Free, open-source
– Numerous packages
– Strong community
What can you do with Python?
●
Python by itself not suitable for typical
engineering calculations
●
You also need the numeric, scientific and
plotting libraries
●
NumPy
●
SciPy
●
Matplotlib
●
Anaconda and Enthought Canopy
distributions provide all
●
Some engineering calculations you can do
●
Linear algebra
●
Root finding (non-linear algebra)
●
Linear or nonlinear regression
●
Integration and ordinary differential
equations
●
statistics
●
plotting
Python, the Language of Science and Engineering for Engineers
Example Jupyter Notebooks
●
Quickstart Python Tutorial
●
Using the integrate module from scipy
●
Digital Signal Processing

More Related Content

PPTX
Basics of python
SurjeetSinghSurjeetS
 
PPTX
Introduction to Python Basics Programming
Collaboration Technologies
 
PPTX
Python presentation by Monu Sharma
Mayank Sharma
 
PDF
Python quick guide1
Kanchilug
 
PDF
Introduction to python
Learnbay Datascience
 
PDF
Python made easy
Abhishek kumar
 
PPTX
Introduction to the Python
BMS Institute of Technology and Management
 
PDF
Python Loops Tutorial | Python For Loop | While Loop Python | Python Training...
Edureka!
 
Basics of python
SurjeetSinghSurjeetS
 
Introduction to Python Basics Programming
Collaboration Technologies
 
Python presentation by Monu Sharma
Mayank Sharma
 
Python quick guide1
Kanchilug
 
Introduction to python
Learnbay Datascience
 
Python made easy
Abhishek kumar
 
Introduction to the Python
BMS Institute of Technology and Management
 
Python Loops Tutorial | Python For Loop | While Loop Python | Python Training...
Edureka!
 

What's hot (20)

PPTX
Python | What is Python | History of Python | Python Tutorial
QA TrainingHub
 
PPTX
Python tutorial for beginners - Tib academy
TIB Academy
 
PPTX
Python basics
RANAALIMAJEEDRAJPUT
 
PDF
Introduction to python
eShikshak
 
PPTX
Introduction to the basics of Python programming (part 1)
Pedro Rodrigues
 
PDF
Python - the basics
University of Technology
 
PDF
Introduction To Python | Edureka
Edureka!
 
PPT
Python ppt
Mohita Pandey
 
PPTX
Introduction to python
MaheshPandit16
 
PPT
Introduction to Python
amiable_indian
 
PDF
Python Programming Tutorial | Edureka
Edureka!
 
PPTX
Introduction to python
Ayshwarya Baburam
 
PPTX
Introduction to Python Programming language.pptx
BharathYusha1
 
PPTX
Introduction to python
ManishJha237
 
PDF
05 python.pdf
SugumarSarDurai
 
PPTX
Presentation on python
Venkat Projects
 
PDF
Python Functions Tutorial | Working With Functions In Python | Python Trainin...
Edureka!
 
PPTX
introduction to Python (for beginners)
guobichrng
 
PDF
Intro to Python for Non-Programmers
Ahmad Alhour
 
PDF
Learn Python Programming | Python Programming - Step by Step | Python for Beg...
Edureka!
 
Python | What is Python | History of Python | Python Tutorial
QA TrainingHub
 
Python tutorial for beginners - Tib academy
TIB Academy
 
Python basics
RANAALIMAJEEDRAJPUT
 
Introduction to python
eShikshak
 
Introduction to the basics of Python programming (part 1)
Pedro Rodrigues
 
Python - the basics
University of Technology
 
Introduction To Python | Edureka
Edureka!
 
Python ppt
Mohita Pandey
 
Introduction to python
MaheshPandit16
 
Introduction to Python
amiable_indian
 
Python Programming Tutorial | Edureka
Edureka!
 
Introduction to python
Ayshwarya Baburam
 
Introduction to Python Programming language.pptx
BharathYusha1
 
Introduction to python
ManishJha237
 
05 python.pdf
SugumarSarDurai
 
Presentation on python
Venkat Projects
 
Python Functions Tutorial | Working With Functions In Python | Python Trainin...
Edureka!
 
introduction to Python (for beginners)
guobichrng
 
Intro to Python for Non-Programmers
Ahmad Alhour
 
Learn Python Programming | Python Programming - Step by Step | Python for Beg...
Edureka!
 
Ad

Viewers also liked (6)

PDF
Scientific Python
Eueung Mulyana
 
PPT
Introduction to Python Language and Data Types
Ravi Shankar
 
PDF
Python: the Project, the Language and the Style
Juan-Manuel Gimeno
 
PPTX
Python programming language
Ebrahim Shakhatreh
 
PPTX
Programming language
Makku-Sama
 
ODP
OpenGurukul : Language : Python
Open Gurukul
 
Scientific Python
Eueung Mulyana
 
Introduction to Python Language and Data Types
Ravi Shankar
 
Python: the Project, the Language and the Style
Juan-Manuel Gimeno
 
Python programming language
Ebrahim Shakhatreh
 
Programming language
Makku-Sama
 
OpenGurukul : Language : Python
Open Gurukul
 
Ad

Similar to Python, the Language of Science and Engineering for Engineers (20)

PPTX
What is the best way to learn Python.pptx
saanvikapoor1608
 
PDF
Introduction-To-Python- a guide to master
ImadM4
 
PDF
session5-Getting stated with Python.pdf
AyushDutta32
 
PPTX
Introduction to Python Programming in Civil Engineering
Rushikesh Kolhe
 
PDF
Introduction to python
Agung Wahyudi
 
PPTX
Python_Introduction_Good_PPT.pptx
lemonchoos
 
PPT
Python for students step by step guidance
MantoshKumar79
 
PPT
1-ppt-python.ppt
ssusera99a83
 
PPTX
All you need to know about Python | BJIT
BJIT Ltd
 
PPTX
Python Online From EasyLearning Guru
KCC Software Ltd. & Easylearning.guru
 
PPT
Python programming-2-2048 (30 files merged).ppt
pprince22982
 
PPT
Python programming notes all in one python ppt
pprince22982
 
PDF
Why learn python in 2017?
Karolis Ramanauskas
 
PPTX
introduction to python in detail including .pptx
urvashipundir04
 
PPTX
introduction to python in computer graphics.pptx
urvashipundir04
 
PPTX
Introduction to python for Beginners
Sujith Kumar
 
PDF
intro.pptx (1).pdf
ANIKULSAIKH
 
PDF
Anton Kasyanov, Introduction to Python, Lecture1
Anton Kasyanov
 
PPTX
A Brief Introduction to Python - English
Devashish Negi
 
PPTX
Introduction to python
AnirudhaGaikwad4
 
What is the best way to learn Python.pptx
saanvikapoor1608
 
Introduction-To-Python- a guide to master
ImadM4
 
session5-Getting stated with Python.pdf
AyushDutta32
 
Introduction to Python Programming in Civil Engineering
Rushikesh Kolhe
 
Introduction to python
Agung Wahyudi
 
Python_Introduction_Good_PPT.pptx
lemonchoos
 
Python for students step by step guidance
MantoshKumar79
 
1-ppt-python.ppt
ssusera99a83
 
All you need to know about Python | BJIT
BJIT Ltd
 
Python Online From EasyLearning Guru
KCC Software Ltd. & Easylearning.guru
 
Python programming-2-2048 (30 files merged).ppt
pprince22982
 
Python programming notes all in one python ppt
pprince22982
 
Why learn python in 2017?
Karolis Ramanauskas
 
introduction to python in detail including .pptx
urvashipundir04
 
introduction to python in computer graphics.pptx
urvashipundir04
 
Introduction to python for Beginners
Sujith Kumar
 
intro.pptx (1).pdf
ANIKULSAIKH
 
Anton Kasyanov, Introduction to Python, Lecture1
Anton Kasyanov
 
A Brief Introduction to Python - English
Devashish Negi
 
Introduction to python
AnirudhaGaikwad4
 

Recently uploaded (20)

PDF
Top 10 read articles In Managing Information Technology.pdf
IJMIT JOURNAL
 
PPTX
IoT_Smart_Agriculture_Presentations.pptx
poojakumari696707
 
PPTX
22PCOAM21 Data Quality Session 3 Data Quality.pptx
Guru Nanak Technical Institutions
 
PDF
Queuing formulas to evaluate throughputs and servers
gptshubham
 
PDF
2010_Book_EnvironmentalBioengineering (1).pdf
EmilianoRodriguezTll
 
PPTX
Chapter_Seven_Construction_Reliability_Elective_III_Msc CM
SubashKumarBhattarai
 
PPTX
MT Chapter 1.pptx- Magnetic particle testing
ABCAnyBodyCanRelax
 
PPTX
Module2 Data Base Design- ER and NF.pptx
gomathisankariv2
 
PDF
July 2025: Top 10 Read Articles Advanced Information Technology
ijait
 
PDF
top-5-use-cases-for-splunk-security-analytics.pdf
yaghutialireza
 
PPT
SCOPE_~1- technology of green house and poyhouse
bala464780
 
PDF
Traditional Exams vs Continuous Assessment in Boarding Schools.pdf
The Asian School
 
PDF
Activated Carbon for Water and Wastewater Treatment_ Integration of Adsorptio...
EmilianoRodriguezTll
 
PDF
FLEX-LNG-Company-Presentation-Nov-2017.pdf
jbloggzs
 
PPTX
ternal cell structure: leadership, steering
hodeeesite4
 
PPT
Lecture in network security and mobile computing
AbdullahOmar704132
 
PPTX
22PCOAM21 Session 1 Data Management.pptx
Guru Nanak Technical Institutions
 
PDF
Unit I Part II.pdf : Security Fundamentals
Dr. Madhuri Jawale
 
PPTX
22PCOAM21 Session 2 Understanding Data Source.pptx
Guru Nanak Technical Institutions
 
PPTX
Victory Precisions_Supplier Profile.pptx
victoryprecisions199
 
Top 10 read articles In Managing Information Technology.pdf
IJMIT JOURNAL
 
IoT_Smart_Agriculture_Presentations.pptx
poojakumari696707
 
22PCOAM21 Data Quality Session 3 Data Quality.pptx
Guru Nanak Technical Institutions
 
Queuing formulas to evaluate throughputs and servers
gptshubham
 
2010_Book_EnvironmentalBioengineering (1).pdf
EmilianoRodriguezTll
 
Chapter_Seven_Construction_Reliability_Elective_III_Msc CM
SubashKumarBhattarai
 
MT Chapter 1.pptx- Magnetic particle testing
ABCAnyBodyCanRelax
 
Module2 Data Base Design- ER and NF.pptx
gomathisankariv2
 
July 2025: Top 10 Read Articles Advanced Information Technology
ijait
 
top-5-use-cases-for-splunk-security-analytics.pdf
yaghutialireza
 
SCOPE_~1- technology of green house and poyhouse
bala464780
 
Traditional Exams vs Continuous Assessment in Boarding Schools.pdf
The Asian School
 
Activated Carbon for Water and Wastewater Treatment_ Integration of Adsorptio...
EmilianoRodriguezTll
 
FLEX-LNG-Company-Presentation-Nov-2017.pdf
jbloggzs
 
ternal cell structure: leadership, steering
hodeeesite4
 
Lecture in network security and mobile computing
AbdullahOmar704132
 
22PCOAM21 Session 1 Data Management.pptx
Guru Nanak Technical Institutions
 
Unit I Part II.pdf : Security Fundamentals
Dr. Madhuri Jawale
 
22PCOAM21 Session 2 Understanding Data Source.pptx
Guru Nanak Technical Institutions
 
Victory Precisions_Supplier Profile.pptx
victoryprecisions199
 

Python, the Language of Science and Engineering for Engineers

  • 1. Boey Pak Cheong B. Sc. (Hons) [email protected] http://pytechresources.comSpecialized in Python Training Since 2006
  • 3. What is Python? ● A programming language ● Interpreted ● Object-oriented ● High-level ● Developed by Guido van Rossum from 1989 ● Cross-platform ● Open-source, freely distributable
  • 4. Python 2 or 3 ● Python 2 or 3 ? ● Python 2.x is legacy, Python 3.x is the present and future of the language. ● Where can I get Python from? ● Python Official Website – Standard Python installation ● Third Party Packagers – Anaconda – Enthought Canopy
  • 9. Saving Energy with Python SMS Siemag AG
  • 10. Lift off with Python DLR German Aerospace Center VAMPzero: Aircraft Conceptual Design with Python
  • 11. ● Johnson Space Center ● Integrated Planning System – Uses Python as standard scripting language ● modular collection of tools for assisting shuttle pre-mission planning ● For more info visit : https://www.python.org/about/success/u sa/
  • 12. Why Python? ● Easy to learn ● Simple, clean syntax ● As readable as English ● Write less code ● 3 to 5 time shorter than Java ● 5 to 10 times shorter than C++ ● Higher productivity
  • 13. Why Python? (2) ● Impressive Standard Libraries ● Extensive Third Party Libraries ● Excellent Documentation ● Powerful & Versatile ● Build websites ● Analyze and visualize data ● Scientific and numeric computing
  • 14. Why Python? (3) ● Free & Open-source ● Great community
  • 15. Job Trends from Indeed.com
  • 16. Some other considerations ● TIOBE index – October 2016 ● Python – 5th Position ● Fortran – 28th Position ● Intel released its Python distribution in 2016
  • 17. Fortran Vs Python ● Fortran ● Heavily optimized static typed compiler ● World's oldest yet still used language ● Python ● Dynamic typed interpreted language ● Created 1990
  • 18. Fortran Vs Python (2) ● Fortran ● Synonymous with scientific computing ● Only real alternative was C++ ● Including C, only languages supported by Intel – Until their Python came along ● Huge amount of scientific and engineering code written in Fortran – And still in use
  • 19. Fortran Vs Python (3) ● Computer processing time vs programming time ● Much easier to learn Python ● Faster to develop code using Python 1960/70's (Fortran days) Today Computer Processing Time Expensive Cheap Programming Time Relatively Cheap Expensive
  • 20. Fortran Vs Python (4) ● Compared with Fortran, the core Python arrays (lists) are not fast ● But Python with SciPy and NumPy is a game changer ● >90,000 Python packages in pypi ● Scientific/Engineering Category ● > 5500 packages ● In 16 sub-categories
  • 21. Fortran Vs Python Conclusion ● Fortran will still be around for some years ● Existing software needs maintenance ● But for new software ... ● Python is a good alternative – Easy to learn – Free, open-source – Numerous packages – Strong community
  • 22. What can you do with Python? ● Python by itself not suitable for typical engineering calculations ● You also need the numeric, scientific and plotting libraries ● NumPy ● SciPy ● Matplotlib ● Anaconda and Enthought Canopy distributions provide all
  • 23. ● Some engineering calculations you can do ● Linear algebra ● Root finding (non-linear algebra) ● Linear or nonlinear regression ● Integration and ordinary differential equations ● statistics ● plotting
  • 25. Example Jupyter Notebooks ● Quickstart Python Tutorial ● Using the integrate module from scipy ● Digital Signal Processing