Skip to content

Instantly share code, notes, and snippets.

@jakirkham
Created October 16, 2015 19:06
Show Gist options
  • Save jakirkham/ed0dc62991ff32d0e211 to your computer and use it in GitHub Desktop.
Save jakirkham/ed0dc62991ff32d0e211 to your computer and use it in GitHub Desktop.
Reproduction of runipy issue 36 in a docker ubuntu:12.04 container.
BeautifulSoup==3.2.1
Jinja2==2.7.3
Mako==0.9.1
MarkupSafe==0.18
Pillow==2.3.0
Pygments==1.6
argparse==1.2.1
configglue==1.1.2
dnspython==1.11.1
feedparser==5.1.3
httplib2==0.8
ipython==2.3.0
lockfile==0.8
numpy==1.8.2
oauthlib==0.6.1
paramiko==1.10.1
pexpect==3.1
piston-mini-client==0.7.5
protobuf==2.5.0
pyOpenSSL==0.13
pycrypto==2.6.1
pyinotify==0.9.4
pyserial==2.6
pyxdg==0.25
pyzmq==14.3.1
reportlab==3.0
runipy==0.1.1
six==1.5.2
wsgiref==0.1.2
zope.interface==4.0.5
{
"metadata": {
"name": "",
"signature": "sha256:c2d84a66806f6beea772558684e5e08ccc7cbe9db661095043022d5db7c48cb4"
},
"nbformat": 3,
"nbformat_minor": 0,
"worksheets": [
{
"cells": [
{
"cell_type": "code",
"collapsed": false,
"input": [
"from time import gmtime, strftime\n",
"current = strftime(\"%Y-%m-%d %H:%M:%S\", gmtime())\n",
"print 'The current time is', current"
],
"language": "python",
"metadata": {},
"outputs": [
{
"output_type": "stream",
"stream": "stdout",
"text": [
"The current time is 2015-10-16 18:39:27\n"
]
}
],
"prompt_number": 1
},
{
"cell_type": "code",
"collapsed": false,
"input": [
"import random\n",
"\n",
"a = random.randint(1, 100)\n",
"b = random.randint(1, 100)\n",
"print 'a is', a\n",
"print 'b is', b"
],
"language": "python",
"metadata": {},
"outputs": [
{
"output_type": "stream",
"stream": "stdout",
"text": [
"a is 8\n",
"b is 32\n"
]
}
],
"prompt_number": 2
}
],
"metadata": {}
}
]
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment