SlideShare a Scribd company logo
Introduction to Python Syntax and
Semantics
Adam J. Cook, Chair of SME Chapter 112
FOR PUBLIC RELEASE
About the Presenter
FOR PUBLIC RELEASE
▪ Adam Cook
▪ B.S. in Mechanical Engineering from Purdue
University West Lafayette.
▪ Chief Technical Officer of Alliedstrand in
Hammond, Indiana.
▪ Chair of SME Chapter 112 (Northwest Indiana
and South Chicago).
▪ Embedded systems engineering, custom
automation systems, industrial software.
▪ Lives in Chicago.
▪ Contact me at adam.j.cook@alliedstrand.com.
Chapter “Digital Initiative”
FOR PUBLIC RELEASE
Overviews of Digital
Engineering and
Manufacturing Topics
Applied Programming
Workshops and
Webinars
Chapter Hackathons
Chapter Office Hours
(In-person and online)
Slack #python channel
What is Python?
FOR PUBLIC RELEASE
▪ High-level programming language.
▪ Free and open-source.
▪ Interpreted.
▪ Cross-platform.
▪ Extensive standard library.
▪ Automatic memory management.
▪ Designed to be highly readable, explicit and
productive.
▪ Proven to be quite versatile (and popular).
▪ Reasonably fast for many applications.
▪ Already know MATLAB? You will be right at home
(mostly)!
OPEN-SOURCE
DATA MODELING
DATA STRUCTURES
FUNCTIONAL
PROGRAMMING
Be on the look out
for these
keywords!
Why is Python so approachable?
FOR PUBLIC RELEASE
Source: https://yellowpencil.com/blog/imagining-the-future-of-web-design/
More complex
language to use
We are here
today.
Who uses Python?
FOR PUBLIC RELEASE
What kinds of problems does Python help solve?
FOR PUBLIC RELEASE
▪ Data analytics.
▪ Machine learning and artificial intelligence.
▪ Robot path planning.
▪ http://shop.oreilly.com/product/0636920024736.do
▪ https://www.packtpub.com/application-development/learning-robotics-
using-python
▪ Computational geometry and machine vision.
▪ https://www.youtube.com/watch?v=nb3GRgtjlTw
▪ Finite Elements and Computational Fluid
Dynamics (CFD).
▪ http://lorenabarba.com/blog/cfd-python-12-steps-to-navier-stokes/
▪ Prototyping work for embedded systems
development.
DATA ANALYTICS
MACHINE LEARNING
DEEP LEARNING
ARTIFICIAL
INTELLIGENCE
MACHINE VISION
EMBEDDED
SYSTEMS
IIOT
ROBOTICS
Why use Python in Manufacturing?
FOR PUBLIC RELEASE
▪ Python is fast becoming one of the most popular languages in data analytics and machine
learning. Coincidentally, manufacturing processes are producing more valuable data than ever!
Source:
https://www.ibm.com/developerworks/community/blogs/jfp/entry/What_Language_Is_Best_For_Machine_Learning_And_Data
_Science?lang=en
Today’s Agenda
FOR PUBLIC RELEASE
▪ A brief look at some Python entry points (command line and
Jupyter).
▪ A quick look at some Python use cases.
Caveats and Warnings
FOR PUBLIC RELEASE
▪ This event assumes you have never programmed before. If you
have keep in mind that we will be watering down a bunch.
▪ Programming is challenging – the following presentation will not
make you into an expert. Practice and read code.
▪ The Python interpreter is your friend.
▪ For computer graphics, data analytics and machine learning
applications, in particular, knowing Python is not enough.
▪ Today we will be going fast. This is the beginning of your
journey. Do not try to memorize everything! Instead, think
about what kind of actual applications you want to build
and let us know. After a couple of projects, things will start
clicking together.
Demonstrations
FOR PUBLIC RELEASE
How do you “use” Python and what does
Python code look like?
CLOUD COMPUTING
MICROSOFT AZURE
AUTODESK FUSION
360 API
Application-Specific Suggestions
FOR PUBLIC RELEASE
▪ Want to build web applications in Python?
Check out Django.
▪ Need a powerful environment for data and
geometry visualizations? Check out the
Jupyter Project.
▪ Want to do numerical analysis or linear
algebra? Check out SciPy.
▪ Need to work with deep learning? See
Pytorch and/or Theano.
▪ Need to build a GUI application? See
Tkinter.
▪ Want to build a graphical simulator? Check
out Pygame.
STATISTICAL
ANALYSIS
LINEAR ALGEBRA
SYMBOLIC
COMPUTING
NUMERICAL
ANALYSIS
COMPUTATIONAL
GEOMETRY
FINITE
ELEMENTS/PDE
TENSORFLOW
CNTK
Resources
FOR PUBLIC RELEASE
Books
▪ Matthes, E. (2016). Python crash course: a hands-on, project-based introduction to programming.
San Francisco: No Starch Press.
▪ Lee, K. D., & Hubbard, S. (2015). Data Structures and Algorithms with Python. Cham: Springer
International Publishing.
▪ Percival, H. (2014). Test-driven development with Python. O'Reilly.
▪ Kiusalaas, J. (2010). Numerical methods in engineering with Python, Second Edition. Cambridge University
Press.
▪ Solem, J. E. (2012). Programming Computer Vision with Python: Tools and Algorithms for Analyzing
Images.
▪ Raschka, S. (2015). Python machine learning: unlock deeper insights into machine learning with this vital
guide to cutting-edge predictive analytics. Birmingham (U.K.): Packt Publishing.
▪ VanderPlas, J. (2017). Python data science handbook: Essential tools for working with data. Sebastopol,
CA: O'Reilly.
▪ Klein, P. N. (2013). Coding the matrix: linear algebra through applications to computer science. Newton,
MA: Newtonian Press.
Resources
FOR PUBLIC RELEASE
Videos
▪ Sarah Guido - Hands-on Data Analysis with Python - PyCon 2015
▪ Jake VanderPlas - Machine Learning with Scikit-Learn (I) - PyCon 2015
▪ Olivier Grisel - Machine Learning with Scikit-Learn (II) - PyCon 2015
▪ Jessica McKellar: A hands-on introduction to Python for beginning programmers - PyCon 2014
▪ Programming Foundations with Python on Udacity
▪ Computational Geometry in Python – PyCon 2016
Websites
▪ Stack Overflow
▪ Python 3 API Documentation
▪ The Zen of Python
▪ Robot Operating System
▪ Open Source Computer Vision (OpenCV)
▪ SciPy
▪ scikit-learn
▪ Awesome Python on GitHub
Next Webinar
FOR PUBLIC RELEASE
Data Analytics with Anaconda
(mostly)
Where can I get this slide deck and code?
FOR PUBLIC RELEASE
http://bit.ly/2uzCQqR
(actually, go ahead and bookmark this
link – this web page will be updated
constantly with new content)
Thank you!
Adam J. Cook
Chief Technical Officer of Alliedstrand
Chair of SME Chapter 112
adam.j.cook@alliedstrand.com
https://linkedin.com/in/adam-j-cook
https://github.com/adamjcook
SME
www.sme.org
https://facebook.com/SMEmfg
https://twitter.com/SME_MFG
https://linkedin.com/company/sme
SME Chapter 112
Serving Northwest Indiana and Chicagoland
https://facebook.com/sme112
https://linkedin.com/company/sme112
https://github.com/sme112
Thanks for attending!
Special thanks to our hosting partner – GreenCow Coworking. Check them out at
greencow.space!
Suggestions? Feedback? Comments? Complaints? Contact us below!
FOR PUBLIC RELEASE

