标签:manage compile pat otl ping zip odi pytho ebs
#encoding:utf-8
import random
from io import StringIO
from io import open
from io import BytesIO
import string
import calendar
import warnings
import math
from math import log, sqrt,exp
from math import cos, log
from random import gauss,seed
import decimal
from decimal import Decimal
from datetime import datetime
import datetime as dt
###############################
import socket #
import multiprocessing as mp
import smtplib # email read
import imapclient # need installing send email
import ftplib
import httplib2
import urllib
import win32gui
import pyautogui
import re # 引用正则表达式
import bs4, requests # should install lib
import urllib.request # 引用 urllib
from urllib.request import urlopen
import webbrowser # comes by library when installing python
# data= webbrowser.open(‘www.baidu.com‘) #open one website.
from urllib.request import urlopen
import unittest # unit test
from selenium import webdriver # import selenium
import csv
from zipfile import ZipFile
import xlrd,xlwt
import xlsxwriter
import pickle
import sqlite3 as sq3
from sqlite3 import dbapi2 as sqlites
# ! read docx, carry when install python
# import pyzmail # need installing
import openpyxl, pprint
import openpyxl as oxl # need installing
wb = openpyxl.load_workbook(‘example.xlsx‘)
type(wb)
# ! read csv, pdf
from pdfminer.layout import LAParams
from pdfminer.converter import TextConverter
from pdfminer.pdfinterp import PDFResourceManager, process_pdf
######################################
from pymc.distribution.timeseries import GaussianRandomWalk
‘‘‘
import this # easter egg and print automatically.
‘‘‘
‘‘‘
#read one page and print to console
from urllib.request import urlopen
#TextPage =urlopen("http://www.pythonscraping.com/pages/warandpeace/chapter1.txt")
TextPage =urlopen("http://www.baidu.com")
print(TextPage.read())
‘‘‘
from urllib import urlretrieve
import numpy as np
import pandas as pd
import pandas.io.sql as pd
import pandas.io.data as web
import tables as tb
#install cpython
import matplotlib as mpl
import matplotlib.pyplot as plt
import matplotlib.finance as mpf
from matplotlib.patches import Polygon
import ipython_genutils
from IPython.display import HTML
from scipy import stats
import scipy.optimize as sco
from copy import deepcopy
import itertools
import pyximport #cpython C compile
from nested_loop import c_py
from numbapro.cudalib import curand
#install pycuda
import scipy.interpolate as spi
import scipy.integrate as sci
from mpl_toolkits.mplot3d import Axes3D
import statsmodels.api as sm
import traits.api as trapi
import traitsui.api as trui
import bokeh.plotting as bp
from bokeh.objects import Glyph
from flask import Flask, request,session,g,redirect ,url_for,abort,\
render_template,flash
from jinja2 import Template
from vol_pricing_formula import calculate_option_value
from werkzeug.wrappers import Request,Response
from werkzeug.serving import run_simple
from vol_pricing_service import get_option_value
import pymc as pm
import zipline
import pytz
标签:manage compile pat otl ping zip odi pytho ebs
原文地址:http://www.cnblogs.com/albertzz1987/p/6341249.html