O slideshow foi denunciado.
Utilizamos seu perfil e dados de atividades no LinkedIn para personalizar e exibir anúncios mais relevantes. Altere suas preferências de anúncios quando desejar.

Five Things You Didn’t Know Python Can Do!

265 visualizações

Publicada em

Presented at All Things Open
Presented by Nina Zakharenko with Microsoft
10/23/18 - 9:15 AM - Keynote

For more from Nina Zakharenko: https://speakerdeck.com/nnja

Publicada em: Tecnologia
  • Seja o primeiro a comentar

  • Seja a primeira pessoa a gostar disto

Five Things You Didn’t Know Python Can Do!

  1. 1. Nina Zakharenko Cloud Developer Advocate Microsoft @nnja
  2. 2. @nnja 5 THINGS YOU DIDN’T KNOW ABOUT PYTHON
  3. 3. @nnja 1. EMPOWERS SCIENTISTS !3
  4. 4. CONCORDIA STATION - ANTARCTICA watch keynote
  5. 5. Role of Python in Gravitational Wave Astronomy Breakthroughs watch keynote
  6. 6. @nnjaread post
  7. 7. @nnja 2. IS USED TO CREATE GAMES & ART !7
  8. 8. EVE ONLINE STACKLESS PYTHON 👂listen to interview
  9. 9. SUPER POTATO BRUH PLAY IT
  10. 10. @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
  11. 11. @nnja 3. AUTOMATES YOUR HOME !11
  12. 12. @nnja HOME ASSISTANT
  13. 13. @nnja 4. IT CAN SCALE! !13
  14. 14. @nnja INSTAGRAM
  15. 15. @nnja DROPBOX
  16. 16. @nnja AND MORE…
  17. 17. @nnja 5. RUNS ON HARDWARE !17
  18. 18. MICROPYTHON & CIRCUITPYTHON
  19. 19. TRINKET M0 - $8.95
  20. 20. ADAFRUIT HALLOWING M0
  21. 21. @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
  22. 22. xkcd
  23. 23. THANKS! Python @Microsoft http://bit.ly/atopython @nnja
  24. 24. @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

×