Last active
August 29, 2015 13:55
-
-
Save dandye/8699875 to your computer and use it in GitHub Desktop.
Next Python Meeting
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"metadata": { | |
"name": "" | |
}, | |
"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\n", | |
"import json\n", | |
"\n", | |
"meeting_details = {\"Location\":\"HMS219 (Architecture Bld)\", \n", | |
" \"Date\": datetime.datetime(2014,2,5,17,30).strftime(\"%A, %B %d, %Y %I:%M%p\") + \"-7:30PM\",\n", | |
" \"Topic\": \"Teach me Flask (lightweight Python web framework)\" }\n", | |
"print json.dumps(meeting_details, sort_keys=True, indent=4, separators=(',', ': '))" | |
], | |
"language": "python", | |
"metadata": {}, | |
"outputs": [ | |
{ | |
"output_type": "stream", | |
"stream": "stdout", | |
"text": [ | |
"{\n", | |
" \"Date\": \"Wednesday, February 05, 2014 05:30PM-7:30PM\",\n", | |
" \"Location\": \"HMS219 (Architecture Bld)\",\n", | |
" \"Topic\": \"Teach me Flask (lightweight Python web framework)\"\n", | |
"}\n" | |
] | |
} | |
], | |
"prompt_number": 1 | |
} | |
], | |
"metadata": {} | |
} | |
] | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment