This gist shows how to create a GIF screencast using only free OS X tools: QuickTime, ffmpeg, and gifsicle.
To capture the video (filesize: 19MB), using the free "QuickTime Player" application:
# Source: https://gist.github.com/4702275 | |
# | |
# All-purpose gist tool for Pythonista. | |
# | |
# When run directly, this script sets up four other scripts that call various | |
# functions within this file. Each of these sub-scripts are meant for use as | |
# action menu items. They are: | |
# | |
# Set Gist ID.py - Set the gist id that the current file should be | |
# associated with. |
#!/usr/bin/env python | |
""" | |
Cython-compatible wrapper for doctest.testmod(). | |
Usage example, assuming a Cython module mymod.pyx is compiled. | |
This is run from the command line, passing a command to Python: | |
python -c "import cydoctest, mymod; cydoctest.testmod(mymod)" | |
(This still won't let a Cython module run its own doctests | |
when called with "python mymod.py", but it's pretty close. |