Tony Tan tonytan748.github.io
1.

IPython Notebook Introduction 1

This article will introduce some base usage for ipython notebook. IPython Notebook使用浏览器作为界面,向后台的IPython服务器发送请求,并显示结果。在浏览器的界面中使用单元(Cell)保存各种信息。Cell有多种类型,经常使用的有表示格式化文本的Markdown单元,...
2.

Creating Volcano Maps with Pandas and the Matplotlib Basemap Toolkit

Creating Volcano Maps with Pandas and the Matplotlib Basemap Toolkit Transfer from http://ramiro.org/notebook/mapping-volcanoes/ IntroductionThis notebook walks through the proc...
3.

Tornado Web Framework 2

Tornado Web Framework 2 Form and Module 文章转自这里 在第一章中,我们学习了使用Tornado创建一个Web应用的基础知识。包括处理函数、HTTP方法以及Tornado框架的总体结构。在这章中,我们将学习一些你在创建Web应用时经常会用到的更强大的功能。 和大多数Web框架一样,Tornado的一个重要目标就是帮...
4.

Some Python userful functions

use Glob() to find files Many python functions have a long and descriptly name, but maybe you dont know the namespace of glob() functions unless you understand it.It’s like a ...
5.

Tornado Web Framework 1

Tornado Web Framework 1 文章转自这里 在过去的五年里,Web开发人员的可用工具实现了跨越式地增长。当技术专家不断推动极限,使Web应用无处不在时,我们也不得不升级我们的工具、创建框架以保证构建更好的应用。我们希望能够使用新的工具,方便我们写出更加整洁、可维护的代码,使部署到世界各地的用户时拥有高效的可扩展性。 这就让我们谈论到T...
6.

The Samplest Django Project

Create a Django project in a python file project_name.py 12345678910111213141516171819202122232425262728import osimport sysBASE_PATH = os.path.dirname(__file__)from django.conf ...
7.

Python修饰器的函数式编程

本文转自”http://coolshell.cn/articles/11265.html" Python的修饰器的英文名叫Decorator,当你看到这个英文名的时候,你可能会把其跟Design Pattern里的Decorator搞混了,其实这是完全不同的两个东西。虽然好像,他们要干的事都很相似——都是想要对一个已有的模块做一些“修饰工作”...
8.

Use Cron & Crontab to run schedule tasks

In Ubuntu use Cron and Crontab to Run Schedule Tasks Open/Close/Restart Cron in UbuntuConfig file usurally is /etc/init.d/cron Start: 1sudo /etc/init.d/cron start Close: 1sudo ...
9.

How to install Celery on Django and create a periodic task

How to install Celery on Django and create a periodic task Celery 3.1.19 and Django 1.8.7.This post explains how to set up Celery with Django, using RabbitMQ as a message broker...
10.

PIP Guide

PIP Guide ###目录 前言 获取pip2.1. 脚本安装pip2.2. 使用包管理软件安装2.3. 更新pip pip基本使用3.1. 安装PyPI软件3.2. 查看具体安装文件3.3. 查看哪些软件需要更新3.4. 升级软件包3.5. 卸载软件包 pip简明手册4.1. 安装具体版本软件4.2. Requirements文件安装依赖软件4...