
Python
文章平均质量分 87
ncgege
这个作者很懒,什么都没留下…
展开
-
python3.4标准库介绍
Python里面有许多成熟方便的库,本文是散仙的一个简单翻译官方文档的一个目录列表,方便查阅python里面得各种服务,由于水平有限,如果有什么不对的地方,大家可以指正出来,共同学习 Python3.4内置类型 1,真值测试 2,bool操作符and,or,not 3,比较符,>=,==,!-,is,isnot 4, 数值类型,int,float,comple原创 2016-02-24 11:44:45 · 2491 阅读 · 0 评论 -
Python管理Windows进程
Python管理Windows进程转载 2016-12-31 21:44:41 · 10587 阅读 · 0 评论 -
今天发现python windows运行正常,linux下异常
python 定时读excel并存入mysql原创 2016-11-11 23:31:50 · 6355 阅读 · 0 评论 -
python3.5.2链接mysql
python3.5.2链接mysql原创 2016-11-10 17:45:50 · 1518 阅读 · 0 评论 -
centos python升级及easy_install安装模块
centos,linux python3.5 easy_install转载 2016-11-09 14:28:39 · 2135 阅读 · 0 评论 -
PySNMP学习笔记(二)
原文地址:PySNMP学习笔记(二)作者:MichaelLing83关于getCmd的返回值。The varBinds is a tuple of Managed Objects. Managed Objects found in response are position-bound to Managed Object names passed in request. Each Manag...转载 2016-02-24 11:45:19 · 1642 阅读 · 0 评论 -
华为9306 snmp OID
snmp2_get("118.88.32.243", "xajhrw", "DISMAN-EVENT-MIB::sysUpTimeInstance"); 取得运行时间 snmp2_get("118.88.32.243", "xajhrwx", "SNMPv2-MIB::sysDescr.0"); 取得系统信息 snmp2_get("118.88.32.243&qu原创 2016-02-24 11:45:05 · 3494 阅读 · 1 评论 -
python程序的调试方法
【转自:http://blog.youkuaiyun.com/luckeryin/article/details/4477233】本文讨论在没有方便的IDE工具可用的情况下,使用pdb调试python程序源码例子例如,有模拟税收计算的程序:#!/usr/bin/python def debug_demo(val): if val原创 2016-02-24 11:45:00 · 550 阅读 · 0 评论 -
python 3.4.2 telnetlib
python 3.4.2 telnetlib— Telnet client¶Source code: Lib/telnetlib.pyThe telnetlibmodule provides a Telnetclass that implements the Telnet protocol.See RFC854 for details about the prot原创 2016-02-24 11:44:54 · 5338 阅读 · 0 评论 -
python异常处理体系
Python的异常处理能力是很强大的,可向用户准确反馈出错信息。本文将对Python异常处理体系进行简单介绍。Python内建异常体系结构The class hierarchy for built-in exceptions is:BaseException+-- SystemExit+-- KeyboardInterrupt+-- GeneratorExit+-- Exc原创 2016-02-24 11:44:50 · 545 阅读 · 0 评论 -
利用百度AI及ffmpeg进行英语媒体自动转译
准备工作:1.首先在百度注册账号(https://ai.baidu.com),并申请创建一个asr应用,这样你才有appid ,api_key, secret_ke2.下载安装ffmpeg ,下载网址http://ffmpeg.org/download.html特别注意要下载安装包,里面有3个exe文件,ffmpeg.exe,ffplay.exe,ffprobe.exe,记住不要少,要...原创 2019-09-30 16:33:50 · 728 阅读 · 0 评论