![](https://img-blog.csdnimg.cn/20201014180756925.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
Python
dazuo01
这个作者很懒,什么都没留下…
展开
-
用Python 找最长子串
题目选自edX公开课 MITx: 6.00.1x Introduction to Computer Science and Programming 课程 Week2 的Problem Set 1的第三题。下面是原题内容。Assume s is a string of lower case characters.Write a program that prints the long原创 2014-03-02 12:05:52 · 2614 阅读 · 0 评论 -
Python 读取txt文件中的数据并绘制出图形
下面的是某一文本文件中的数据。6.1101,17.5925.5277,9.13028.5186,13.6627.0032,11.8545.8598,6.82338.3829,11.8867.4764,4.34838.5781,126.4862,6.59875.0546,3.81665.7107,3.252214.164,15.5055.734原创 2014-03-09 14:28:10 · 37206 阅读 · 5 评论 -
Python脚本实现windows下文件的备份
#!/usr/bin/python# -*- coding: cp936 -*-import osimport timesource = ['E:\\'] # 待备份文件在E盘根目录下running = Truewhile running: your_source = raw_input("Your own path or your own file path:")原创 2014-06-11 20:32:27 · 2380 阅读 · 0 评论