Skip to content

Instantly share code, notes, and snippets.

@dandye
Created January 29, 2014 23:57
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save dandye/8699831 to your computer and use it in GitHub Desktop.
Save dandye/8699831 to your computer and use it in GitHub Desktop.
Next PyBulls Meeting
{
"metadata": {
"name": "Next PyBulls Meeting"
},
"nbformat": 3,
"nbformat_minor": 0,
"worksheets": [
{
"cells": [
{
"cell_type": "markdown",
"metadata": {},
"source": "![Alt text](http://googledrive.com/host/0B2OlAVh0ubI_T01ZSTNpVmdUVG8/pybulls-logo.png)\n"
},
{
"cell_type": "code",
"collapsed": false,
"input": "import datetime\nimport json\n\nmeeting_details = {\"Location\":\"TBD\", \n \"Date\": datetime.datetime(2014,2,5,17,30).strftime(\"%A %d. %B %Y %I%p\") + \" - 7pm\",\n \"Topic\": \"Teach me Flask (lightweight Python web framework)\" }\nprint json.dumps(meeting_details, sort_keys=True, indent=4, separators=(',', ': '))",
"language": "python",
"metadata": {},
"outputs": [
{
"output_type": "stream",
"stream": "stdout",
"text": "{\n \"Date\": \"Wednesday 05. February 2014 05PM - 7pm\",\n \"Location\": \"TBD\",\n \"Topic\": \"Teach me Flask (lightweight Python web framework)\"\n}\n"
}
],
"prompt_number": 16
},
{
"cell_type": "code",
"collapsed": false,
"input": "",
"language": "python",
"metadata": {},
"outputs": [],
"prompt_number": 9
},
{
"cell_type": "code",
"collapsed": false,
"input": "",
"language": "python",
"metadata": {},
"outputs": []
}
],
"metadata": {}
}
]
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment