Upgrade to Pro
— share decks privately, control downloads, hide ads and more …
Speaker Deck
Sign up for free
Menu
Search
Features
All features
Private URLs
Password Protection
Custom URLS
Scheduled publishing
Remove Branding
Restrict embedding
Deck Collections
Notes
Features
All features
Private URLs
Password Protection
Custom URLS
Scheduled publishing
Remove Branding
Restrict embedding
Deck Collections
Notes
Explore
Featured decks
Featured speakers
Programming
Technology
Storyboards
Explore
Featured decks
Featured speakers
Programming
Technology
Storyboards
Pricing
Search
Sign in
Sign up for free
Python basics
Search
Sponsored
·
SiteGround - Reliable hosting with speed, security, and support you can count on.
→
b4d
November 09, 2016
Programming
57
0
Share
Embed
Copy iframe code
Copy JS code
Copy link
Start on current slide
Python basics
Course held at National Institute of Chemistry in Ljubljana, 2016.
b4d
November 09, 2016
More Decks by b4d
See All by b4d
ASLR - Address Space Layout Randomization
b4d
0
420
Other Decks in Programming
See All in Programming
市販E-Readerを乗っ取れ 〜Embedded Swiftで電子ペーパーガジェットを制御する〜
trickart
0
220
AGENTS.md Is Not Enough:Build Skills, Don't Download Them
lx_t
0
130
C#の現在地 進化の歴史と、AI時代の.NET Everywhere
neuecc
5
4.3k
UnityでSystem.Net.WebSocketsなWebSocketサーバが動かないのでUnity Monoのコードを覗いてみた / about implementing websocket server with unity mono
drumath2237
1
490
Are APIs Still Relevant in the AI Era?
soyuka
0
350
GitHubハンズオン講座 — 実務レベルのチーム開発のフローを身につけよう
junhat6
0
110
Security issues being discussed on Web Platforms
petamoriken
0
1.3k
iOS 27でニュースアプリはどう変わる!? 〜日経電子版の新機能対応と、開発事例から〜
lynnswap
7
13k
Starting & Sustaining Code-Based E2E Testing for Non-Coding QA Teams( #jasstniigata )
teyamagu
PRO
1
680
Everything will be SERVERLESS — 信じて運用した10年の経験値 / Everything Will be Serverless — Lessons Learned from 10 Years of Operational Experience
seike460
PRO
1
560
Streamlitで実現する自然言語データアプリ開発
ayumu_yamaguchi
1
320
Workers Cache を知る
syumai
0
310
Featured
See All Featured
Building Better People: How to give real-time feedback that sticks.
wjessup
370
20k
Data-driven link building: lessons from a $708K investment (BrightonSEO talk)
szymonslowik
1
1.3k
16th Malabo Montpellier Forum Presentation
akademiya2063
PRO
0
390
The Pragmatic Product Professional
lauravandoore
37
7.5k
Are puppies a ranking factor?
jonoalderson
2
4k
Mind Mapping
helmedeiros
1
370
Groundhog Day: Seeking Process in Gaming for Health
codingconduct
0
380
Claude Code のすすめ
schroneko
67
230k
Odyssey Design
rkendrick25
PRO
2
830
4 Signs Your Business is Dying
shpigford
187
23k
Mobile First: as difficult as doing things right
swwweet
225
10k
Marketing to machines
jonoalderson
1
5.8k
Transcript
INTRODUCTION PYTHON
GOALS OUR ? ‣HAVE FUN ‣SAVE TIME ‣DO MAGIC
THERE HOW TO GET ? ‣TIMETABLE ‣HOMEWORK ‣DURATION
None
print “Hello world” PYTHON 01000001 01000111 00001001 01100011 01100001 01000010
01001101 00111011 11010110 01000101 00000111 10101010 00011011 11000100 00100001 01101100 00000001 10010000 00000101 00000000 10101010 10001111 … BINARY CODE (FAKE)
PYTHON WHAT IS ? ‣OPEN ‣FREE ‣EASY*
DIVE INTO SLIDES ARE BORING
None
None
INTRODUCTION PYTHON PART TWO
VARIABLES SPREMENLJIVKE
BOOLEAN a = True b = False BOOLEAN
NUMBERS a = 10 b = 10.2 INTEGER FLOAT
STRINGS a = “niz znakov” INTEGER
OPERATORS ARITHMETIC
MATH OPERATIONS + - * / % **
STRINGS NIZI ZNAKOV
STRINGS a = “char \”escaping\” too” znak = “cats”[0] CHAR
ESCAPE INDEXING
“test”.lower() STRING FUNCTIONS “test”.upper() LOWERCASE UPPERCASE len(“test”) LENGTH
TRICKS VARIOUS
COMMENTS # comment 1 “”” comment 1 comment 2 “””
SINGLE LINE MULTI LINE
print “text” PRINTING print a STRING VARIABLE print “a” +
“b” CONCATENATION
“3”.int() TYPE CASTING str(3) STRING TO INT INT TO STRING
INTRODUCTION PYTHON PART THREE
raw_input(“Ime: ”) INPUT STRING
== != < > <= >= COMPARATORS
and or not BOOLEAN OPERATORS not and or PRIORITY
if x < 9: print “st. x je manjse od
9” elif x > 9: print “st. x je vecje od 9” else: print “st. x je enako 9” CONDITIONAL STATEMENTS
INTRODUCTION PYTHON PART FOUR
INTRODUCTION PYTHON PART FIVE
INTRODUCTION PYTHON PART SIX