Upgrade to Pro
— share decks privately, control downloads, hide ads and more …
Speaker Deck
Speaker Deck
PRO
Sign in
Sign up
for free
Five Things You Didn't Know Python Could Do!
Nina Zakharenko
October 24, 2018
Technology
5
1.5k
Five Things You Didn't Know Python Could Do!
All Things Open 2018 - Raleigh, NC
Morning Keynote
Nina Zakharenko
October 24, 2018
Tweet
Share
More Decks by Nina Zakharenko
See All by Nina Zakharenko
nnja
0
35
nnja
1
120
nnja
0
41
nnja
1
9.6k
nnja
0
58
nnja
0
14k
nnja
0
16k
nnja
1
17k
nnja
4
1.4k
Other Decks in Technology
See All in Technology
akitok_
2
800
go5paopao
4
550
harshbothra
0
150
minma
0
220
dena_tech
0
230
koukyo1994
6
1.7k
leaner_tech
0
1.3k
will03
0
110
oracle4engineer
0
3.8k
iwashi
1
210
masakazu
0
200
kaori_cho
1
300
Featured
See All Featured
bkeepers
408
58k
62gerente
587
200k
samlambert
237
10k
zenorocha
296
40k
bkeepers
52
4.2k
jonrohan
1021
380k
ufuk
56
5.4k
tanoku
258
24k
lemiorhan
627
44k
lynnandtonic
272
16k
samanthasiow
56
6.4k
maggiecrowley
10
510
Transcript
Nina Zakharenko Cloud Developer Advocate Microsoft @nnja
@nnja 5 THINGS YOU DIDN’T KNOW ABOUT PYTHON
@nnja 1. EMPOWERS SCIENTISTS !3
CONCORDIA STATION - ANTARCTICA watch keynote
Role of Python in Gravitational Wave Astronomy Breakthroughs watch keynote
@nnja read post
@nnja 2. IS USED TO CREATE GAMES & ART !7
EVE ONLINE STACKLESS PYTHON listen to interview
SUPER POTATO BRUH PLAY IT
@nnja """ Python version of https://www.openprocessing.org/sketc by Saskia Freeke """
t = 0.0 theta = 0.0 max_frame_count = 200 def draw(): background("#242949") translate(width / 2, height / 2) t = float(frameCount) / max_frame_count theta = TWO_PI * t for x in xrange(-175, 176, 25): for y in xrange(-100, 156, 50): offSet = float(50 * x + y + y) x2 = float(map(cos(-theta + offSet), 0, 1, y2 = float(map(cos(-theta + offSet), 0, 1, sz2 = float(map(sin(-theta + offSet), 0, 1 PROCESSING.PY
@nnja 3. AUTOMATES YOUR HOME !11
@nnja HOME ASSISTANT
@nnja 4. IT CAN SCALE! !13
@nnja INSTAGRAM
@nnja DROPBOX
@nnja AND MORE…
@nnja 5. RUNS ON HARDWARE !17
MICROPYTHON & CIRCUITPYTHON
TRINKET M0 - $8.95
ADAFRUIT HALLOWING M0
@nnja while True: for marker in range(11, 0, -1): for
x in range(0, marker+1): mult_r = x / 12 mult_g = (x + 5) / 12 mult_b = (x + 10) / 12 r = gamma[wheel(int((x / 12) * 150))[0]] g = gamma[wheel(int((x / 12) * 150))[1]] b = gamma[wheel(int((x / 12) * 150))[2]] pixels[x] = (r, g, b) r = gamma[wheel(int((x-1 / 12) * 150))[0]] github.com/nnja/pyearrings
xkcd
THANKS! Python @Microsoft http://bit.ly/atopython @nnja
@nnja Credits Special thanks to all the people who made
and released these awesome resources for free: › Presentation template by SlidesCarnival › Photo by David Clode on Unsplash