More Related Content

Similar to Introduction to Python Syntax and Semantics (20)

Py tut-handout
Py tut-handoutPy tut-handout
Py tut-handout
Ramachandra Dama
 
Python in Industry
Python in IndustryPython in Industry
Python in Industry
Dharmit Shah
 
Python basic syntax
Python basic syntaxPython basic syntax
Python basic syntax
Mohamed Essam
 
1.Basic_Syntax
1.Basic_Syntax1.Basic_Syntax
1.Basic_Syntax
Mohamed Essam
 
Introduction-To-Python- a guide to master
Introduction-To-Python- a guide to masterIntroduction-To-Python- a guide to master
Introduction-To-Python- a guide to master
ImadM4
 
Python in the real world : from everyday applications to advanced robotics
Python in the real world : from everyday applications to advanced roboticsPython in the real world : from everyday applications to advanced robotics
Python in the real world : from everyday applications to advanced robotics
Jivitesh Dhaliwal
 
Your interactive computing
Your interactive computingYour interactive computing
Your interactive computing
Yung-Yu Chen
 
Python Basics for python understanding.pptx
Python Basics for python understanding.pptxPython Basics for python understanding.pptx
Python Basics for python understanding.pptx
ShubhamNain11
 
PYTHON UNIT 1
PYTHON UNIT 1PYTHON UNIT 1
PYTHON UNIT 1
nagendrasai12
 
