- lxml - Pythonic binding for the C libraries libxml2 and libxslt.
- boto - Python interface to Amazon Web Services
- Django - Django is a high-level Python Web framework that encourages rapid development and clean, pragmatic design.
- Fabric - Library and command-line tool for streamlining the use of SSH for application deployment or systems administration task.
- PyMongo - Tools for working with MongoDB, and is the recommended way to work with MongoDB from Python.
- Celery - Task queue to distribute work across threads or machines.
- pytz - pytz brings the Olson tz database into Python. This library allows accurate and cross platform timezone calculations using Python 2.4 or higher.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
货币的冻结性,是每一个货币系统的 property | |
BTC[货币的冻结性] => nil | |
这是没问题的。 | |
普通民众要不要买 BTC 是另一个话题。 | |
谁给 BTC 背书是另一个话题。 | |
谁给美元背书是另一个话题。 | |
谁给卢布背书是另一个话题。 | |
论苏联解体对卢布价值的影响是另一个话题。 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Seize the Finder path into shell. | |
cdf() { | |
cd "$(osascript -e 'tell app "Finder" to POSIX path of (insertion location as alias)')" | |
} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// Use Gists to store code you would like to remember later on | |
console.log(window); // log the "window" object to the console |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#find primes using a for-else construct | |
for maxn in range(2, 100): # back here <- | |
x_range = range(2, maxn) | |
for i in x_range: # Start CheckProcess | |
if maxn % i == 0: | |
break # find the check-divisor i,drop maxn, End CheckProcess goback -> |