自定义博客皮肤VIP专享

*博客头图:

格式为PNG、JPG,宽度*高度大于1920*100像素,不超过2MB,主视觉建议放在右侧,请参照线上博客头图

请上传大于1920*100像素的图片!

博客底图:

图片格式为PNG、JPG,不超过1MB,可上下左右平铺至整个背景

栏目图:

图片格式为PNG、JPG,图片宽度*高度为300*38像素,不超过0.5MB

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

-+
  • 博客(8)
  • 收藏
  • 关注

转载 批量图片转换成bmp格式

将png,jpg,gif等图片格式转换成bmp格式 代码如下: import Image ##im = Image.open('BtnWrite.Image.gif') ##im.save('BtnWrite.Image.bmp') ## import os extension = ['.bmp'] listfile = os.listdir(os.getcwd(...

2015-03-30 10:29:00 401

转载 strCmp(str1,str2)自己写的字符串比较函数

def strCmp(s1,s2): aLi = list(s1) bLi = list(s2) alen = len(s1) blen = len(s2) if alen > blen: lenth = blen else: lenth = alen for x in r...

2015-03-25 09:51:00 579

转载 python中的字典序

>>> s = ['ta','ad','at','At','eg'] >>> sorted(s) ['At', 'ad', 'at', 'eg', 'ta'] >>> #python中的字符串排序,按字典序 转载于:https://www.cnblogs.com/kirsten/p/4353976.html...

2015-03-20 16:26:00 289

转载 strncpy(char* s1,const char *s2,int n) 和 strchr(cosnt char *s,char c)

1 #include<stdio.h> 2 #include<string.h> 3 int main() 4 { 5 char s1[10] = "abcd"; 6 char s2[10] = "ABCDEF"; 7 printf("s1 = %s\ns2 = %s\n",s1,s2); 8 ...

2015-03-20 13:41:00 272

转载 linux中C语言编程chdir函数

chdir函数改变目录后仅仅对当前进程有效,shell退出之后还是会回到原来的目录。 转载于:https://www.cnblogs.com/kirsten/p/3468376.html

2013-12-10 22:45:00 579

转载 vmware8.0中linux的联网问题

首先,保证vmware的相关进程已经启动,如:vmware-dhcp,vmware-nat等; 其次,vmware的虚拟网卡的地址为自动分配,vmware中的联网方式为nat; 最后,请本地网络共享给虚拟网卡8。 转载于:https://www.cnblogs.com/kirsten/archive/2013/05/05/3061717.html...

2013-05-05 22:22:00 72

转载 《core python programming 》第二十三章的习题的部分解答,自己做的,错误肯定难免的...

23-1. Web Services. Take the Yahoo! stock quote example (stock.py) and change the application to save the quote data to a file instead of displaying it to the screen.Optional: You may change the ...

2013-05-05 20:07:00 107

转载 博客园开张了,以后多多耕耘

从大一到大三,学习中好多的东西都没记录下来,当回顾以前的工作时,发现做的东西都好陌生,现在开始一点一点的做好文档工作,加油! 转载于:https://www.cnblogs.com/kirsten/archive/2013/05/05/welcome_to_blog.html...

2013-05-05 19:54:00 85

空空如也

空空如也

TA创建的收藏夹 TA关注的收藏夹

TA关注的人

提示
确定要删除当前文章?
取消 删除