| Articles: |

Taking Advantage of COM with Python
by: Mike Owens
The article will be an introduction to using COM in Python, including what you need to install to get started. Specifically I will cover using a COM component in Python with an example using MSXML. There will be a section on using pyscript, including an example, as well as a section on creating a COM component in Python with an associated example.
|
Python on .NET
by: Brian Quinlan
The term .NET is one of the most overused by Microsoft's marketing group. They describe it in terms of personalizing the user's computing experience or as a means of connecting users, data and devices. The word .NET is associated with the MSN Messenger service and with their online identification system. For the programmer, the .NET Framework is the light at the end of the .NET marketing tunnel. The .NET Framework is a programming environment that provides object-oriented APIs for devices ranging from servers to mobile phones. It consists of two main components: the Common Language Runtime (CLR) and the .NET Framework class library.
The Common Language Runtime is the infrastructure that allows applications written in any language to use the .NET Framework class library. This common infrastructure has allowed Microsoft to merge the previously disparate development environments offered by Visual Basic and Visual C++. Functionally, the CLR provides common data types (integers, floating-point numbers, strings, etc.) and a virtual machine for executing Intermediate Language (IL) assembly. IL assembly is conceptually similar to Java or Python bytecode but was designed to be independent of any particular language.
|
Python at Both Ends of the Web (Part I of II)
by: Michael Foord
Python comes with a rich set of libraries for working with the internet, both as web client and also for creating web-based applications. What can be more of a barrier to exploration, is that these libraries often require a working knowledge of HTTP - the transfer protocol itself. The Python manual doesn't attempt to document the ins and out of HTTP - but unfortunately the documentation it does provide is less clear than could be hoped for. These two articles explore some of the principles of HTTP and how to work with it from within python. First as a client program that fetches webpages and then using the CGI protocol to dynamically create pages. This first article covers subjects like making http requests and server responses, including properly handling errors and some of the popular extension libraries that can assist with common tasks.
|
Simulating with SimPy
by: Dr. Klaus G. Müller
This article describes and illustrates the capabilities of the Open Source
simulation package SimPy which is completely implemented in Python.
Python is a true "broadband language", with an impressively large spectrum
of real world problems which it can address.
SimPy (Simulation in Python) now provides Python users with an additional
problem solving tool, discrete event simulation. SimPy is in use at many
universities, research organizations and in industry for a wide range of
systems engineering activities. Computer simulation has proved its value and
practicality in many areas of activity -- for example, in business process
optimization, military strategy, engineering design, medicine, and
operations planning. It allows the investigation and optimization of
existing or planned complex systems. SimPy provides the system modeler with
key components of a simulation model including processes, for active
components like customers, messages, and vehicles, and resources, for
passive components that form limited capacity congestion points like
servers, checkout counters, and tunnels. Python makes it easy: making use of
inheritance, SimPy can easily be extended, as can models implemented in
SimPy, allowing the development of application libraries and model families.
|
|
| More Articles: |
Click Here: A GUI Testing Approach
by: Fabio Zadrozny & Bruno da Silva de Oliveira
Even though unittesting is now widely accepted, there is one topic that
still brings headaches to many developers:
How to unittest a Graphical User Interface?
In this article, we present concepts, techniques and examples on how to make
unittests for GUIs. A framework
implemented on top of the standard unittest module that comes along with the
official python distribution
is also supplied, which can be used to test PyQt applications. It can also
be easily extended to work with
other GUI toolkits as well.
|
Docutils
by: Ollie Rutherfurd
reStructuredText, is "an easy-to-read, what-you-see-is-what-you-get plaintext markup syntax". This article is an introduction to writing documents in reStructuredText and using Docutils to generate HTML, LaTeX, and PDF from reStructuredText documents.
|
Using Python to create a mobile data collection system
by: Peter Kropf
Python is an extremely versatile programming language. To see just how
versatile, we'll explore using Python to control a Mini-ITX based mobile
data collection system. The system was designed to collect temperature,
latitude / longitude / elevation and video images. The abilities of
Python made it an ideal choice for controlling the system and collecting
the data.
|
| Book Review: |
Dive into Python
by: Samuel Sotillo
A Book Review of Dive into Python.
|
|