|
index
|
Intern |
doFollow |
|
next
|
Intern |
doFollow |
|
Python for you and me 0.4.beta1 documentation
|
Intern |
doFollow |
|
¶
|
Intern |
doFollow |
|
lym
|
Extern |
doFollow |
|
On Windows
|
Intern |
doFollow |
|
On GNU/Linux
|
Intern |
doFollow |
|
The Beginning
|
Intern |
doFollow |
|
Using the Python interpreter
|
Intern |
doFollow |
|
Using a source file
|
Intern |
doFollow |
|
Whitespaces and indentation
|
Intern |
doFollow |
|
Comments
|
Intern |
doFollow |
|
Modules
|
Intern |
doFollow |
|
Evaluation your code from a Python file in the interpreter
|
Intern |
doFollow |
|
Using mu editor
|
Intern |
doFollow |
|
Installation
|
Intern |
doFollow |
|
Using mu
|
Intern |
doFollow |
|
Executing code
|
Intern |
doFollow |
|
Variables and Datatypes
|
Intern |
doFollow |
|
Keywords and Identifiers
|
Intern |
doFollow |
|
Reading input from the Keyboard
|
Intern |
doFollow |
|
Some Examples
|
Intern |
doFollow |
|
Multiple assignments in a single line
|
Intern |
doFollow |
|
Formatting strings
|
Intern |
doFollow |
|
Operators and expressions
|
Intern |
doFollow |
|
Operators
|
Intern |
doFollow |
|
Example of integer arithmetic
|
Intern |
doFollow |
|
Relational Operators
|
Intern |
doFollow |
|
Logical Operators
|
Intern |
doFollow |
|
Shorthand Operator
|
Intern |
doFollow |
|
Expressions
|
Intern |
doFollow |
|
Type Conversions
|
Intern |
doFollow |
|
evaluateequ.py
|
Intern |
doFollow |
|
quadraticequation.py
|
Intern |
doFollow |
|
salesmansalary.py
|
Intern |
doFollow |
|
If-else , the control flow
|
Intern |
doFollow |
|
If statement
|
Intern |
doFollow |
|
Else statement
|
Intern |
doFollow |
|
Truth value testing
|
Intern |
doFollow |
|
Learning using hardware simulation
|
Intern |
doFollow |
|
Circuit Playground Express
|
Intern |
doFollow |
|
Turning on all NeoPixels on the board with Red colour
|
Intern |
doFollow |
|
Looping
|
Intern |
doFollow |
|
While loop
|
Intern |
doFollow |
|
Fibonacci Series
|
Intern |
doFollow |
|
Power Series
|
Intern |
doFollow |
|
Multiplication Table
|
Intern |
doFollow |
|
Some printing * examples
|
Intern |
doFollow |
|
Lists
|
Intern |
doFollow |
|
For loop
|
Intern |
doFollow |
|
range() function
|
Intern |
doFollow |
|
Continue statement
|
Intern |
doFollow |
|
Else statement in a loop
|
Intern |
doFollow |
|
Game of sticks
|
Intern |
doFollow |
|
Looping over hardware
|
Intern |
doFollow |
|
One NeoPixel at a time
|
Intern |
doFollow |
|
First Red and then Blue
|
Intern |
doFollow |
|
Data Structures
|
Intern |
doFollow |
|
Lists
|
Intern |
doFollow |
|
Using lists as stack and queue
|
Intern |
doFollow |
|
List Comprehensions
|
Intern |
doFollow |
|
A few special functions related to lists
|
Intern |
doFollow |
|
Tuples
|
Intern |
doFollow |
|
Sets
|
Intern |
doFollow |
|
Dictionaries
|
Intern |
doFollow |
|
students.py
|
Intern |
doFollow |
|
Assignment problems
|
Intern |
doFollow |
|
Create a calculator
|
Intern |
doFollow |
|
Strings
|
Intern |
doFollow |
|
Different methods available for Strings
|
Intern |
doFollow |
|
Strip the strings
|
Intern |
doFollow |
|
Finding text
|
Intern |
doFollow |
|
Palindrome checking
|
Intern |
doFollow |
|
Number of words
|
Intern |
doFollow |
|
Iterating over all characters of a string
|
Intern |
doFollow |
|
Functions
|
Intern |
doFollow |
|
Defining a function
|
Intern |
doFollow |
|
Local and global variables
|
Intern |
doFollow |
|
Default argument value
|
Intern |
doFollow |
|
Keyword arguments
|
Intern |
doFollow |
|
Keyword only argument
|
Intern |
doFollow |
|
Positional only argument
|
Intern |
doFollow |
|
Docstrings
|
Intern |
doFollow |
|
Higher-order function
|
Intern |
doFollow |
|
map
|
Intern |
doFollow |
|
Parameters and arguments
|
Intern |
doFollow |
|
*args and **kwargs in function definition
|
Intern |
doFollow |
|
HOWTO Write a function
|
Intern |
doFollow |
|
File handling
|
Intern |
doFollow |
|
File opening
|
Intern |
doFollow |
|
Closing a file
|
Intern |
doFollow |
|
Reading a file
|
Intern |
doFollow |
|
Using the with statement
|
Intern |
doFollow |
|
Writing in a file
|
Intern |
doFollow |
|
copyfile.py
|
Intern |
doFollow |
|
Count spaces, tabs and new lines in a file
|
Intern |
doFollow |
|
Let us write some real code
|
Intern |
doFollow |
|
Exceptions
|
Intern |
doFollow |
|
NameError
|
Intern |
doFollow |
|
TypeError
|
Intern |
doFollow |
|
How to handle exceptions?
|
Intern |
doFollow |
|
Raising exceptions
|
Intern |
doFollow |
|
Using finally for cleanup
|
Intern |
doFollow |
|
Class
|
Intern |
doFollow |
|
Your first class
|
Intern |
doFollow |
|
__init__ method
|
Intern |
doFollow |
|
Unique class level variables
|
Intern |
doFollow |
|
__repr__ method
|
Intern |
doFollow |
|
Inheritance
|
Intern |
doFollow |
|
Multiple Inheritance
|
Intern |
doFollow |
|
Encapsulation in Python
|
Intern |
doFollow |
|
Deleting an object
|
Intern |
doFollow |
|
Getters and setters in Python
|
Intern |
doFollow |
|
Properties
|
Intern |
doFollow |
|
Special dunder methods in classes
|
Intern |
doFollow |
|
Creating a new context manager
|
Intern |
doFollow |
|
Deep down inside
|
Intern |
doFollow |
|
Modules
|
Intern |
doFollow |
|
Introduction
|
Intern |
doFollow |
|
Importing modules
|
Intern |
doFollow |
|
Packages and submodules
|
Intern |
doFollow |
|
__all__ in __init__.py
|
Intern |
doFollow |
|
Default modules
|
Intern |
doFollow |
|
Module os
|
Intern |
doFollow |
|
Requests Module
|
Intern |
doFollow |
|
Command line arguments
|
Intern |
doFollow |
|
TAB completion in your Python interpreter
|
Intern |
doFollow |
|
Collections module
|
Intern |
doFollow |
|
Counter
|
Intern |
doFollow |
|
defaultdict
|
Intern |
doFollow |
|
namedtuple
|
Intern |
doFollow |
|
Using VS Code as your primary Python editor
|
Intern |
doFollow |
|
Installing VS Code
|
Intern |
doFollow |
|
Using VS Code
|
Intern |
doFollow |
|
Install the Python extension
|
Intern |
doFollow |
|
Start working on your code
|
Intern |
doFollow |
|
Install the Device Simulator Express extension
|
Intern |
doFollow |
|
PEP8 Guidelines
|
Intern |
doFollow |
|
Introduction
|
Intern |
doFollow |
|
A Foolish Consistency is the Hobgoblin of Little Minds
|
Intern |
doFollow |
|
Code lay-out
|
Intern |
doFollow |
|
Whitespace in Expressions and Statements
|
Intern |
doFollow |
|
Comments
|
Intern |
doFollow |
|
Version Bookkeeping
|
Intern |
doFollow |
|
Naming Conventions
|
Intern |
doFollow |
|
References
|
Intern |
doFollow |
|
Copyright
|
Intern |
doFollow |
|
Iterators, generators and decorators
|
Intern |
doFollow |
|
Iterators
|
Intern |
doFollow |
|
Generators
|
Intern |
doFollow |
|
Generator expressions
|
Intern |
doFollow |
|
Closures
|
Intern |
doFollow |
|
Decorators
|
Intern |
doFollow |
|
Virtualenv
|
Intern |
doFollow |
|
Installation
|
Intern |
doFollow |
|
Usage
|
Intern |
doFollow |
|
Pipenv
|
Intern |
doFollow |
|
Pipfile and Pipfile.lock
|
Intern |
doFollow |
|
Type hinting and annotations
|
Intern |
doFollow |
|
First example of type annotation
|
Intern |
doFollow |
|
Using mypy and more examples
|
Intern |
doFollow |
|
More examples of type annotations
|
Intern |
doFollow |
|
Simple testing in Python
|
Intern |
doFollow |
|
What we should test ?
|
Intern |
doFollow |
|
Unit testing
|
Intern |
doFollow |
|
unittest module
|
Intern |
doFollow |
|
Factorial code
|
Intern |
doFollow |
|
Which function to test ?
|
Intern |
doFollow |
|
Our first test case
|
Intern |
doFollow |
|
Description
|
Intern |
doFollow |
|
Different assert statements
|
Intern |
doFollow |
|
Testing exceptions
|
Intern |
doFollow |
|
mounttab.py
|
Intern |
doFollow |
|
After refactoring
|
Intern |
doFollow |
|
Test coverage
|
Intern |
doFollow |
|
Coverage Example
|
Intern |
doFollow |
|
A project structure
|
Intern |
doFollow |
|
Primary code
|
Intern |
doFollow |
|
MANIFEST.in
|
Intern |
doFollow |
|
LICENSE file
|
Intern |
doFollow |
|
Installing python-setuptools package
|
Intern |
doFollow |
|
setup.py
|
Intern |
doFollow |
|
Usage of setup.py
|
Intern |
doFollow |
|
Python Package Index (PyPI)
|
Intern |
doFollow |
|
Install from the test PyPI
|
Intern |
doFollow |
|
More readings
|
Intern |
doFollow |
|
Building command line applications with Click
|
Intern |
doFollow |
|
Installation, and development tips
|
Intern |
doFollow |
|
Boolean flags
|
Intern |
doFollow |
|
Same option multiple times
|
Intern |
doFollow |
|
Super fast way to accept password with confirmation
|
Intern |
doFollow |
|
Must have arguments
|
Intern |
doFollow |
|
Simple GUI application development using PyperCard
|
Intern |
doFollow |
|
Installing PyperCard in a virtualenv
|
Intern |
doFollow |
|
Hello World example
|
Intern |
doFollow |
|
Two Cards and a button
|
Intern |
doFollow |
|
Taking simple text input
|
Intern |
doFollow |
|
Check name problem
|
Intern |
doFollow |
|
Check name solution
|
Intern |
doFollow |
|
Introduction to Flask
|
Intern |
doFollow |
|
What is flask?
|
Intern |
doFollow |
|
What are template engines?
|
Intern |
doFollow |
|
A “Hello world” application in flask
|
Intern |
doFollow |
|
Using arguments in Flask
|
Intern |
doFollow |
|
Additional work
|
Intern |
doFollow |
|
pym @ GitHub
|
Extern |
doFollow |
|
Issue Tracker
|
Extern |
doFollow |
|
Show Source
|
Intern |
noFollow |
|
Sphinx
|
Extern |
doFollow |