![](https://img-blog.csdnimg.cn/20201014180756724.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
Python
Hi_Panda_CRL
这个作者很懒,什么都没留下…
展开
-
Python配置
python2.7 + opencv2.4.111 下载安装python2.7.9 http://www.python.org/getit/2 下载安装 numpy http://sourceforge.net/projects/numpy/files/NumPy/1.6.1/ 注意win32、for python2.73 将 D:\Program Files\o原创 2015-11-12 08:25:45 · 4260 阅读 · 0 评论 -
Python学习笔记(一)--- Matplotlib
from PIL import Image #PIL:python图像处理类库from pylab import * #matplotlib中用来绘制图像的接口#读取图像到数组im = array(Image.open('../data/empire.jpg'))#绘制图像imshow(im)#一些点x = [100, 100, 400, 400]y = [200, 5原创 2015-11-13 08:26:28 · 505 阅读 · 0 评论 -
Upgrade to Python 2.7.9 on Ubuntu 14.04 LTS
Upgrade to Python 2.7.9 on Ubuntu 14.04 LTS, and make your own .deb package for deploymentNeed to run your web app with Python 2.7.9, but server environment uses Ubuntu 14.04 LTS? Don’t replace Py转载 2015-11-17 19:13:57 · 862 阅读 · 0 评论 -
MINIST data set input_data.py
# Copyright 2015 Google Inc. All Rights Reserved.## Licensed under the Apache License, Version 2.0 (the "License");# you may not use this file except in compliance with the License.# You may obtai原创 2015-11-27 09:06:42 · 3891 阅读 · 1 评论 -
Python生成定长格式的字符串
print "\n".join(["n01"+ str(num).rjust(4,'0')+".jpg" for num in range(0, 10)])n010000.jpgn010001.jpgn010002.jpgn010003.jpgn010004.jpgn010005.jpgn010006.jpgn010007.jpgn010008.jpgn01原创 2016-03-31 08:35:43 · 5636 阅读 · 0 评论 -
flask upload file
import osfrom PIL import Imagefrom flask import Flask, request, redirect, url_forfrom werkzeug import secure_filenamefrom flaskext.uploads import (UploadSet, configure_uploads, IMAGES,原创 2016-03-22 08:27:53 · 2938 阅读 · 1 评论 -
linux install ffmpeg
sudo apt-add-repository ppa:mc3man/trusty-mediasudo apt-get updatesudo apt-get install ffmpeg gstreamer0.10-ffmpeg原创 2016-04-30 07:30:03 · 903 阅读 · 0 评论 -
python packages
1.beautifulsoup4pip install beautifulsoup42.mechanizepip install mechanize原创 2016-05-25 09:36:25 · 428 阅读 · 0 评论 -
Python learning
Packages are a way of structuring Python’s module namespace by using “dotted module names”原创 2016-07-21 11:57:15 · 592 阅读 · 0 评论