摘要: 细心的人会发现,光盘总是有个autorun.inf文件,这个就是自动运行的配置文件。[AUTORUN] OPEN=auto.exe如果要运行html,可以这么做:[AUTORUN] OPEN=c:\progra~1\intern~1\Iexplore file:///d:\win98\index.html 如果不给出iexplore的绝对路径好象不执行!index.html如果不给出绝对路径则执行结果为http://index.html,无法正确定位index.html!或者:[autorun]shellexecute=index.html另外执行多个程序,小笔暂时只能想到调用bat方式了.. 阅读全文
posted @ 2012-08-17 14:09 Daniel大东 阅读(383) 评论(0) 推荐(0)
摘要: 可以把自己的模块路径给加到当前模块扫描的路径里,可以避免因为找不到模块而报错。 sys.path.append('你的模块的名称')1 import sys 2 sys.path.append('f:\\python\works') 阅读全文
posted @ 2012-08-17 11:51 Daniel大东 阅读(1221) 评论(0) 推荐(0)