這邊用 Miniconda,選擇 Python 3.5 Windows 64-bit。
安裝 Anaconda 一樣沒有問題,兩個裡面是一樣的, 只是 Anaconda 預設下載了很多常用套件。
開一個 Command Prompt (Win+R -> cmd + [Enter]) 輸入 conda
這邊用 Miniconda,選擇 Python 3.5 Windows 64-bit。
安裝 Anaconda 一樣沒有問題,兩個裡面是一樣的, 只是 Anaconda 預設下載了很多常用套件。
開一個 Command Prompt (Win+R -> cmd + [Enter]) 輸入 conda
import time | |
import concurrent.futures | |
import rx | |
num_stream = [1, 2, 3, 4, 5] | |
def heavy_work(data): | |
time.sleep(1) | |
return data |
(by @andrestaltz)
If you prefer to watch video tutorials with live-coding, then check out this series I recorded with the same contents as in this article: Egghead.io - Introduction to Reactive Programming.
from flask import Flask, render_template | |
from flask.ext.wtf import Form, widgets, SelectMultipleField | |
SECRET_KEY = 'development' | |
app = Flask(__name__) | |
app.config.from_object(__name__) | |
class MultiCheckboxField(SelectMultipleField): | |
widget = widgets.ListWidget(prefix_label=False) |
from deployment.cuisine import * | |
from fabric.api import * | |
from fabric.context_managers import * | |
from fabric.utils import puts | |
from fabric.colors import red, green | |
import simplejson | |
import os |