Python通过ctypes调用windows api函数ShellExecute,ctypesshellexecute,[Python]代码#!
Python通过ctypes调用windows api函数ShellExecute,ctypesshellexecute,[Python]代码#!
[Python]代码
#!c:/python27/python.exe#-*- coding:utf-8 -*-"执行程序"import ctypes;handler = None;operator = "open";fpath = r"D:\Program Files\TTPlayer\TTPlayer.exe";param = None;dirpath = None;ncmd = 1;shell32 = ctypes.windll.LoadLibrary("shell32.dll");shell32.ShellExecuteA(handler,operator,fpath,param,dirpath,ncmd);
相关内容
- 同一库中,表结构类似的两个表的数据复制,结构,同一
- secure crt 脚本,securecrt,#$language =
- e-hentai抓取图片第二版,,[Python]代码im
- 输出乘法表到excel,输出乘法表excel,[Python]代码im
- python 基础学习第二弹:类属性和实例属性,python实例
- 淘宝面试题猜数字游戏,淘宝试题猜数字,guess.py#!/u
- darkBing SQL扫描器0.1,darkbing扫描器0.1,[Python]代码#!
- 深度优先遍历嵌套容器,深度历嵌套容器,[Python]代码
- mysql基本操作类,mysql基本操作,db.pyimport
- Python脚本写的命令行下的词典,python脚本,#!/usr/bin/e
评论关闭