mirror of
https://github.com/kennethreitz/python-guide.git
synced 2026-06-05 23:00:18 +00:00
better skeleton
This commit is contained in:
@@ -10,9 +10,13 @@ instructions for web development with Flask.
|
||||
|
||||
foreword
|
||||
installation
|
||||
which-python
|
||||
dev-env
|
||||
useful-tools
|
||||
tutorial/index
|
||||
project-structure
|
||||
documentation
|
||||
testing
|
||||
packaging
|
||||
templating
|
||||
testing
|
||||
|
||||
@@ -0,0 +1,53 @@
|
||||
Your Development Environment
|
||||
============================
|
||||
|
||||
Testing your code is very important.
|
||||
|
||||
|
||||
Editors
|
||||
:::::::
|
||||
|
||||
|
||||
Text Editors
|
||||
-------------
|
||||
|
||||
|
||||
|
||||
IDEs
|
||||
----
|
||||
|
||||
|
||||
|
||||
Interpreter Tools
|
||||
:::::::::::::::::
|
||||
|
||||
|
||||
virtualenv
|
||||
----------
|
||||
|
||||
|
||||
virtualenvwrapper
|
||||
-----------------
|
||||
|
||||
|
||||
|
||||
Other Tools
|
||||
:::::::::::
|
||||
|
||||
IPython
|
||||
-------
|
||||
|
||||
::
|
||||
|
||||
$ pip install ipython
|
||||
|
||||
|
||||
|
||||
BPython
|
||||
-------
|
||||
|
||||
::
|
||||
|
||||
$ pip install bpython
|
||||
|
||||
|
||||
@@ -0,0 +1,20 @@
|
||||
Documenting Your Code
|
||||
=====================
|
||||
|
||||
Documenting your code is extremely important. It is debatebly even
|
||||
more important than testing.
|
||||
|
||||
|
||||
The Basics
|
||||
::::::::::
|
||||
|
||||
|
||||
Code Comments
|
||||
-------------
|
||||
|
||||
|
||||
|
||||
Doc Strings
|
||||
-----------
|
||||
|
||||
|
||||
@@ -0,0 +1,31 @@
|
||||
Testing Your Code
|
||||
=====================
|
||||
|
||||
Testing your code is very important.
|
||||
|
||||
|
||||
The Basics
|
||||
::::::::::
|
||||
|
||||
|
||||
Code Comments
|
||||
-------------
|
||||
|
||||
|
||||
|
||||
Doc Strings
|
||||
-----------
|
||||
|
||||
|
||||
Tools
|
||||
:::::
|
||||
|
||||
|
||||
Unittest2
|
||||
---------
|
||||
|
||||
|
||||
tox
|
||||
---
|
||||
|
||||
|
||||
@@ -1,18 +0,0 @@
|
||||
Useful Tools
|
||||
============
|
||||
|
||||
IPython
|
||||
-------
|
||||
|
||||
::
|
||||
|
||||
$ pip install ipython
|
||||
|
||||
|
||||
|
||||
BPython
|
||||
-------
|
||||
|
||||
::
|
||||
|
||||
$ pip install bpython
|
||||
@@ -0,0 +1,25 @@
|
||||
Picking an Interpreter
|
||||
======================
|
||||
|
||||
Which Python to use?
|
||||
|
||||
|
||||
2.x vs 3.x
|
||||
::::::::::
|
||||
|
||||
|
||||
|
||||
History
|
||||
-------
|
||||
|
||||
|
||||
|
||||
Today
|
||||
-----
|
||||
|
||||
Use 2.7.
|
||||
|
||||
|
||||
|
||||
Which Python to Support?
|
||||
::::::::::::::::::::::::
|
||||
Reference in New Issue
Block a user