Python tutorials for absolute beginners.
|
%!s(int64=12) %!d(string=hai) anos | |
---|---|---|
assets | %!s(int64=12) %!d(string=hai) anos | |
.gitignore | %!s(int64=12) %!d(string=hai) anos | |
01-frontpage.pd | %!s(int64=12) %!d(string=hai) anos | |
02-preface.pd | %!s(int64=12) %!d(string=hai) anos | |
03-intro.pd | %!s(int64=12) %!d(string=hai) anos | |
04-installation.pd | %!s(int64=12) %!d(string=hai) anos | |
05-first-steps.pd | %!s(int64=12) %!d(string=hai) anos | |
06-basics.pd | %!s(int64=12) %!d(string=hai) anos | |
07-operators-expressions.pd | %!s(int64=12) %!d(string=hai) anos | |
08-control-flow.pd | %!s(int64=12) %!d(string=hai) anos | |
README.md | %!s(int64=12) %!d(string=hai) anos | |
fabfile.py | %!s(int64=12) %!d(string=hai) anos | |
requirements.txt | %!s(int64=12) %!d(string=hai) anos |
Ensure Python (>= 2.7) is installed.
Install Pandoc from http://johnmacfarlane.net/pandoc/installing.html
Install pdflatex
from http://www.tug.org/texlive/.
Note that Mac users can install MacTex.pkg
from http://www.tug.org/mactex/2012/.
Install pip
if not present already:
sudo sh -c "curl -k -O https://raw.github.com/pypa/pip/master/contrib/get-pip.py && python get-pip.py && rm get-pip.py"
Install Python libraries needed:
sudo pip install -r requirements.txt
Convert the source files into HTML files:
fab html
If you're using Vim editor, then installing vim-pandoc plugin is recommended.
If you're using Sublime Text editor, you may find Sublime Package Control and Pandoc Academic plugins useful.