First of all, what is Python? According t
First of all, what is Python? According tFirst of all, what is Python? According t
First of all, what is Python? According t
bhatamith15
 
2024-25 TYBSC(CS)-PYTHON_PROG_ControlStructure.pptx
2024-25 TYBSC(CS)-PYTHON_PROG_ControlStructure.pptx2024-25 TYBSC(CS)-PYTHON_PROG_ControlStructure.pptx
2024-25 TYBSC(CS)-PYTHON_PROG_ControlStructure.pptx
sangeeta borde
 
intro to python.pptx
intro to python.pptxintro to python.pptx
intro to python.pptx
UpasnaSharma37
 
Python programming ppt.pptx
Python programming ppt.pptxPython programming ppt.pptx
Python programming ppt.pptx
nagendrasai12
 
Mastering the Interview: 50 Common Interview Questions Demystified
Mastering the Interview: 50 Common Interview Questions DemystifiedMastering the Interview: 50 Common Interview Questions Demystified
Mastering the Interview: 50 Common Interview Questions Demystified
MalcolmDupri
 
Harmonic Stack for Speed
Harmonic Stack for SpeedHarmonic Stack for Speed
Harmonic Stack for Speed
Yung-Yu Chen
 
Python-Mastering-the-Language-of-Data-Science.pptx
Python-Mastering-the-Language-of-Data-Science.pptxPython-Mastering-the-Language-of-Data-Science.pptx
Python-Mastering-the-Language-of-Data-Science.pptx
dmdHaneef
 
Cmpe202 01 Research
Cmpe202 01 ResearchCmpe202 01 Research
Cmpe202 01 Research
vladimirkorshak
 
Python for Science and Engineering: a presentation to A*STAR and the Singapor...
Python for Science and Engineering: a presentation to A*STAR and the Singapor...Python for Science and Engineering: a presentation to A*STAR and the Singapor...
Python for Science and Engineering: a presentation to A*STAR and the Singapor...
pythoncharmers
 
A Whirlwind Tour Of Python
A Whirlwind Tour Of PythonA Whirlwind Tour Of Python
A Whirlwind Tour Of Python
Asia Smith
 
Samsung SDS OpeniT - The possibility of Python
Samsung SDS OpeniT - The possibility of PythonSamsung SDS OpeniT - The possibility of Python
Samsung SDS OpeniT - The possibility of Python
Insuk (Chris) Cho
 
Python in Industry
Python in IndustryPython in Industry
Python in Industry
Dharmit Shah
 
Introduction-To-Python- a guide to master
Introduction-To-Python- a guide to masterIntroduction-To-Python- a guide to master
Introduction-To-Python- a guide to master
ImadM4
 
Python in the real world : from everyday applications to advanced robotics
Python in the real world : from everyday applications to advanced roboticsPython in the real world : from everyday applications to advanced robotics
Python in the real world : from everyday applications to advanced robotics
Jivitesh Dhaliwal
 
Your interactive computing
Your interactive computingYour interactive computing
Your interactive computing
Yung-Yu Chen
 
Python Basics for python understanding.pptx
Python Basics for python understanding.pptxPython Basics for python understanding.pptx
Python Basics for python understanding.pptx
ShubhamNain11
 
First of all, what is Python? According t
First of all, what is Python? According tFirst of all, what is Python? According t
First of all, what is Python? According t
bhatamith15
 
