Skip to content

Instantly share code, notes, and snippets.

View evildmp's full-sized avatar

Daniele Procida evildmp

  • Canonical
  • Cardiff, Wales
View GitHub Profile
The 2015 edition of DjangoCon Europe, the biggest event in the international Django community’s calendar, will be held in Cardiff (Wales) 2nd-7th June.
<http://2015.djangocon.eu>
We’re putting a huge emphasis on diversity and accessibility at this event, to encourage more women and members of other minorities in the field to attend and submit proposals for talks.
<http://2015.djangocon.eu/welcome/diversity/>
<http://2015.djangocon.eu/welcome/accessibility/>
We’ve also taken the unusual step of opening registration only to members of under-represented groups for the first month: <http://2015.djangocon.eu/news/registration-opens/>.
Getting started with Python
===========================
The Python interpreter
----------------------
Type ``python`` in a terminal window::
$ python
Python 2.7.2+ (default, Jul 20 2012, 22:15:08)
py26 installdeps: -r/Users/divio/Arkestra/Arkestra/REQUIREMENTS.txt, -e.[test]
/Users/divio/Arkestra/Arkestra$ /Users/divio/Arkestra/Arkestra/.tox/py26/bin/pip install -r/Users/divio/Arkestra/Arkestra/REQUIREMENTS.txt -e.[test] >/Users/divio/Arkestra/Arkestra/.tox/py26/log/py26-1.log
ERROR: invocation failed (exit code 1), logfile: /Users/divio/Arkestra/Arkestra/.tox/py26/log/py26-1.log
ERROR: actionid=py26
msg=getenv
cmdargs=[local('/Users/divio/Arkestra/Arkestra/.tox/py26/bin/pip'), 'install', '-r/Users/divio/Arkestra/Arkestra/REQUIREMENTS.txt', '-e.[test]']
env={'LESS': '-R', 'LC_CTYPE': 'en_GB.UTF-8', 'TERM_PROGRAM_VERSION': '343.7', 'TMPDIR': '/var/folders/0s/8b2x6bm945zfk9ft69rmt3dh0000gn/T/', 'DOCKER_HOST': 'tcp://192.168.59.103:2376', 'LOGNAME': 'divio', 'USER': 'divio', 'PATH': '/Users/divio/Arkestra/Arkestra/.tox/py26/bin:/Users/divio/Arkestra/Arkestra/.env/bin:/Users/divio/bin:/Users/divio/.local/bin:/usr/local/bin:/usr/local/sbin:/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/bin:/usr/bin:/bin:/usr/sb

Subject: Your DjangoCon Workshop proposal

Hello ,

Firstly, I would like to apologise for how long we took to get back to you. We received so many workshop proposals that the scheduling took longer than we expected

We'd love to run your workshop at the conference, and we have been able to give you a slot for it.

Can you send us a black and white photograph for the website please?

import shutil, os
from ds_store import DSStore
PATH_TO_TRASH = '/Users/divio/.Trash/' # for my disk
# PATH_TO_TRASH = '/Volumes/untitled/Trash/' # for the backup disk
PATH_TO_DS_STORE = PATH_TO_TRASH + '.DS_Store'
filelist = []
usable_files = 0
unusable_files = 0
f = open(...)
try:
json.loads(f.read())
except ValueError:
print "Invalid JSON"
raise
finally:
f.close()
About the event
PyCon Namibia is an initiative of the Namibian Python community.
The event aims to bring together 180 attendees from Namibia and around the world, including professional software developers, scientists, academics and students.
Location and dates
PyCon Namibia will be hosted at the main Windhoek campus of the University of Namibia, from the 1st to the 5th February.
Supporters
The event is supported by:
@evildmp
evildmp / poets-programmers-python.md
Last active March 12, 2016 15:42
Poets & programmers and Python at PyCon Slovakia 2016 - resources
@evildmp
evildmp / notes.md
Last active April 17, 2016 16:25
Loops, self-reference, hierarchies - poetry, programmers, Python
@evildmp
evildmp / hamlet.py
Last active July 27, 2016 15:10
Hamlet for two voices, in Python
# coding=UTF8
# Hamlet, for two voices
# after Ulises Carrión
#
# https://en.wikipedia.org/wiki/Ulises_Carrión
#
# Ulises Carrión's recording of Hamlet, for two voices:
# https://www.dropbox.com/s/vyi3psnt0da2hu0/Hamlet%20for%20two%20voices.mp3?dl=0
# Requires: