Development Tools Python scripts - Top 4 Download

Development Tools Python script downloads

Using MSHTML to Parse HTML

MSHTML is the COM component used by Internet Explorer to parse HTML pages (since version 4 of IE). This script shows you how to use this component independently of IE. ...
Python

Proposal For winreg

This module provides an advanced, easy-to-use API for accessing and mutating the Microsoft Windows Registry. ...
Python

Unroll a sequence into an HTML unordered list

This script simply takes a single-dimension sequence and converts into into an HTML unordered list. This function makes it simple to present the contents of a sequence on the web in an neat fashion. ...
Python

xmlreader

This script reads an xml file into a python dictionary of dictionaries (repeated elements are read in as lists). It works with repeating elements without having to specify the multiple attribute. ...
Python

Remove whitespace from an XML DOM

When creating a DOM from an XML source, XML parsers are required to consider several conditions when deciding whether to include whitespace-only text nodes. This function ignores all of those conditions and removes all whitespace-only text descendants of the specified node. If the unlink flag is specified, the removed text nodes ...
Python

HTML Templates Script

This script consists of two classes usable for managing html templates, applicable to output from a CGI. ...
Python

ElementTree Text Helper

This script solves the "tail-problem" for prose-oriented XML. It recursively pulls text out of elements and their sub-elements and extracts text from DocBook, XMHTL, and other nested XML markup. ...
Python

Support for the in operator

This script adds support for the "in" operator to the attributes map of minidom elements. When you parse XML using minidom, you can get a map of attributes for any element. The problem is that using the "in" operator on this map will raise an exception and this script will fix ...
Python

IDLEfork

IDLEfork project was an official experimental development fork of Python's small, light, 'bundled' integrated development environment, IDLE.The objective was to develop a version of IDLE which had an execution environment which could be initialized prior to each run of user code.  ...
Python

Validating XML with External DTDs using xmlproc

PyXML is a useful package for parsing XML. The xmlval and xmldtd modules let you validate XML docs against an external DTD file. This is a simple, straightforward script that illustrates how to use the xmlval and xmldtd modules for validated XML parsing. ...
Python

makeExe

This is a simple Python script that allows you to automate the creation of Python executables using py2exe. ...
Python

pyArchive

This script allows you to run a Windows backup utility, with remote copy, and auto cleanup. It uses zip libs. It could be used in a production network environment and works very well dumping both target files and remote target files over the network so you are not limited to saving ...
Python

Simple XML serlializer de serializer

This script presents a way of serializing & de-serializing XML using the marshal module. The XML is converted to an equivalent Python dictionary first, which is marshaled to serialize it. De-serialization first unmarshals the dictionary from the file, and constructs the original XML. ...
Python

Ljopml

This is a Python script to generate the OPML feed of your LiveJournal Friends list. ...
Python

Align XML ElementTrees with original text

Often when a program adds some XML markup to a plain-text document, it doesn't retain the original whitespace formatting. This script determines the character offsets the XML elements should have had in the original document. ...
Python

Refreshing the Windows Desktop

Refreshing the Windows Desktop script rewrites a to-do list on the Windows Active Desktop and then refreshes the display. ...
Python

Using the SAX2 LexicalHandler Interface

This code shows how to use the relatively unknown LexicalHandler interface, which is an extension to the standard SAX2 interfaces like ContentHandler. ...
Python

xml2obj

xml2obj is a generic script that allows you to convert xml into objects. ...
Python

MarkupString

This script contains a subclass of String that allows simple handling of simple XML markup. The goal here is to allow a slice of a python markup string to "do the right thing" and preserve formatting correctly. In other words, MarkupString(Hello World)[6:] = "World". ...
Python