Append ?t=30 to start the playback at 30s, ?t=3:20 to start the playback at 3m 20s.
Use snippets below to display a screenshot linking to this recording. Useful in places where scripts are not allowed (e.g. in a project's README file).
If you're embedding on your own page or on a site which permits script tags,
you can use the full player widget:
Paste the above script tag where you want the player to be displayed on your page.
See Sharing & embedding for additional options.
You can download this recording as a .json file.
Download asciinema player from player's releases page (you only need .js and .css file), then use it like this:
<link rel="stylesheet" type="text/css" href="/asciinema-player.css" />
<asciinema-player src="/asciicast-15925.json" cols="80" rows="25"></asciinema-player>
See asciinema player README for full usage instructions.
tomb@tom-mba (master) asciinema2gif$ python
Python 2.7.9 (default, Dec 15 2014, 10:17:04)
[GCC 4.2.1 Compatible Apple LLVM 6.0 (clang-600.0.56)] on darwin
Type "help", "copyright", "credits" or "license" for more information.
asdWARNING this looks like a private session
bash: asdf: command not found
bash: ads: command not found
>>> import ast
>>> m = ast.parse('1 + 1\n2 + 2')
>>> exp1, exp2 = m.body
<_ast.Num object at 0x10381c090>
<_ast.Num object at 0x10381c8d0>