Pythonic

823230e10f3221b462ca3a13c3edbb9f?s=47 Dreampuf
November 20, 2012

 Pythonic

# Pythonic

Slides : https://speakerdeck.com/dreampuf/pythonic

## Agenda

- Python idiom
- syntax, libraries
- Python tool
- virtualenv, pip, pyreverse, SimpleHTTPServer, Ipython
- Python resource
- PEP, pycoder's weekly, python book

## Python idiom

- What the heck does “pythonic” mean?

To be Pythonic is to use the Python constructs and datastructures with clean, readable idioms.
- 'There should be one-- and preferably only one --obvious way to do it' - from 'The Zen of Python' by Tim Peters

### Syntax

### Library

## Python tool

### VirtualEnv

### Pip

- Why Native Packages at All ?
- It doesn’t scale.
- It’s hard to integrate.
- You have to install build tools on target servers.
it’s also a security feature: Many attacks require a working C compiler.
- It can leave your app in an inconsistent state.

## Reference

- [What the heck does "pythonic" mean?](http://halitalptekin.tumblr.com/post/30028271874/pythonic-syntax)
- [Python Objects, types, classes, instances - a glossary](http://eli.thegreenplace.net/2012/03/30/python-objects-types-classes-and-instances-a-glossary/)
- [Python Application Deployment with Native Packages](http://hynek.me/articles/python-app-deployment-with-native-packages/)
- [Writing Idiomatic Python](http://www.jeffknupp.com/blog/2012/10/04/writing-idiomatic-python/)
- [Presentation: pip and virtualenv](http://mathematism.com/2009/07/30/presentation-pip-and-virtualenv/)
- [Welcome to The Hitchhiker’s Guide to Packaging](http://guide.python-distribute.org)
- [Index of Python Enhancement Proposals (PEPs)](http://www.python.org/dev/peps/)
- [PyCoder's Weekly](http://pycoders.com)
- [Google Python Style Guide](http://google-styleguide.googlecode.com/svn/trunk/pyguide.html)
- [Python Guide](http://python-guide.org)
- [PythonBook](http://pythonbooks.revolunet.com)
- [Python Tutor](http://www.pythontutor.com)

823230e10f3221b462ca3a13c3edbb9f?s=128

Dreampuf

November 20, 2012
Tweet