A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://mail.python.org/pipermail/python-dev/2005-December/058825.html below:

[Python-Dev] Sharing expat instances

[Python-Dev] Sharing expat instances [Python-Dev] Sharing expat instancesFredrik Lundh fredrik at pythonware.com
Thu Dec 15 22:09:39 CET 2005
Trent Mick wrote:

> [Fredrik Lundh wrote]
> > can anyone with a working windows setup look at building the
> > _elementtree module for windows ?
> >
> > (see the setup.py file for build options; it wants the same defines
> > as pyexpat, plus one extra define.).
>
>     C:\trentm\src\python\python\PCbuild>python
>     Python 2.5a0 (#60, Dec 15 2005, 11:17:15) [MSC v.1310 32 bit (Intel)] on win32
>     Type "help", "copyright", "credits" or "license" for more information.
>     >>> from _elementtree import Element, ElementTree
>     >>> root = Element("root")
>     >>> root.append(Element("one"))
>     >>> tree = ElementTree(root)
>     >>> import sys
>     >>> tree.write(sys.stdout)
>     <root><one /></root>>>>

most excellent!

>     C:\trentm\src\python\python\PCbuild>svn st
>     A      _elementtree.vcproj
>     M      pcbuild.sln
>
> Shall I checkin the build changes?

I sure won't stop you.

thanks! /F



More information about the Python-Dev mailing list

RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4