要5分,不多吧。授人以鱼不如授人以渔。以后我编译了就自己用,不再发布了,时间有点点不够用。网络也不是现成的。 有问题写邮件到 rubble@126.com 开始是用修改源文件的方法实现“使用任何字体”的功能的,后来发现打开一个编译选项就可以了。但是用 vc++ 2008 express 编译时,要注意修改一下 gui_w48.c,把里面的 #ifdef OPENFILENAME_SIZE_VERSION_400 /* be compatible with Windows NT 4.0 */ f
本文实例讲述了python自动zip压缩目录的方法。分享给大家供大家参考。具体实现方法如下:
这段代码来压缩数据库备份文件,没有使用python内置的zip模块,而是使用了zip.exe文件
# Hello, this scr ipt is written in Python - http://www.python.org
#
# autozip.py 1.0p
#
# This scr ipt will scan a directory (and its subdirectories)
#
本文实例讲述了python实现备份目录的方法。分享给大家供大家参考。具体如下:
备份脚本1:
#!/usr/bin/python
# Filename: backup_ver1.py
import os
import time
# 1. The files and directories to be backed up are specified in a list.
source = ['/home/swaroop/byte', '/home/swaroop/bin']
# If you a