GithubHelp home page GithubHelp logo

sagittarius / byte_of_python Goto Github PK

View Code? Open in Web Editor NEW

This project forked from swaroopch/byte-of-python

0.0 2.0 0.0 347 KB

A Byte of Python book

Home Page: http://www.swaroopch.com/notes/python/

License: Other

byte_of_python's Introduction

A Byte of Python

Installation

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

Convert the source files into PDF:

fab pdf

Convert the source files into EPUB (ebook):

fab epub

Editing

If you're using Vim editor, then you may like the vim-pandoc plugin. There is one downside though - for long chapters, it becomes really slow, so I edit only in plain text mode (:set ft=), but when reviewing, I use the pandoc (:set ft=pandoc) mode.

byte_of_python's People

Contributors

swaroopch avatar coffeeofmorpheus avatar

Watchers

Vincent Chen avatar James Cloos avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.