- 博客(3)
- 收藏
- 关注
原创 Python链接oracle
1. 包使用 cx_Oracle2.必须安装oracle客户端代码import cx_Oracledef login_db(): conn = cx_Oracle.connect('system/adi6atl7@10.121.205.26/db1789t') # 连接数据库 c = conn.cursor() # 获取cursor result ...
2019-01-10 10:25:49
433
原创 windows环境下使用python远程登陆linux并返回命令行
实现windows远程登陆linux +输出命令行import paramikodef ssh_command(user, host, portNO,password): # 创建SSH对象 ssh = paramiko.SSHClient() # 允许连接不在know_hosts文件中的主机 ssh.set_missing_host_key_policy...
2019-01-09 11:47:05
390
原创 gettimeofday/settimeofday系统调用的说明(ZZ)
<br /><!-- /* Font Definitions */ @font-face {font-family:宋体; panose-1:2 1 6 0 3 1 1 1 1 1; mso-font-alt:SimSun; mso-font-charset:134; mso-generic-font-family:auto; mso-font-pitch:variable; mso-font-signature:3 680460288 22 0 262145 0;}
2010-09-26 16:25:00
679
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人