2024-25 TYBSC(CS)-PYTHON_PROG_ControlStructure.pptx
2024-25 TYBSC(CS)-PYTHON_PROG_ControlStructure.pptx2024-25 TYBSC(CS)-PYTHON_PROG_ControlStructure.pptx
2024-25 TYBSC(CS)-PYTHON_PROG_ControlStructure.pptx
sangeeta borde
 
Python programming ppt.pptx
Python programming ppt.pptxPython programming ppt.pptx
Python programming ppt.pptx
nagendrasai12
 
Mastering the Interview: 50 Common Interview Questions Demystified
Mastering the Interview: 50 Common Interview Questions DemystifiedMastering the Interview: 50 Common Interview Questions Demystified
Mastering the Interview: 50 Common Interview Questions Demystified
MalcolmDupri
 
Harmonic Stack for Speed
Harmonic Stack for SpeedHarmonic Stack for Speed
Harmonic Stack for Speed
Yung-Yu Chen
 
Python-Mastering-the-Language-of-Data-Science.pptx
Python-Mastering-the-Language-of-Data-Science.pptxPython-Mastering-the-Language-of-Data-Science.pptx
Python-Mastering-the-Language-of-Data-Science.pptx
dmdHaneef
 
Python for Science and Engineering: a presentation to A*STAR and the Singapor...
Python for Science and Engineering: a presentation to A*STAR and the Singapor...Python for Science and Engineering: a presentation to A*STAR and the Singapor...
Python for Science and Engineering: a presentation to A*STAR and the Singapor...
pythoncharmers
 
A Whirlwind Tour Of Python
A Whirlwind Tour Of PythonA Whirlwind Tour Of Python
A Whirlwind Tour Of Python
Asia Smith
 
Samsung SDS OpeniT - The possibility of Python
Samsung SDS OpeniT - The possibility of PythonSamsung SDS OpeniT - The possibility of Python
Samsung SDS OpeniT - The possibility of Python
Insuk (Chris) Cho
 

Recently uploaded (20)

The State of Web3 Industry- Industry Report
The State of Web3 Industry- Industry ReportThe State of Web3 Industry- Industry Report
The State of Web3 Industry- Industry Report
Liveplex
 
Viral>Wondershare Filmora 14.5.18.12900 Crack Free Download
Viral>Wondershare Filmora 14.5.18.12900 Crack Free DownloadViral>Wondershare Filmora 14.5.18.12900 Crack Free Download
Viral>Wondershare Filmora 14.5.18.12900 Crack Free Download
Puppy jhon
 
Oracle Cloud Infrastructure Generative AI Professional
Oracle Cloud Infrastructure Generative AI ProfessionalOracle Cloud Infrastructure Generative AI Professional
Oracle Cloud Infrastructure Generative AI Professional
VICTOR MAESTRE RAMIREZ
 
Ben Blair - Operating Safely in a Vibe Coding World
Ben Blair - Operating Safely in a Vibe Coding WorldBen Blair - Operating Safely in a Vibe Coding World
Ben Blair - Operating Safely in a Vibe Coding World
AWS Chicago
 
Azure vs AWS Which Cloud Platform Is Best for Your Business in 2025
Azure vs AWS  Which Cloud Platform Is Best for Your Business in 2025Azure vs AWS  Which Cloud Platform Is Best for Your Business in 2025
Azure vs AWS Which Cloud Platform Is Best for Your Business in 2025
Infrassist Technologies Pvt. Ltd.
 
Trends Artificial Intelligence - Mary Meeker
Trends Artificial Intelligence - Mary MeekerTrends Artificial Intelligence - Mary Meeker
Trends Artificial Intelligence - Mary Meeker
Clive Dickens
 
AI Agents in Logistics and Supply Chain Applications Benefits and Implementation
AI Agents in Logistics and Supply Chain Applications Benefits and ImplementationAI Agents in Logistics and Supply Chain Applications Benefits and Implementation
AI Agents in Logistics and Supply Chain Applications Benefits and Implementation
Christine Shepherd
 
Scaling GenAI Inference From Prototype to Production: Real-World Lessons in S...
Scaling GenAI Inference From Prototype to Production: Real-World Lessons in S...Scaling GenAI Inference From Prototype to Production: Real-World Lessons in S...
Scaling GenAI Inference From Prototype to Production: Real-World Lessons in S...
Anish Kumar
 
