码迷,mamicode.com
首页 >  
搜索关键字:tell    ( 578个结果
git Please tell me who you are解决方法
在git创建项目时出现,是因为在创建git文件夹的时候信息不完善导致的下图是正确在git创建项目时出现,是因为在创建git文件夹的时候信息不完善导致的下图是正确1.git init2.git config user.name "someone"3.git config user.email "som ...
分类:其他好文   时间:2018-05-13 15:39:30    阅读次数:1129
I need help !please tell me why !
#My python code product_list =[("iphone,5800"), ("Mac pro,9800"), ("coffee,58"), ("Ibook,50"), ("watch,10800"), ("bike,800"), ] shopping_list = [] sal ...
分类:其他好文   时间:2018-05-10 20:22:02    阅读次数:147
unix下网络编程之I/O复用(一)
什么是I/O复用? What we need is the capability to tell the kernel that we want to be notified if one or more I/O conditions are ready (i.e., input is ready ...
分类:其他好文   时间:2018-04-29 22:40:44    阅读次数:234
python-删除文件的特定行
删除文本文件的特定行defremoveLine(filename,lineno):fro=open(filename,"r",encoding=‘UTF-8‘)current_line=0whilecurrent_line<lineno:fro.readline()current_line+=1seekpoint=fro.tell()frw=open(filename,"r+")frw.se
分类:编程语言   时间:2018-04-28 11:46:35    阅读次数:169
hdu 1798 Tell me the area 几何
Problem Description There are two circles in the plane (shown in the below picture), there is a common area between the two circles. The problem is ea ...
分类:其他好文   时间:2018-04-27 21:04:18    阅读次数:176
OSX 定时任务问题和解决not allowed to access the accessibility
公司定时音乐是用mac mini播放的,之前用的是iTunes,可以使用crontab+命令/usr/bin/osascript -e 'tell application "itunes" to play'定时播放 但是ituns导入音乐还是挺麻烦的,之前也用网易云音乐,但是需要手动启停很麻烦。 某 ...
分类:数据库   时间:2018-04-18 21:15:20    阅读次数:266
文件句柄W模式
f1=open('lo',encoding='utf-8',mode='w')f1.write('w4567')print(f1.tell())f1.close()#tell 告诉指针的位置(按字节)#seek(参数),seek(0,2) 调至最后 按照字节去调整光标的位置 with open('l ...
分类:其他好文   时间:2018-04-17 23:50:29    阅读次数:173
Python——pytessercat识别简单的验证码
什么是验证码 验证码(CAPTCHA)是“Completely Automated Public Turing test to tell Computersand Humans Apart” (全自动区分计算机和人类的图灵测试)的缩写, 是一种区分用户是计算机还是人的公共全自动程序。可以防止:恶意破 ...
分类:编程语言   时间:2018-04-17 22:18:19    阅读次数:835
python学习之文件读写入门(文件读的几种方式比较)
1、文件读写简单实例:(以w写的方式打开一个文件,以r读一个文件) 2、文件写的w和a 简单介绍 3、文件读r的详细使用。文件读的几种方式和优缺点: 4、练习题目 ,实现第九行不打印的两种方式 5、seek(),tell() 介绍和总结: 6、文件的其他函数总结: 7、flush 使用。将内存数据写 ...
分类:编程语言   时间:2018-04-07 13:54:32    阅读次数:202
文件操作的其他方法
f =open('a.txt','r+',encoding='utf-8') print(f.closed) #判断文件是否关闭 print(f.encoding) #获取文件打开的编码,跟原文件以什么编码存的没有任何关系 f.flush() #刷新内容 print(f.tell()) #当前光标位 ...
分类:其他好文   时间:2018-04-04 15:03:43    阅读次数:87
578条   上一页 1 ... 17 18 19 20 21 ... 58 下一页
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!