• AD内电层与内电层分割教程

    AD内电层与内电层分割教程,用Altium Designer软件设计四层板以上多层板内电层分割方法

    0
    135
    895KB
    2015-10-24
    14
  • Duplicate__Net__Names__Wire解决办法

    Altium Desiigner Duplicate Net Names Wire XXX的终极解决办法 Multiple Top Level Documents

    5
    3845
    15KB
    2015-10-24
    41
  • tmp75具有两线制接口的数字温度传感器TI.

    tmp75具有两线制接口的数字温度传感器TI.TI公司的数字温度传感器

    0
    168
    935KB
    2015-10-24
    9
  • txb0104具有自动方向感应和15kV ESD 保护的 4 位双向电压电平转换器

    电平自动方向转换 电平电压切换,用于1.8v转3.3v转5v等数字信号电平,隔离和ESD保护。

    0
    551
    1.32MB
    2015-10-24
    50
  • 电平自动方向转换 电平电压切换

    电平自动方向转换 电平电压切换,用于1.8v转3.3v转5v等数字信号电平,隔离和ESD保护。

    0
    59
    1.32MB
    2015-10-24
    50
  • 关于digi的python 文档资料汇总整理

    开发物联网网关必备,参考学些。 Digi Python Resource page This article is not meant to answer python questions per se, but to instead point our customers to some of the places where those answers can be found. As such, it is an article of useful links for the aspiring or adept python developer, who wishes to develop in a Digi python world.

    0
    0
    684KB
    2014-04-11
    0
  • 实例教程1小时学会Python

    实例教程:1小时学会Python 1 序言 面向读者 本文适合有经验的程序员尽快进入Python2.x世界.特别地,如果你掌握Java和Javascript,不用1小时你就可以用Python快速流畅地写有用的Python程序. Python3.x用户请参考:http://www.cnitblog.com/yunshichen/archive/2009/04/01/55924.html (由于Django不支持python3, 所以为了你的发展潜力, 建议你学习python2.x) 为什么使用Python 假设我们有这么一项任务:简单测试局域网中的电脑是否连通.这些电脑的ip范围从192.168.0.101到192.168.0.200. 思路:用shell编程.(Linux通常是bash而Windows是批处理脚本).例如,在Windows上用ping ip 的命令依次测试各个机器并得到控制台输出.由于ping通的时候控制台文本通常是"Reply from ... " 而不通的时候文本是"time out ... " ,所以,在结果中进行字符串查找,即可知道该机器是否连通. 实现:Java代码如下: String cmd="cmd.exe ping "; String ipprefix="192.168.10."; int begin=101; int end=200; Process p=null; for(int i=begin;i<end;i++){ p= Runtime.getRuntime().exec(cmd+i); String line = null; BufferedReader reader = new BufferedReader(new InputStreamReader(p.getInputStream())); while((line = reader.readLine()) != null) { //Handling line , may logs it. } reader.close(); p.destroy(); } 这段代码运行得很好,问题是为了运行这段代码,你还需要做一些额外的工作.这些额外的工作包括: • 编写一个类文件 • 编写一个main方法 • 将之编译成字节代码 • 由于字节代码不能直接运行,你需要再写个小小的bat或者bash脚本来运行. 当然,用C/C++同样能完成这项工作.但C/C++不是跨平台语言.在这个足够简单的例子中也许看不出C/C++和Java实现的区别,但在一些更为复杂的场景,比如要将连通与否的信息记录到网络数据库.由于Linux和Windows的网络接口实现方式不同,你不得不写两个函数的版本.用Java就没有这样的顾虑.

    0
    87
    76KB
    2014-04-11
    5
  • Python参考手册

    Python is an extensible, interpreted, object-oriented programming language. It supports a wide range of applications, from simple text processing scripts to interactive Web browsers. Python 是一种可扩展的, 即译式, 面向对象规格的编程语言. 它能应用在极广泛的地方, 从简单的文字处理 工作到交互式的网页浏览器. While the Python Reference Manual describes the exact syntax and semantics of the language, it does not describe the standard library that is distributed with the language, and which greatly enhances its immediate usability. This library contains built-in modules (written in C) that provide access to system functionality such as file I/O that would otherwise be inaccessible to Python programmers, as well as modules written in Python that provide standardized solutions for many problems that occur in everyday programming. Some of these modules are explicitly designed to encourage and enhance the portability of Python programs. Python 语言参考手册中精确地描述了Python 语言的句法及语义. 然而语言参考手册中没有提到Python 所 附带功能强大的标准库. 这个函式库大大地增强了Python 的实用性. 其中包括C 写的内建模组, 提供介面 让程式进行操作系统层次的工作, 例如档案的输出输入; 同时也有以Python 语言本身编写的模组, 为实际 编程时常遇的问题提供标准解决方案. 这类模组有的经过特别设计以便Python 程式在跨平台的情况下运 行无误. This library reference manual documents Python’s standard library, as well as many optional library modules (which may or may not be available, depending on whether the underlying platform supports them and on the configuration choices made at compile time). It also documents the standard types of the language and its built-in functions and exceptions, many of which are not or incompletely documented in the Reference Manual. 本参考手册罗列并说明了Python 标准库的各种功能, 以及许多非核心的模组(按不同的操作系统和编译时 的设置而定, 不是每台机上的Python 都能用这些模组.) 本手册同时记载了Python 语言所有的标准数据类 型, 内建函数, 异常类, 这些在参考手册中被忽略了或只是扼要的提过一下. This manual assumes basic knowledge about the Python language. For an informal introduction to Python, see the Python Tutorial; the Python Reference Manual remains the highest authority on syntactic and semantic questions. Finally, the manual entitled Extending and Embedding the Python Interpreter describes how to add new extensions to Python and how to embed it in other applications. 本手册的读者要对Python 有基本的认识. 初学者应该从Python 指南开始. 至于Python 语言参考手册则是 该语言的语法和语义问题上的权威阐释. 最后扩展或嵌入Python 解释器一文解说了如何在Python 中加入 新的扩展模组; 以及怎样把Python 解释器嵌入到其他的应用程式中.

    0
    119
    99KB
    2014-04-11
    10
  • Python_Programmers_Guide digi

    digi python开发必备必看。 Contents Purpose of this Guide.......................................................................................................... 4 What Is Python?.................................................................................................................. 4 Additional Python Documentation ..................................................................................... 4 Getting Started .................................................................................................................... 5 First Program: “Hello, World!” ...................................................................................... 5 Python Commands in the Digi Command-Line Interface .................................................. 6 python ............................................................................................................................. 6 set python........................................................................................................................ 7 Loading Python Programs onto a Digi Device ................................................................... 8 Using modulefinder.py to Determine Files to Load ....................................................... 8 Using digi_build_zip.py to Automatically Build a zip File............................................ 9 Recommended Distribution of Python Interpreter............................................................ 10 Python Module Reference................................................................................................. 10 Fully Supported Python Built-In Modules.................................................................... 10 Python Modules with Digi-Specific Behavior.............................................................. 10 os.............................................................................................................................. 11 random ...................................................................................................................... 12 re ............................................................................................................................... 12 socket ........................................................................................................................ 12 termios....................................................................................................................... 22 thread and threading.................................................................................................. 24 time ........................................................................................................................... 24 xbee_sensor............................................................................................................... 25 zigbee ........................................................................................................................ 30 File System Access ....................................................................................................... 32 Sample Programs .............................................................................................................. 33 GPS Demo .................................................................................................................... 33 Run the GPS Demo................................................................................................... 33 Files in GPS demo .................................................................................................... 34 Port Sharing Demo........................................................................................................ 36 Run the port sharing demo........................................................................................ 36

    0
    64
    211KB
    2014-04-11
    10
  • Mod_Python_3.2.8中文手册

    第一章 简介 1.1性能 使用mod_python的主要优势在于比传统CGI更高的性能。一个测试,使用在Pentium 1.2GHz的机器上运行Red Hat Linux 7.3。使用4种类型的脚本,基于标准的CGI导入模块(以典型的Python CGI脚本开始),然后输出'Hello!',测试10000次请求作为基准。 标准CGI: 23 次请求/秒 mod_python CGI处理器: 385 次请求/秒 mod_python 发布处理器: 476 次请求/秒 mod_python 处理器: 1203 次请求/秒 1.2可移植性 apache是按照阶段处理请求的(比如:读取请求、处理请求头、检查存取等)。这些阶段可以分别用处理器调用的函数来实现。传统上,使用C语言编写处理器模块。mod_python提供了使用Python拜你些apache处理器扩展apache功能的方法。更多的apache请求处理过程,参考"Apache API Notes",或者参考"Mod_python-Integrating Python with Apache"文件。 为了方便的从CGI移植,标准的mod_python处理器提供了CGI模拟环境,允许用户不修改遗留下来的脚本,而在大多数时候无需进行任何修改。

    0
    34
    226KB
    2014-04-11
    3
  • 分享宗师

    成功上传21个资源即可获取
关注 私信
上传资源赚积分or赚钱