Oracle Cloud Infrastructure AI Foundations
Oracle Cloud Infrastructure AI FoundationsOracle Cloud Infrastructure AI Foundations
Oracle Cloud Infrastructure AI Foundations
VICTOR MAESTRE RAMIREZ
 
How Advanced Environmental Detection Is Revolutionizing Oil & Gas Safety.pdf
How Advanced Environmental Detection Is Revolutionizing Oil & Gas Safety.pdfHow Advanced Environmental Detection Is Revolutionizing Oil & Gas Safety.pdf
How Advanced Environmental Detection Is Revolutionizing Oil & Gas Safety.pdf
Rejig Digital
 
If You Use Databricks, You Definitely Need FME
If You Use Databricks, You Definitely Need FMEIf You Use Databricks, You Definitely Need FME
If You Use Databricks, You Definitely Need FME
Safe Software
 
How to Detect Outliers in IBM SPSS Statistics.pptx
How to Detect Outliers in IBM SPSS Statistics.pptxHow to Detect Outliers in IBM SPSS Statistics.pptx
How to Detect Outliers in IBM SPSS Statistics.pptx
Version 1 Analytics
 
Domino IQ – Was Sie erwartet, erste Schritte und Anwendungsfälle
Domino IQ – Was Sie erwartet, erste Schritte und AnwendungsfälleDomino IQ – Was Sie erwartet, erste Schritte und Anwendungsfälle
Domino IQ – Was Sie erwartet, erste Schritte und Anwendungsfälle
panagenda
 
Introduction to Internet of things .ppt.
Introduction to Internet of things .ppt.Introduction to Internet of things .ppt.
Introduction to Internet of things .ppt.
hok12341073
 
Your startup on AWS - How to architect and maintain a Lean and Mean account
Your startup on AWS - How to architect and maintain a Lean and Mean accountYour startup on AWS - How to architect and maintain a Lean and Mean account
Your startup on AWS - How to architect and maintain a Lean and Mean account
angelo60207
 
Agentic AI: Beyond the Buzz- LangGraph Studio V2
Agentic AI: Beyond the Buzz- LangGraph Studio V2Agentic AI: Beyond the Buzz- LangGraph Studio V2
Agentic AI: Beyond the Buzz- LangGraph Studio V2
Shashikant Jagtap
 
Domino IQ – What to Expect, First Steps and Use Cases
Domino IQ – What to Expect, First Steps and Use CasesDomino IQ – What to Expect, First Steps and Use Cases
Domino IQ – What to Expect, First Steps and Use Cases
panagenda
 
Artificial Intelligence in the Nonprofit Boardroom.pdf
Artificial Intelligence in the Nonprofit Boardroom.pdfArtificial Intelligence in the Nonprofit Boardroom.pdf
Artificial Intelligence in the Nonprofit Boardroom.pdf
OnBoard
 
Creating an Accessible Future-How AI-powered Accessibility Testing is Shaping...
Creating an Accessible Future-How AI-powered Accessibility Testing is Shaping...Creating an Accessible Future-How AI-powered Accessibility Testing is Shaping...
Creating an Accessible Future-How AI-powered Accessibility Testing is Shaping...
Impelsys Inc.
 
Introduction to Typescript - GDG On Campus EUE
Introduction to Typescript - GDG On Campus EUEIntroduction to Typescript - GDG On Campus EUE
Introduction to Typescript - GDG On Campus EUE
Google Developer Group On Campus European Universities in Egypt
 
The State of Web3 Industry- Industry Report
The State of Web3 Industry- Industry ReportThe State of Web3 Industry- Industry Report
The State of Web3 Industry- Industry Report
Liveplex
 
Viral>Wondershare Filmora 14.5.18.12900 Crack Free Download
Viral>Wondershare Filmora 14.5.18.12900 Crack Free DownloadViral>Wondershare Filmora 14.5.18.12900 Crack Free Download
Viral>Wondershare Filmora 14.5.18.12900 Crack Free Download
Puppy jhon
 
