- 博客(19)
- 资源 (65)
- 收藏
- 关注
原创 再接上一篇,实现从上到下,从左到右的顺序排序数据(暂时改进到此)
#__*__encoding:utf8__*__import openpyxlfrom pyautocad import Autocad,APointfrom pyhub import pyhubimport sysreload(sys)sys.setdefaultencoding("utf-8")wb=openpyxl.load_workbook("a.xlsx")sheet=w
2017-02-28 00:33:19 2271
原创 接上一篇,改进的实现方法,有缺陷,是从下到上,从左到右的顺序
#__*__encoding:utf8__*__import openpyxlfrom pyautocad import Autocad,APointfrom pyhub import pyhubimport sysreload(sys)sys.setdefaultencoding("utf-8")wb=openpyxl.load_workbook("a.xlsx")sheet=w
2017-02-28 00:08:15 510
原创 夜已芗阑,只实现了3列的数据排序(未完)
import openpyxlfrom pyautocad import Autocad,APointfrom pyhub import pyhubimport sysreload(sys)sys.setdefaultencoding("utf-8")wb=openpyxl.load_workbook("a.xlsx")sheet=wb.get_sheet_by_name("Shee
2017-02-24 23:46:48 331
原创 把自己的独立python模块上传到pypi上去
参考文章 http://blog.csdn.net/crisschan/article/details/51840552http://stackoverflow.com/questions/1569315/setup-py-upload-is-failing-with-upload-failed-401-you-must-be-identified-thttp://stackoverf
2017-02-24 16:11:05 1195 1
原创 android的相关资料
http://sdk.android-studio.org/网址上是android sdk的下载http://www.cnblogs.com/peiyuc/p/3840112.html
2017-02-22 23:17:02 549
原创 取自官方的实例pyautocadline
#!/usr/bin/env python# -*- coding: utf-8 -*-from pyautocad import Autocad, APointacad = Autocad(create_if_not_exists=True)acad.prompt("Hello, Autocad from Python\n")print acad.doc.Namep1 = APo
2017-02-22 17:01:15 2121 4
转载 wine汉字问题
安装tm2008版的qq在ubuntu下稍微稳定,不会一直闹崩溃。而乱码问题需要进行一下配置。http://blog.163.com/gavin168@126/blog/static/1390741142010499583562/新装的wine中文全是乱码,需要修改一下几个配置文件,找到一篇比较详细的配置说明,分享一下:“ wine下中文的配置方案步骤:1. 初始设置运行
2017-02-21 13:55:50 455
原创 ubuntu 16字体安装
把下载的字体复制到/usr/share/fonts/文件夹内。然后 sudo mkfontscale sudo mkfontdir sudo fc-cache -fvhttp://blog.csdn.net/up_com/article/details/51218458当然了也可以直接双击字体,然后点击右上角的intall。即可。http:
2017-02-20 15:07:10 898
原创 gtk3的安装方式
sudo apt-get install libgtk-3-devhttp://askubuntu.com/questions/101306/how-do-i-install-gtk-3-0
2017-02-18 20:30:40 6517
原创 python处理计算机辅助设计软件文字信息并实现排序输出
import openpyxlfrom pyautocad import Autocad,APointimport sysreload(sys)sys.setdefaultencoding("utf-8")wb=openpyxl.load_workbook("a.xlsx")sheet=wb.get_sheet_by_name("Sheet1")data=[]pxy=[]aca
2017-02-16 21:21:48 597 1
原创 python之简单的处理坐标排序问题
上一篇学了列表的冒泡排序算法,这一节利用此算法处理一下坐标排序的问题我实现的功能是从上到下,从左到右的排序坐标点a=[(4,5),(2,4),(3,4),(1,1),(2,5)]print adef zuobiaopaixu(a): b=[] l=len(a) for i in range(l): j=i for j in ra
2017-02-16 20:33:09 7241 1
原创 python简单的列表冒泡排序和反转列表
a=[3,4,6,2,1]print adef sortAndAddNew(list): b=[] l=len(list) for i in range(l): j=i for j in range(l): if (a[i]>a[j]): a[i],a[j]=a[j],a[i]
2017-02-16 20:06:49 1448
原创 php实现简单的分布显示
$page=$_GET["page"]; //计算分布显示 if($page==""){ $page=1; } if(is_numeric($page)){ $page_size=8; $query="select * from tb_d order by id desc"; $result=mysqli_query($conn,$
2017-02-16 10:08:02 461
原创 接pyautocad的实例
import openpyxlfrom pyautocad import Autocad,APointimport sysreload(sys)sys.setdefaultencoding("utf-8")wb=openpyxl.load_workbook("a.xlsx")sheet=wb.get_sheet_by_name("Sheet1")data=[]px=[]py=[]
2017-02-14 01:06:11 3811 1
原创 PyPDF2处理pdf文件的一个例子
import PyPDF2pdff1=open("index2.pdf","rb")pr=PyPDF2.PdfFileReader(pdff1)print pr.numPagespdff2=open("a.pdf","rb")pr2=PyPDF2.PdfFileReader(pdff2)pdf3=open("foot.pdf","rb")pr3=PyPDF2.PdfFileRea
2017-02-13 17:04:27 5091
原创 mysql通过phpmyadmin导入excel表格的数据
参考文章 http://blog.csdn.net/jayxujia123/article/details/13684313@1 把表格的数据保存成 csv(逗号分隔)(*.csv)格式,标题去掉,只留数据内容。@2 我的数据库是utf8格式编码,可以用notepad++打开并转码成utf8格式。@3 然后打开mysql。选择数据库,新建表,表的字段和excel中的字段一一对应 ,
2017-02-11 15:00:49 1190
原创 ubuntu下安装php5.6开发环境sudo apt-get install phpmyadmin sudo apt-get install php-mbstring sudo apt-get
sudo add-apt-repository ppa:ondrej/php参考网站 https://launchpad.net/~ondrej/+archive/ubuntu/php添加php5.6的源,由于ubuntu16没有php5只有php7。然后更新源sudo apt updatesudo apt-get install php5sudo apt-get install
2017-02-07 17:21:46 5535
原创 通过wine安装qq之后出现了不能输入的问题文件不能用
http://download.csdn.net/detail/mengtianwxs/9748654下载上面的两个文件。通过上一篇文章完成了wine环境的安装。拷贝到 .wine/drive_c/windows/system32 目录下修改注册表vi~/.wine/user.reg添加:[Software\\Wine\\DllOverr
2017-02-07 10:59:36 1335
原创 ubuntu下能过wine安装cad快速看图
http://jingyan.baidu.com/article/63acb44ac5984f61fcc17eb9.html参考了上面的网页,安装wine。@1添加wine源。sudo add-apt-repository ppa:ubuntu-wine/ppa@2更新源sudo apt update @3安装winesudo apt-get install win
2017-02-06 17:01:06 2750
blender-2.82a-windows64.7z.001
2021-08-26
vlc-3.0.12-win64.exe
2021-01-22
nethack-366-src.tgz
2020-09-27
nethack-362-src.tgz
2020-09-23
cgoban 1.9.13
2020-09-22
libXp so文件
2017-09-04
sip for python
2016-11-24
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人