Upgrade to Pro — share decks privately, control downloads, hide ads and more …

Python All The Things!

Python All The Things!

We’re familiar with Python as a scripting language, as a web server language, as a teaching language, as a data analysis language, and as a teaching language. But is that the limit of where Python can be used? What is the future for Python on other platforms? Is the prospect of using Python on those platforms a novelty, or a viable way to fend off an existential threat to the language? And how does this threat intersect with other threats we have to our community, and to our industry?

Video: https://www.youtube.com/watch?v=1sDyVJm3Ht0

Russell Keith-Magee

August 14, 2016
Tweet

More Decks by Russell Keith-Magee

Other Decks in Programming

Transcript

  1. How

  2. A cavelcade of platforms... $ ls -d Lib/plat-* plat-aix3 plat-freebsd7

    plat-next3 plat-aix4 plat-freebsd8 plat-os2emx plat-atheos plat-generic plat-riscos plat-beos5 plat-irix5 plat-sunos5 plat-darwin plat-irix6 plat-unixware7 plat-freebsd4 plat-linux2 plat-freebsd5 plat-mac plat-freebsd6 plat-netbsd1
  3. ctypes from ctypes import * libc = cdll.LoadLibrary("libc.so.6") libc.strchr.argtypes =

    [c_char_p, c_char] libc.strchr.restype = c_char_p >>> print(libc.strchr(b"abcdef", b"d")) 'def'
  4. VOC

  5. Spot the difference var x = 10; function scope_test(y) {

    x = x * y; } scope_test(3) console.log('x = ' + x); x = 10 def scope_test(y): x = x * y scope_test(3) print('x = ', x)
  6. How