Oracle Cloud Infrastructure Generative AI Professional
Oracle Cloud Infrastructure Generative AI ProfessionalOracle Cloud Infrastructure Generative AI Professional
Oracle Cloud Infrastructure Generative AI Professional
VICTOR MAESTRE RAMIREZ
 
Ben Blair - Operating Safely in a Vibe Coding World
Ben Blair - Operating Safely in a Vibe Coding WorldBen Blair - Operating Safely in a Vibe Coding World
Ben Blair - Operating Safely in a Vibe Coding World
AWS Chicago
 
Azure vs AWS Which Cloud Platform Is Best for Your Business in 2025
Azure vs AWS  Which Cloud Platform Is Best for Your Business in 2025Azure vs AWS  Which Cloud Platform Is Best for Your Business in 2025
Azure vs AWS Which Cloud Platform Is Best for Your Business in 2025
Infrassist Technologies Pvt. Ltd.
 
Trends Artificial Intelligence - Mary Meeker
Trends Artificial Intelligence - Mary MeekerTrends Artificial Intelligence - Mary Meeker
Trends Artificial Intelligence - Mary Meeker
Clive Dickens
 
AI Agents in Logistics and Supply Chain Applications Benefits and Implementation
AI Agents in Logistics and Supply Chain Applications Benefits and ImplementationAI Agents in Logistics and Supply Chain Applications Benefits and Implementation
AI Agents in Logistics and Supply Chain Applications Benefits and Implementation
Christine Shepherd
 
Scaling GenAI Inference From Prototype to Production: Real-World Lessons in S...
Scaling GenAI Inference From Prototype to Production: Real-World Lessons in S...Scaling GenAI Inference From Prototype to Production: Real-World Lessons in S...
Scaling GenAI Inference From Prototype to Production: Real-World Lessons in S...
Anish Kumar
 
Oracle Cloud Infrastructure AI Foundations
Oracle Cloud Infrastructure AI FoundationsOracle Cloud Infrastructure AI Foundations
Oracle Cloud Infrastructure AI Foundations
VICTOR MAESTRE RAMIREZ
 
How Advanced Environmental Detection Is Revolutionizing Oil & Gas Safety.pdf
How Advanced Environmental Detection Is Revolutionizing Oil & Gas Safety.pdfHow Advanced Environmental Detection Is Revolutionizing Oil & Gas Safety.pdf
How Advanced Environmental Detection Is Revolutionizing Oil & Gas Safety.pdf
Rejig Digital
 
If You Use Databricks, You Definitely Need FME
If You Use Databricks, You Definitely Need FMEIf You Use Databricks, You Definitely Need FME
If You Use Databricks, You Definitely Need FME
Safe Software
 
How to Detect Outliers in IBM SPSS Statistics.pptx
How to Detect Outliers in IBM SPSS Statistics.pptxHow to Detect Outliers in IBM SPSS Statistics.pptx
How to Detect Outliers in IBM SPSS Statistics.pptx
Version 1 Analytics
 
Domino IQ – Was Sie erwartet, erste Schritte und Anwendungsfälle
Domino IQ – Was Sie erwartet, erste Schritte und AnwendungsfälleDomino IQ – Was Sie erwartet, erste Schritte und Anwendungsfälle
Domino IQ – Was Sie erwartet, erste Schritte und Anwendungsfälle
panagenda
 
Introduction to Internet of things .ppt.
Introduction to Internet of things .ppt.Introduction to Internet of things .ppt.
Introduction to Internet of things .ppt.
hok12341073
 
Your startup on AWS - How to architect and maintain a Lean and Mean account
Your startup on AWS - How to architect and maintain a Lean and Mean accountYour startup on AWS - How to architect and maintain a Lean and Mean account
Your startup on AWS - How to architect and maintain a Lean and Mean account
angelo60207
 
Agentic AI: Beyond the Buzz- LangGraph Studio V2
Agentic AI: Beyond the Buzz- LangGraph Studio V2Agentic AI: Beyond the Buzz- LangGraph Studio V2
Agentic AI: Beyond the Buzz- LangGraph Studio V2
Shashikant Jagtap
 
