| Who | When |
Messages | |
(not accepting new messages)
|
|
Fredrik Lundh
|
86
|
 |
|
10-10-2004 18:25 UTC
|
|
Edited by author 10-10-2004 22:20
Can you start python itself from the command line? What are sys.prefix and sys.executable set to? Nevermind. There seems to be an issue with exemaker and Python 2.3, at least when the Python DLL is installed in the Windows system32 directory. Stay tuned.
I just posted a 1.1 release, which should fix this problem.
|
midtoad
|
87
|
 |
|
10-10-2004 23:15 UTC
|
|
re exemaker and site:
Indeed, your latest version, dated today, Works For Me (c) under Python 2.3. Handy utility, by the way!
thanks Stewart Midwinter
|
| Fredrik Nehr
|
88
|
 |
|
29-10-2004 12:00 UTC
|
|
Hi Fredrik,
You have tried Keyhole (www.keyhole.com), right!? Cool application.
/Fredrik
|
| Andrew Dalke
|
89
|
 |
|
07-11-2004 16:08 UTC
|
|
It isn't quite fair to compare the 1st stage Saturn V with the thrust of SMART-1 itself. The latter was boosted into Earth orbit with a Ariane 5 rocket which has a thrust of 745 tons (115 from the main engine and 630 from the boosters, says http://www.esa.int/SPECIALS/Launchers_Acce.../ASEVLU0TCNC_0.html ) or 7.6 MN. That's about 1/5 of the Saturn V.
|
Fredrik Lundh
|
90
|
 |
|
07-11-2004 17:24 UTC
|
|
Yeah, that wasn't a very serious comparision (and I have to admit that I didn't remember that Apollo did in fact spend a couple of hours in an ordinary Earth orbit; the Saturn engines only contributed to the first leg of the trip).
But I did leave out the part about getting to the moon in 72 milliseconds ;-)
On the other hand, the Apollo engine used to leave the Earth orbit had a thrust of 890 kN. That's 500,000,000 times more than SMART-1, for the orbit-to-orbit part.
|
| andres
|
91
|
 |
|
09-11-2004 01:42 UTC
|
|
WOW , absolutly no link to contact Fredrik , hehe.
Well i just want to point that searching in the python package index www.python.org/pypi for the "xml" term gives no results related to element tree, so people who doesnt know about it cant find it, so it would be nice if the word "xml" is added in the description
|
| Andrew Dalke
|
92
|
 |
|
09-11-2004 04:40 UTC
|
|
Inga problem, /F. For another neat trip using low power (though chemical, not ion), see http://www.sp.ph.ic.ac.uk/~balogh/isee3.htm . ISEE 3/ICE took 1.5 years and 5 lunar flyby gravity assists to get to Comet Giacobini-Zinner from L2.
|
Fredrik Lundh
|
93
|
 |
|
10-11-2004 16:50 UTC
|
|
I've re-registered the 1.2.1 release, with a better "long description" (for some reason, "search description" doesn't look in the "description" field from the setup file...)
As for the mail address, the first google hit for "what's fredrik lundh's mail address" does indeed bring you do a page with David Mertz mail address, but my mail address isn't really that hard to find (which probably explains the 1000+ spams I get each day). Did you look in the elementtree readme, for example?
|
| Vinj
|
94
|
 |
|
10-11-2004 23:00 UTC
|
|
I'm using elementtree to create xml files to be read by excel. Excel uses the following for a lot of their attributes:
<cell ss:Type="Number"> <Worksheet ss:Name="worksheet1">
I get the following error when I do the following: a = Element("workshee", ss:Name="worksheet1")
this is expected since : is reserved by python. Is there a workaround?
|
Fredrik Lundh
|
95
|
 |
|
11-11-2004 07:19 UTC
|
|
If you look at the top of the excel document, you'll notice a xmlns:ss="urn:schemas-microsoft-com:office:spreadsheet attribute. This means that "ss" is a namespace, and that a tag that is named e.g. ss:Name is in fact a "Name" tag that lives in the "urn:schemas-microsoft-com:office:spreadsheet" namespace. For more information on namespaces in ElementTree, see http://effbot.org/zone/element.htm#xml-namespacesFor more information on namespaces themselves, see http://www.jclark.com/xml/xmlns.htm
|
| Darran
|
96
|
 |
|
14-11-2004 00:57 UTC
|
|
Could we possibly get formatted xml output (a la "xmllint --format") added to ElementTree? Possibly just ElementTree.write("test.xml",formatted=1). Unless an equivalent already exists and I'm missing it somehow ...
|
| Daniel Biddle
|
97
|
 |
|
25-11-2004 01:47 UTC
|
|
The links in the RSS feed don't work for me: I get error messages about bad URL syntax, and they seem to be missing a pathname. Example: http://online.effbot.org#20041124
|
Fredrik Lundh
|
98
|
 |
|
25-11-2004 06:38 UTC
|
|
Get error messages from where? " http://online.effbot.org" is the URL itself; "#20041124" is a fragment identifier. It's a perfectly valid URL.
|
Michael Hudson
|
99
|
 |
|
25-11-2004 13:14 UTC
|
|
Oh well.
Results 1 - 10 of about 260,000 for "py line *".
Both this and the pm one include a fair few "false positives" -- people talking about error messages, and just random stuff like "Form 1-NR/PY, line 12".
|
| Daniel Biddle
|
100
|
 |
|
26-11-2004 05:58 UTC
|
|
The "Bad URL syntax" error is from my browser, but it's dumb enough to think it should add a slash to the end of the fragment identifier, so there's definitely a browser bug or two. Sorry to bother you about that.
I still think the link URI for each item should be a permalink; the guid element has a suitable URI.
|
| Fredrik Lundh
|
101
|
 |
|
07-12-2004 20:33 UTC
|
|
|