0% found this document useful (0 votes)
32 views

OpenSAP Python1 Week 1 Unit 1 Firststeps Presentation

Uploaded by

Kata Dienes
Copyright
© © All Rights Reserved
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
32 views

OpenSAP Python1 Week 1 Unit 1 Firststeps Presentation

Uploaded by

Kata Dienes
Copyright
© © All Rights Reserved
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 8

Week 1: Python Fundamentals

Unit 1: First Steps in Python


First steps in Python
Why Python? Python is popular!

▪ 1st place on IEEE popularity index


▪ 1st place in TIOBE index
▪ Popularity means:
– As a learner, you’ll find lot of tutorials, learning
material, examples, and tips & tricks in the Internet.
– As a programmer, you’ll find many libraries and
tools, which make your programming life easier.
– If you run into problems, you’ll quickly find answers
in Google, YouTube, and other platforms.

This work is licensed under a Creative Commons Attribution-ShareAlike 4.0 International License. open.sap.com Slide 2
First steps in Python
Why Python? Python is easy to learn!

▪ In comparison to other programming languages,


Python is easy to learn.
– The program on the right is already a complete
program and can be executed on your computer.
– Python’s design emphasizes readability e.g. by
using just a few keywords or by forcing indentation.

▪ This simplicity is reflected in the guiding principles for


the development of Python known as the Zen of
Python.
– Have a look for these principles in Wikipedia.

This work is licensed under a Creative Commons Attribution-ShareAlike 4.0 International License. open.sap.com Slide 3
First steps in Python
Why Python? Python is used in industry!

▪ Although Python is easy to learn and easy to use, it


is very powerful.
▪ Thus, it is used not only in beginners’ courses in
programming but also in real projects in industry.

▪ Python supports programming paradigms like object


orientation or functional programming and can thus
be used for different scenarios.
▪ Especially in the field of artificial intelligence and
machine learning, Python is dominant.

This work is licensed under a Creative Commons Attribution-ShareAlike 4.0 International License. open.sap.com Slide 4
First steps in Python
What is a program?

▪ All Python programs consist of statements or


instructions.
▪ These statements are typically written one below the
other and are executed one by one.
– (The sequence of execution can be changed by
control structures, which we will talk about later.)
▪ A statement in a Python program can be for example
a mathematical expression like
–5+3
– 123 + 234
– The figure on the right shows a program consisting
of four statements. The meaning of each statement
is not of interest right now.

This work is licensed under a Creative Commons Attribution-ShareAlike 4.0 International License. open.sap.com Slide 5
First steps in Python
Showtime

Now it’s time to get hands on


and start programming!

If you like, you can open the


Jupyter Notebook instructions
in parallel to the demo.

If you haven’t done so yet:


▪ Download the Notebook
▪ Start the Jupyter Server
▪ Open the Notebook

This work is licensed under a Creative Commons Attribution-ShareAlike 4.0 International License. open.sap.com Slide 6
First steps in Python
Summary / key takeaways

In this unit you learned ...


▪ … that Python is popular, easy to learn, and
nevertheless used in industry
▪ … that programs consist of statements, which are
executed one by one

This work is licensed under a Creative Commons Attribution-ShareAlike 4.0 International License. open.sap.com Slide 7
Thank You!

Contact Information:
[email protected]

This under
This work is licensed work isa licensed
Creativeunder a Creative
Commons Commons Attribution-ShareAlike
Attribution-ShareAlike 4.0 International 4.0 International License.
License. open.sap.com Slide 8

You might also like