Digi Python Programming Guide

Digi Python Programming GuideShort Description
This guide introduces the Python programming language by showing how to create and run a simple Python program. It describes how to load and run Python programs onto Digi devices, either through the command-line or Web user interfaces. It reviews Python modules, particularly those modules with Digi-specific behavior. Several sample Python programs are included on the Software and Documentation CD. This guide describes how to run the executable programs and describes program files.

Website: ftp1.digi.com | Filesize: 210kb
No of Page(s): 45

Content
What Is Python?
Python is a dynamic, object-oriented language that can be used for developing a wide range of software applications, from simple programs to more complex embedded applications. It includes extensive libraries and works well with other languages. A true open-source language, Python runs on a wide range of operating systems, such as Windows, Linux/Unix, Mac OS X, OS/2, Amiga, Palm Handhelds, and Nokia mobile phones. Python has also been ported to Java and .NET virtual machines.

Loading Python Programs onto a Digi Device
As demonstrated in the hello.py example, Python programs are loaded onto the Digi device using the Digi web interface page Applications > Python. Program files and modules can be uploaded directly to the Digi device’s file system through this page. However, files can be uploaded one at a time only, and there is no support for directory manipulation. This makes adding entire libraries of modules difficult and adding packages impossible. To address this issue, Digi provides a module called zipimport, allowing collections of modules and packages to be included in a single upload.

Get the file Download here

Related Copyrighted Books
Beginning Python Visualization: Crafting Visual Transformation ScriptsBeginning Python Visualization: Crafting Visual Transformation Scripts
Python Pocket Reference (Pocket Reference (O'Reilly))Python Pocket Reference (Pocket Reference (O’Reilly))
Beginning Python: From Novice to Professional, Second Edition (Beginning from Novice to Professional)Beginning Python: From Novice to Professional, Second Edition (Beginning from Novice to Professional)
Rapid GUI Programming with Python and Qt (Prentice Hall Open Source Software Development)Rapid GUI Programming with Python and Qt (Prentice Hall Open Source Software Development)
Python Scripting for Computational Science (Texts in Computational Science and Engineering)Python Scripting for Computational Science (Texts in Computational Science and Engineering)

AddThis Social Bookmark Button
Related Books:
  • Digi Connect VPN Application Guide
  • Interfacing C/C++ and Python with SWIG
  • Python Tutorial Notes
  • Tutorial on Network Programming with Python
  • Tutorial on Python Curses Programming
  • Tutorial on Threads Programming with Python
  • Artificial Intelligence Programming
  • A brief Python tutorial

  • Related Searches: , , , ,



    Comments

    Leave a Reply