• Stars
    star
    539
  • Rank 81,832 (Top 2 %)
  • Language
    Python
  • License
    GNU General Publi...
  • Created over 7 years ago
  • Updated about 1 year ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

Aims to teach Python3 by example

Build applications in Python the anti-textbook

Source Read online Watch Download Code
On Github Free on Gitbooks The YouTube series Leanpub On Github

Who is this tutorial for?

This book is not for a completely noob programmer, it expects some initial programming experience.

What is this?

It's an easy to understand introduction to the Python programming language which focuses on teaching concepts via examples. The initial chapters explain various concepts and in a later chapter, you will build a command line todo list manager.

The motto of this book is not just teach the language, but to enable you to write tools which you would use in day to day life, like a simple todo list manager, we encourage you to explore the language more after you read the book and start writing tools for your daily usage.

Why Python?

There are a large number of languages out there and new ones coming out every week, thus, it begs the question why learn Python over X.

Python has the following advantages:

  1. Easy to understand syntax. Reads just like English.
  2. Huge community.
  3. Open source hence millions of packages available.
  4. Short time needed for writing code.

A programming language's usability is direct proportion to the size of its community squared, this is because the core team writes the language, but the content(books, podcasts, tutorials, packages, Q&A) surrounding the language is created by the community.

Which Python?

This guide focuses only on Python3, Python2 is on life support and we do not recommend using it, unless there is an exceptional scenario.

Writing Style

We have thirteen chapters:

  • Each chapter or topic has an associated YouTube screencast.
  • Each chapter has concepts explained by an example (can be as stupid as 1+1=2)
  • Code that is supposed to run on the Interpreter starts with >>> like >>> not True.
>>> not True
	False

In this case, >>> not True is the statement and False is the output.

  • Code that doesn't start with >>> is supposed to be run in a file with the extension .py
  • If there is significant code for the chapter, you can find a file in the code repository, please look on the basis of chapters.

How to use?

  • Read the chapters end to end.
  • Watch the YouTube screencast, there is a reason why they are free!
  • Do NOT search the Internet for things like "how to do X in python", use the documentation.

Installation

  1. Linux and Mac: Use a package manager to install the python3 package.
  2. Windows: Download the .msi or .exe file from https://python.org, run the installer, click on Next Next until it finishes.
  3. Android: Install termux (https://termux.com/help.html) & run apt-get install python3 to install python inside it.
  4. iOS: Python3 for iOS (not free).

Background

This tutorial is the culmination of the various Python trainings I have given in the past. There was a lack of a guide which taught programming by building tools without overwhelming the readers, thus, this project got started.

They say that write the book you wish existed in the world. This is a book which I wished existed when I was learning the language.

Please note that I don't profess to be a God at anything, but I do feel that good things happen when a group comes together for one goal.

This is an open source guide and I invite you to contribute.

Multiversity

This guide is a part of the Multiversity initiative. The aim is to have high quality open source tutorials along with screencasts.

Contribution

We need your help to become a great guide! All contributions are welcome. Please raise an issue on Github!

Links
Next Index

More Repositories

1

web-dev-golang-anti-textbook

Learn how to write webapps without a framework in Go.
Go
3,127
star
2

awk-anti-textbook

learn awk by example
721
star
3

Tasks

A simplistic todo list manager written in Go
Go
547
star
4

intro-to-vuejs

Introduction to VueJS the anti-textbook (work in progress)
136
star
5

multiversity

Meta project related to the YouTube channel https://www.youtube.com/channel/UCRS1AaHawQklALPHwfAlBCQ/
101
star
6

go-vue-events

Go with Vue2.0; fork of https://github.com/chenkie/vue-events-bulletin;
JavaScript
37
star
7

SamplePythonScripts

A collection of general purpose sample python scripts
Python
21
star
8

Tasks-vue

A fork of http://github.com/thewhitetulip/Tasks written in Vue; code for chp5 of http://github.com/thewhitetulip/intro-to-vuejs/ tutorial
JavaScript
21
star
9

pyfox

A small python script for easy access to firefox bookmarks and browsing history
Python
20
star
10

write-webapps-in-go-video

Code accompanying the Video series
JavaScript
17
star
11

wshare

wShare was built to make file sharing within intranet easy.
Go
13
star
12

omninotesweb

This is the website for OmniNotes
JavaScript
8
star
13

devtools

A curated list of developer tools
7
star
14

timer

Shows a notification every hour to take breaks
Go
6
star
15

f

A very simple and fast http server in Go
Go
6
star
16

picsort

a simple webapp in golang to put images into folders of individuals, we have to manually tag them first.
Go
5
star
17

intro-to-vuejs-code

Code accompanying the book https://github.com/thewhitetulip/intro-to-vuejs
JavaScript
4
star
18

code-build-app-with-python-antitextbook

Code accompanying the tutorial https://github.com/thewhitetulip/build-app-with-python-antitextbook
Python
4
star
19

hashtag-notes

Android app based on material design that can be used to take notes using hashtags
Java
3
star
20

managefiles

A small python script to manage files in your downloads folder
Python
1
star
21

unixcommands

Reimplementing basic unix commands in Go
Go
1
star
22

go-lang-from-zero-to-hero

1
star