Domino IQ – What to Expect, First Steps and Use Cases
Domino IQ – What to Expect, First Steps and Use CasesDomino IQ – What to Expect, First Steps and Use Cases
Domino IQ – What to Expect, First Steps and Use Cases
panagenda
 
Artificial Intelligence in the Nonprofit Boardroom.pdf
Artificial Intelligence in the Nonprofit Boardroom.pdfArtificial Intelligence in the Nonprofit Boardroom.pdf
Artificial Intelligence in the Nonprofit Boardroom.pdf
OnBoard
 
Creating an Accessible Future-How AI-powered Accessibility Testing is Shaping...
Creating an Accessible Future-How AI-powered Accessibility Testing is Shaping...Creating an Accessible Future-How AI-powered Accessibility Testing is Shaping...
Creating an Accessible Future-How AI-powered Accessibility Testing is Shaping...
Impelsys Inc.
 
Ad

Introduction to Python Syntax and Semantics

  • 1. Introduction to Python Syntax and Semantics Adam J. Cook, Chair of SME Chapter 112 FOR PUBLIC RELEASE
  • 2. About the Presenter FOR PUBLIC RELEASE ▪ Adam Cook ▪ B.S. in Mechanical Engineering from Purdue University West Lafayette. ▪ Chief Technical Officer of Alliedstrand in Hammond, Indiana. ▪ Chair of SME Chapter 112 (Northwest Indiana and South Chicago). ▪ Embedded systems engineering, custom automation systems, industrial software. ▪ Lives in Chicago. ▪ Contact me at [email protected].
  • 3. Chapter “Digital Initiative” FOR PUBLIC RELEASE Overviews of Digital Engineering and Manufacturing Topics Applied Programming Workshops and Webinars Chapter Hackathons Chapter Office Hours (In-person and online) Slack #python channel
  • 4. What is Python? FOR PUBLIC RELEASE ▪ High-level programming language. ▪ Free and open-source. ▪ Interpreted. ▪ Cross-platform. ▪ Extensive standard library. ▪ Automatic memory management. ▪ Designed to be highly readable, explicit and productive. ▪ Proven to be quite versatile (and popular). ▪ Reasonably fast for many applications. ▪ Already know MATLAB? You will be right at home (mostly)! OPEN-SOURCE DATA MODELING DATA STRUCTURES FUNCTIONAL PROGRAMMING Be on the look out for these keywords!
  • 5. Why is Python so approachable? FOR PUBLIC RELEASE Source: https://yellowpencil.com/blog/imagining-the-future-of-web-design/ More complex language to use We are here today.
  • 6. Who uses Python? FOR PUBLIC RELEASE
  • 7. What kinds of problems does Python help solve? FOR PUBLIC RELEASE ▪ Data analytics. ▪ Machine learning and artificial intelligence. ▪ Robot path planning. ▪ http://shop.oreilly.com/product/0636920024736.do ▪ https://www.packtpub.com/application-development/learning-robotics- using-python ▪ Computational geometry and machine vision. ▪ https://www.youtube.com/watch?v=nb3GRgtjlTw ▪ Finite Elements and Computational Fluid Dynamics (CFD). ▪ http://lorenabarba.com/blog/cfd-python-12-steps-to-navier-stokes/ ▪ Prototyping work for embedded systems development. DATA ANALYTICS MACHINE LEARNING DEEP LEARNING ARTIFICIAL INTELLIGENCE MACHINE VISION EMBEDDED SYSTEMS IIOT ROBOTICS
  • 8. Why use Python in Manufacturing? FOR PUBLIC RELEASE ▪ Python is fast becoming one of the most popular languages in data analytics and machine learning. Coincidentally, manufacturing processes are producing more valuable data than ever! Source: https://www.ibm.com/developerworks/community/blogs/jfp/entry/What_Language_Is_Best_For_Machine_Learning_And_Data _Science?lang=en
  • 9. Today’s Agenda FOR PUBLIC RELEASE ▪ A brief look at some Python entry points (command line and Jupyter). ▪ A quick look at some Python use cases.
  • 10. Caveats and Warnings FOR PUBLIC RELEASE ▪ This event assumes you have never programmed before. If you have keep in mind that we will be watering down a bunch. ▪ Programming is challenging – the following presentation will not make you into an expert. Practice and read code. ▪ The Python interpreter is your friend. ▪ For computer graphics, data analytics and machine learning applications, in particular, knowing Python is not enough. ▪ Today we will be going fast. This is the beginning of your journey. Do not try to memorize everything! Instead, think about what kind of actual applications you want to build and let us know. After a couple of projects, things will start clicking together.
  • 11. Demonstrations FOR PUBLIC RELEASE How do you “use” Python and what does Python code look like? CLOUD COMPUTING MICROSOFT AZURE AUTODESK FUSION 360 API
  • 12. Application-Specific Suggestions FOR PUBLIC RELEASE ▪ Want to build web applications in Python? Check out Django. ▪ Need a powerful environment for data and geometry visualizations? Check out the Jupyter Project. ▪ Want to do numerical analysis or linear algebra? Check out SciPy. ▪ Need to work with deep learning? See Pytorch and/or Theano. ▪ Need to build a GUI application? See Tkinter. ▪ Want to build a graphical simulator? Check out Pygame. STATISTICAL ANALYSIS LINEAR ALGEBRA SYMBOLIC COMPUTING NUMERICAL ANALYSIS COMPUTATIONAL GEOMETRY FINITE ELEMENTS/PDE TENSORFLOW CNTK
  • 13. Resources FOR PUBLIC RELEASE Books ▪ Matthes, E. (2016). Python crash course: a hands-on, project-based introduction to programming. San Francisco: No Starch Press. ▪ Lee, K. D., & Hubbard, S. (2015). Data Structures and Algorithms with Python. Cham: Springer International Publishing. ▪ Percival, H. (2014). Test-driven development with Python. O'Reilly. ▪ Kiusalaas, J. (2010). Numerical methods in engineering with Python, Second Edition. Cambridge University Press. ▪ Solem, J. E. (2012). Programming Computer Vision with Python: Tools and Algorithms for Analyzing Images. ▪ Raschka, S. (2015). Python machine learning: unlock deeper insights into machine learning with this vital guide to cutting-edge predictive analytics. Birmingham (U.K.): Packt Publishing. ▪ VanderPlas, J. (2017). Python data science handbook: Essential tools for working with data. Sebastopol, CA: O'Reilly. ▪ Klein, P. N. (2013). Coding the matrix: linear algebra through applications to computer science. Newton, MA: Newtonian Press.
  • 14. Resources FOR PUBLIC RELEASE Videos ▪ Sarah Guido - Hands-on Data Analysis with Python - PyCon 2015 ▪ Jake VanderPlas - Machine Learning with Scikit-Learn (I) - PyCon 2015 ▪ Olivier Grisel - Machine Learning with Scikit-Learn (II) - PyCon 2015 ▪ Jessica McKellar: A hands-on introduction to Python for beginning programmers - PyCon 2014 ▪ Programming Foundations with Python on Udacity ▪ Computational Geometry in Python – PyCon 2016 Websites ▪ Stack Overflow ▪ Python 3 API Documentation ▪ The Zen of Python ▪ Robot Operating System ▪ Open Source Computer Vision (OpenCV) ▪ SciPy ▪ scikit-learn ▪ Awesome Python on GitHub
  • 15. Next Webinar FOR PUBLIC RELEASE Data Analytics with Anaconda (mostly)
  • 16. Where can I get this slide deck and code? FOR PUBLIC RELEASE http://bit.ly/2uzCQqR (actually, go ahead and bookmark this link – this web page will be updated constantly with new content)
  • 17. Thank you! Adam J. Cook Chief Technical Officer of Alliedstrand Chair of SME Chapter 112 [email protected] https://linkedin.com/in/adam-j-cook https://github.com/adamjcook SME www.sme.org https://facebook.com/SMEmfg https://twitter.com/SME_MFG https://linkedin.com/company/sme SME Chapter 112 Serving Northwest Indiana and Chicagoland https://facebook.com/sme112 https://linkedin.com/company/sme112 https://github.com/sme112 Thanks for attending! Special thanks to our hosting partner – GreenCow Coworking. Check them out at greencow.space! Suggestions? Feedback? Comments? Complaints? Contact us below! FOR PUBLIC RELEASE