Hi,
I'm writing a python program to analyse and export volumetric data. To
make development and extension easier, and to make it more useful to the
public when it is released (LGPL), I would like to enable users to place
their own python files in a "user_extensions" directory. These files
wo
Clodoaldo Pinto Neto schrieb:
>
> http://webpython.codepoint.net
>
Great tutorial -- Thanks a lot!!!
:D
--
Gerold Penz - bcom - Programmierung
[EMAIL PROTECTED] | http://gerold.bcom.at | http://sw3.at
Ehrliche, herz
[Ben Finney]
>> I don't see why you're being so obtuse
[Terry Reedy]
> I think name calling is out of line here.
Name calling is always out of line on comp.lang.python. Unless it's
done by Guido. Then it's OK. Anyone else, just remind them that even
Hitler had better manners. That always calm
At Thursday 5/10/2006 01:54, Wijaya Edward wrote:
One can do the following with Perl
$ perldoc -f chomp
$ perldoc -f function_name
or
$ perldoc List::MoreUtils
$ perldoc Some::Module
Can we do the same thing in Python?
s/perl/py/g
See the pydoc module.
Gabriel Genellina
Softlab SRL
Steve Holden <[EMAIL PROTECTED]> writes:
> And I'd prefer it if you'd drop this subject. So, if you have
> nothing new to say, kindly leave it.
I'm happy to, but:
> You appear to be prepared to go to any length short of providing
> effort to support the open source tracker.
This was addressed i
Steve Holden wrote:
> Excellent. I've just complained elsewhere in this thread that those
> dissenting didn't appear to want to rectify the situation by offering
> their time. It would be nice to be wrong about that.
the dissenting won't contribute a thing, of course. they never ever do.
bu
Ilias Lazaridis wrote:
> Giovanni Bajo wrote:
>
>>Hello,
>>
>>I just read this mail by Brett Cannon:
>>http://mail.python.org/pipermail/python-dev/2006-October/069139.html
>>where the "PSF infrastracture committee", after weeks of evaluation,
>>recommends
>>using a non open source tracker (called
Fredrik Lundh wrote:
> Steve Holden wrote:
>
>
>>>you're not on the infrastructure list, I hear. python.org could still need a
>>>few more roundup volunteers, but it's not like nobody's prepared to con-
>>>tribute manhours. don't underestimate the community.
>>>
>>
>>No, I'm not on the infrastr
At Wednesday 4/10/2006 21:43, [EMAIL PROTECTED] wrote:
I'm wondering how/where the syntax for, e.g., 1j is defined. Is it
something I can define myself? In particular, I make very heavy use of
Nope - it's hardcoded inside the parser (see tokenizer.c)
a complex unit other than j (I'll call
At Wednesday 4/10/2006 21:03, goyatlah wrote:
I'm trying to figure out how to get the exact opened url after a
urlopen in urllib2.
Say you have a link : http://myhost/mypath : what do I get back,
- the file mypath on myhost
- the file index.html on myhost/mypath,
- or maybe something else.
You
Terry Reedy wrote:
> "Ben Finney" <[EMAIL PROTECTED]> wrote in message
> news:[EMAIL PROTECTED]
>
>>The whole point of moving *from* SF *to* another bug tracker is to
>>improve the situation, surely.
>
>
> The current situation is that the limitations and intermittant failures of
> the SF trac
Steve Holden wrote:
> You appear to be prepared to go to any length short of providing effort
> to support the open source tracker.
http://www.userland.com/whatIsStopEnergy
--
http://mail.python.org/mailman/listinfo/python-list
[EMAIL PROTECTED] wrote:
> d = {}
> for line in [l[:-1] for l in file('test.txt', 'rU') if len(l)>1]:
> k,v = line.split()
> d.setdefault(k,[]).append(v)
Try that with a test.txt where the last line has no newline.
Peter
--
http://mail.python.org/mailman/listinfo/python-list
Ben Finney wrote:
> "David Goodger" <[EMAIL PROTECTED]> writes:
>
>
>>Look at the results again. Jira and RoundUp tied for functionality,
>>but Jira has a hosting/admin offer behind it. That's huge. But
>>rather than declaring Jira the outright winner, which they could
>>have done, the committee
Ben Finney schrieb:
>> Giovanni Bajo schrieb:
>>> It is an extremely bad picture for an open source flag like Python
>>> to go to a vendor for such an easy requirement as a bug database.
>> You fail to recognize that Python is *already* using a non-free software
>> for bug tracking, as do thousands
Martin v. Löwis wrote:
> A common problem is to save the data in the same encoding that they
> original had; this is what an editor typically does (you may know
> Edward Ream for writing editors). XML parsers are notoriously bad
> in supporting editors. There are too many lexical details that may
On Oct 4, 11:54 pm, Wijaya Edward <[EMAIL PROTECTED]> wrote:
> Hi,
>
> One can do the following with Perl
>
> $ perldoc -f chomp
> $ perldoc -f function_name
>
> or
>
> $ perldoc List::MoreUtils
> $ perldoc Some::Module
>
> Can we do the same thing in Python?
You can use the help() function at the
Hi,
One can do the following with Perl
$ perldoc -f chomp
$ perldoc -f function_name
or
$ perldoc List::MoreUtils
$ perldoc Some::Module
Can we do the same thing in Python?
-- Edward
SINGAPORE
Institute For Infocomm Research - Disclaimer -
This email is conf
[EMAIL PROTECTED] wrote:
> I'm wondering how/where the syntax for, e.g., 1j is defined.
http://docs.python.org/ref/imaginary.html
--
http://mail.python.org/mailman/listinfo/python-list
John Machin wrote:
> And you *still* haven't answered the basic question:
>
> **
> *** What is the error message that you get ??? ***
> **
>
I'm not sure what you're asking for here.
Hi,
I try to open a Boa Constructor's instance when an error message : "No
section:editor" (in a pop up window) is being thrown. I can see on the
console that the last message shown is "running main"
I also tried reinstalling Boa (0.4.4 Release)as well as Python (ver
2.4.3), but the problem still
On 4 Oct 2006 19:31:38 -0700, SpreadTooThin <[EMAIL PROTECTED]> wrote:
>client:
>
>import socket
>s = socket.socket(socket.AF_INET, socket.SOCK_STREAM)
>s.connect(("192.168.1.101", 8080))
>print 'Connected'
>s.send('ABCD')
Here you didn't check the return value of send to determine if all of the
Larry Hastings wrote:
> It's *slightly* slower for two:
>
> def addTwoThings(a, b):
> return a + b
> for i in range(1000):
> x = addTwoThings("aaa", "bbb")
...
> But starts paying off already, even with three:
>
> def addThreeThings(a, b, c):
> return a + b + c
> for i in range(1000
John Salerno wrote:
> John Machin wrote:
>
> > 6. Fire up a Comamnd Prompt window, and type this in:
> >
> > \windows\hh \python25\doc\python25.chm
> > \windows\hh \windows\help\whatever.chm
>
> I tried this and got the same error. This is really upsetting.
So that indicates that the problem is c
John Machin wrote:
> 4. Have you done a full virus and spy-ware scan? Do you regularly
> install Windows updates from Microsoft?
Well, this is certainly the last thing I expected to work, but it did!
There was something called an IECache cookie (which I've actually had
before) and after removin
Robert Kern wrote:
> Giovanni Bajo wrote:
> > Hello,
> >
> > I just read this mail by Brett Cannon:
> > http://mail.python.org/pipermail/python-dev/2006-October/069139.html
> > where the "PSF infrastracture committee", after weeks of evaluation,
> > recommends
> > using a non open source tracker (
Hi all, I'm new to this list because I had a question about parsing
python block structure. I am taking a programming languages course
this semester and for our final project we are writing an interperator
in scheme(awful language) for whatever language that we want. The
language that I want to do
client:
import socket
s = socket.socket(socket.AF_INET, socket.SOCK_STREAM)
s.connect(("192.168.1.101", 8080))
print 'Connected'
s.send('ABCD')
buffer = s.recv(4)
print buffer
s.send('exit')
server:
serversocket = socket.socket(socket.AF_INET, socket.SOCK_STREAM)
serversocket.bind(("192.168.1.1
In article <[EMAIL PROTECTED]>,
Giovanni Bajo <[EMAIL PROTECTED]> wrote:
>
>I wonder why the PSF infrastructure committee believes that a group of 6-10
>people is needed to "install and maintain" Roundup.
Because Roundup has been "the answer" for at least two or three years,
but somehow it never
John Machin wrote:
> 6. Fire up a Comamnd Prompt window, and type this in:
>
> \windows\hh \python25\doc\python25.chm
> \windows\hh \windows\help\whatever.chm
I tried this and got the same error. This is really upsetting.
--
http://mail.python.org/mailman/listinfo/python-list
On 4 Oct 2006 13:11:15 -0700, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote:
> limodou wrote:
> > here is my program
> >
> > d = {}
> > for line in file('test.txt'):
> > line = line.strip()
> > if line:
> > k, v = line.strip().split()
> > d.setdefault(k, []).append(v)
> > prin
"Terry Reedy" <[EMAIL PROTECTED]> writes:
> "Ben Finney" <[EMAIL PROTECTED]> wrote:
> > I don't see why you're being so obtuse
> I think name calling is out of line here.
So do I, which is why I addressed observed actions instead.
--
\ "I got a postcard from my best friend, it was a
Carl Trachte wrote:
> I came from a VB/VBA environment before using Python. My experience has
> been that Python has a lot more free, pre-coded tools within its community
> to do the sort of things I do in my job (geometric algorithms, date-time
> functions, processing and accessing lists of item
Giovanni Bajo wrote:
> Hello,
>
> I just read this mail by Brett Cannon:
> http://mail.python.org/pipermail/python-dev/2006-October/069139.html
> where the "PSF infrastracture committee", after weeks of evaluation,
> recommends
> using a non open source tracker (called JIRA - never heard before o
I have not seen this posted and I kind of like it.
Shared for entertainment value only.
Alan Isaac
PS Easily adapted if the residual
group is not desired.
def groupsofsize(iterable,size):
itr = iter(iterable)
c=count()
for k,it in groupby(itr,lambda x:c.next()//size):
yield tup
Several times you improperly spell "syntax" "sintax". Other than that
it appears to be an excellent tutorial.
Clodoaldo Pinto Neto wrote:
> I'm just building a Python CGI Tutorial and would appreciate any
> feedback from the many experts in this list.
>
> Regards, Clodoaldo Pinto Neto
--
http:/
Announcing new project, Tftpy, a Pure Python TFTP implementation.
About Release 0.1:
==
This is an initial release in the spirit of "release early, release
often". Currently the sample client works, supporting RFC 1350. The
server is not yet implemented, and RFC 2347 and 2348 supp
Fredrik Lundh wrote:
> Paolo Pantaleo wrote:
>
> >I have this code
> >
> > from Tkinter import *
> >
> > root=Tk()
> > Button(root).pack(fill=BOTH)
> > root.mainloop()
> >
> > I would expect the button filling all the client draw area of the
> > Frame, but when I resize the root window the button
I came from a VB/VBA environment before using Python. My experience has
been that Python has a lot more free, pre-coded tools within its community
to do the sort of things I do in my job (geometric algorithms, date-time
functions, processing and accessing lists of items, scientific programming,
et
A very lively feedback indeed. I appreciate most of the points discussed and
will persevere with the language until I understand the more powerful
aspects of it. Then I will try the GUIs that were mentioned.
Many thanks, Gord.
--
http://mail.python.org/mailman/listinfo/python-list
Hi,
I'm wondering how/where the syntax for, e.g., 1j is defined. Is it
something I can define myself? In particular, I make very heavy use of
a complex unit other than j (I'll call it 1k=exp(pi*1j/3)), and it
would be terribly convenient to make my own complex class based on this
unit, which wou
I don't know if this is because of Tkinter (ie Tk) itself or the
Windows default way of handling things, but when I create a very long
menu (my test is shown below), the way it displays is rather sucky; the
menu stretches from the top of the moniter's window to the bottom (no
matter the size of the
On 10/4/06, gord <[EMAIL PROTECTED]> wrote:
> As a complete novice in the study of Python, I am asking myself where this
> language is superior or better suited than others. For example, all I see in
> the tutorials are lots of examples of list processing, arithmetic
> calculations - all in a DOS-l
"Ben Finney" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
> The whole point of moving *from* SF *to* another bug tracker is to
> improve the situation, surely.
The current situation is that the limitations and intermittant failures of
the SF tracker sufficiently impede the Python
John Salerno wrote:
> Keith Perkins wrote:
>
> > I used HTMLKit when I still used Windows, and liked it a lot. It's really
> > a great HTML/PHP, etc. editor, if you can get past the front page.
> > That being said (if I remember correctly) hh.exe is a part of htmlkit, and
> > may have been the th
Apologies in advance to anyone who gets this twice, but I posted this
using Thunderbird over 11 hours ago and it's not showing up ...
=
On 4/10/2006 8:53 PM, dan_roman wrote:
> Hi,
> I developed a script with a nice interface in Tkinter that allows me to
> edit some
I'm trying to figure out how to get the exact opened url after a
urlopen in urllib2.
Say you have a link : http://myhost/mypath : what do I get back,
- the file mypath on myhost
- the file index.html on myhost/mypath,
- or maybe something else.
Snd what about the following: http;//myhost/index.htm
dan_roman wrote:
> Hi,
> I developed a script with a nice interface in Tkinter that allows me to
> edit some formulas and to generate an Excel worksheet with VBA macros
> within it. The script runs perfectlly in Office 2000, but in Office
> 2003 crash at line: "wbc = workbook.VBProject.VBComponents
"mrquantum" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
> Sorry, was to hasty by saying "... don't support the iteration
> protocol'! Sure they do, as the iter('SomeString') function or the
> construction for c in 'SomeString' show.
>
> It's just not implemented by a __iter__ meth
I'm trying hard to create my first useful python program: an rss reader
in curses. I wrote some really ugly code to create a highlighting menu:
the opprions are laid on the screen, and then pressing up and down i
move a white bar to mark the item. Kind of like dialog menus.
But the code is REALLY
On Wed, 2006-10-04 at 16:21 -0400, gord wrote:
> What is particularly disappointing is the absence of a Windows IDE,
> components and an event driven paradigm. How does Python stand relative to
> the big 3, namely Visual C++, Visual Basic and Delphi? I realize that these
> programming packages
Giovanni Bajo wrote:
> Hello,
>
> I just read this mail by Brett Cannon:
> http://mail.python.org/pipermail/python-dev/2006-October/069139.html
> where the "PSF infrastracture committee", after weeks of evaluation,
> recommends
> using a non open source tracker (called JIRA - never heard before o
gord wrote:
> As a complete novice in the study of Python, I am asking myself where this
> language is superior or better suited than others. For example, all I see in
> the tutorials are lots of examples of list processing, arithmetic
> calculations - all in a DOS-like environment.
>
> What is
Keith Perkins wrote:
> I used HTMLKit when I still used Windows, and liked it a lot. It's really
> a great HTML/PHP, etc. editor, if you can get past the front page.
> That being said (if I remember correctly) hh.exe is a part of htmlkit, and
> may have been the the cause of your problem by makin
"David Goodger" <[EMAIL PROTECTED]> writes:
> Look at the results again. Jira and RoundUp tied for functionality,
> but Jira has a hosting/admin offer behind it. That's huge. But
> rather than declaring Jira the outright winner, which they could
> have done, the committee has allowed the community
"Martin v. Löwis" <[EMAIL PROTECTED]> writes:
> Giovanni Bajo schrieb:
> > It is an extremely bad picture for an open source flag like Python
> > to go to a vendor for such an easy requirement as a bug database.
>
> You fail to recognize that Python is *already* using a non-free software
> for bug
In article <[EMAIL PROTECTED]>, hg <[EMAIL PROTECTED]> wrote:
.
.
.
>Code in Python and decide for yourself ... but again, nowadays, you're
>to compare with C#, VB ... if you want to be in; that is.
>
>hg
>
One of the points
In article <[EMAIL PROTECTED]>,
James Stroud <[EMAIL PROTECTED]> wrote:
.
.
.
>I'm a complete windows novice (as in I've forced myself to forget my
>experiences with it), but does windows not run vim?
"fuzzylollipop" <[EMAIL PROTECTED]> writes:
> Giovanni Bajo wrote:
> > the "PSF infrastracture committee", after weeks of evaluation,
> > recommends using a non open source tracker (called JIRA - never
> > heard before of course) for Python itself.
> >
> > Does this smell "Bitkeeper fiasco" to any
Fredrik Lundh wrote:
> John Machin wrote:
>
> > But not on other integer subtypes. If regexps should not be restricted
> > to text, they should work on domains whose number of symbols is greater
> > than 256, shouldn't they?
>
> they do:
>
> import re, array
>
> data = [0, 1, 1, 2]
>
> array_type
Irmen de Jong schrieb:
> As others have tried to explain, the encoding in the xml header is
> not part of the document data itself, it says something about the data.
> It would be a bad design decision imo to rely on this meta information
> if you really meant that information to be part of the dat
Tim Chase wrote:
>
>Visual Basic compared to Python
>---
>VB shares some interesting aspects with Python...namely it's much
>more readable than the other two. It's syntax is clunky at best,
>with goto's, and cobbled-on exception handling (at least in
>VB-Classic, as oppo
Fredrik Lundh schrieb:
> what I was trying to say (between the lines) was that not only have
> the people on that list worked hard to do the evaluation (not to mention
> all the developers around the world that has worked even harder to set
> up test trackers)
That cannot be praised enough. Specia
On Wed, 04 Oct 2006 16:34:43 +, Dennis Lee Bieber wrote:
> On Wed, 04 Oct 2006 15:55:11 GMT, John Salerno
> <[EMAIL PROTECTED]> declaimed the following in comp.lang.python:
>
>> the files in a day or two). All I've installed/uninstalled since then
>> was HTML Kit. I'm not on a network, it's
Giovanni Bajo schrieb:
>> * A data export is available if we decide to switch. [...]
>
> Out of curiosity, how is this obtained? Is this any plan to take a daily
> export
> or so?
Exactly so. Atlassian would generate a daily dump, and we would copy it
to a machine on python.org with a cron job.
Paul Rubin schrieb:
> True, though GPL 3 tries to address that. Most important is to figure
> out the underlying attitude of the host. I realize it's the same
> crufty software (or worse) as SF and therefore maybe not so attractive
> on those grounds already, but did you think about migrating to
Jorgen Grahn wrote:
> - the wildcard object, which compares equal to everything else
> - infinite xrange()s
> - the black hole function 'def f(*args): pass'
> - the identity function 'def f(x): return x'
Any use cases for these?
--
http://mail.python.org/mailman/listinfo/python-list
Thus spoke Paul McGuire (on 2006-10-04 17:34):
> <[EMAIL PROTECTED]> wrote in message
>> this is my first post. my "programming" background is perlish
> I'll see your perlish line noise, and raise you this obfuscapython: :)
>
> data = """\
> 2 1 2 3 4
> 7 7 8 9 10
> 5 1 3 5 7 9
> 2 6 8 10""".s
Giovanni Bajo wrote:
> You're cherry picking your quotes:
>
> """
> In order for Roundup to be considered equivalent in terms of an overall
> tracker package there needs to be a sufficient number of volunteer admins
> (roughly 6 - 10 people) who can help set up and maintain the Roundup
> installati
Fredrik Lundh schrieb:
> Martin v. Löwis wrote:
>
>> Yes. While you can pass Unicode strings as file names to many Python
>> functions, you can't pass them to Expat, as Expat requires the file name
>> as a byte string. Hence the error.
>
> sounds like a bug in the xml.sax layer, really (ET also u
Giovanni Bajo wrote:
> So we have a problem between the PSF and the "PSF infrastructure committee",
> since the latter did not put "being written in Python" has a requirement for
> the tracker.
There was no problem. The committee had their mandate, to find the best
candidate for a tracker for Pyth
"Martin v. Löwis" <[EMAIL PROTECTED]> writes:
> That, in principle, could happen to any other free software as well.
> What is critical here is that SF *hosted* the installation. If we would
> use a tracker that is free software, yet hosted it elsewhere, the same
> thing could happen: the hoster co
Steve Holden wrote:
>> you're not on the infrastructure list, I hear. python.org could still need a
>> few more roundup volunteers, but it's not like nobody's prepared to con-
>> tribute manhours. don't underestimate the community.
>>
> No, I'm not on the infrastructure list, but I know that cap
David Goodger wrote:
> Go back to the original announcement:
>
> """
> After evaluating the trackers on several points (issue creation,
> querying, etc.), we reached a tie between JIRA and Roundup in terms of
> pure tracker features.
> """
>
> JIRA gets a leg up because of the hosting and administ
On Wed, 4 Oct 2006 16:21:21 -0400
"gord" <[EMAIL PROTECTED]> wrote:
> [...] all in a DOS-like environment.
Python is an extremely multi-purpose language that is not dependant on GUIs or
similiar riff-raff. It can be run in DOS or DOS-like systems, but that is your
choice, not python's. Python ha
A.M. Kuchling wrote:
>> The surprise people are expressing is because they thought one of the
>> goals of a big open source project would be to avoid reliance on
>> closed tools.
>
> I don't think Python has ever had this as a goal. Python's license
> lets it be embedded in closed-source products
On Oct 4, 4:21 pm, "gord" <[EMAIL PROTECTED]> wrote:
> As a complete novice in the study of Python, I am asking myself where this
> language is superior or better suited than others. For example, all I see in
> the tutorials are lots of examples of list processing, arithmetic
> calculations - all
Paul Rubin schrieb:
> "Martin v. Löwis" <[EMAIL PROTECTED]> writes:
>> You fail to recognize that Python is *already* using a non-free software
>> for bug tracking, as do thousands of other projects.
>
> I don't think that reflects an explicit decision. SF started out as
> free software and the
Not sure if this is a troll...I've seen several of these sorts of
posts on the list. But it seems innocent enough, so I'll bite. :)
I'm not sure Delphi is really one of the "big 3"...surprisingly
Java and C# don't make your list.
> What is particularly disappointing is the absence of a Windows
>
Paul Rubin wrote:
>> You fail to recognize that Python is *already* using a non-free
>> software for bug tracking, as do thousands of other projects.
>
> I don't think that reflects an explicit decision. SF started out as
> free software and the software became nonfree after people were
> already
Martin v. Löwis wrote:
>> Frankly, I don't give a damn about the language the application is
>> coded in
>
> That's probably one of the reasons why you aren't a member of the
> Python Software Foundation. Its mission includes to publicize,
> promote the
> adoption of, and facilitate the ongoing de
Edward K. Ream wrote:
>> Please consider adding some elements to the document itself that
> describe the desired output format,
>
> Well, that's what the encoding field in the xml line was supposed to do.
As others have tried to explain, the encoding in the xml header is
not part of the document
Georg Brandl wrote:
> This is an issue in most Python documentation: you're not told
> if the described function is implemented in C, and if it is
> keyword arg-enabled. The arguments must be given names though,
> to be able to document them.
the general rule is that if the documentation doesn't
In article <[EMAIL PROTECTED]>,
Fredrik Lundh <[EMAIL PROTECTED]> wrote:
>Andreas Huesgen wrote:
>
>> is there a way to receive the name of an object passed to a function
>> from within the function.
>
>objects don't have names, so in general, you cannot do that. see:
>
>http://pyfaq.infogami.co
Paul Rubin wrote:
> Antoon Pardon <[EMAIL PROTECTED]> writes:
>> repeat(object[, times])
>> Make an iterator that returns object over and over again. Runs
>> indefinitely unless the times argument is specified. ...
>>
>> My first impression from this, is that it is possible to call
>> this
Edward K. Ream schrieb:
> Can anyone tell me how the content handler can determine the encoding of the
> file? Can sax provide this info?
That's not supported in SAX. If you use Expat directly (module pyexpat),
you can set the XmlDeclHandler, which is called when the XML declaration
is received
2006/10/4, Tim Chase <[EMAIL PROTECTED]>:
> >> I'm just building a Python CGI Tutorial and would appreciate any
> >> feedback from the many experts in this list.
> >
> > http://webpython.codepoint.net
>
>
> Thanks! :)
>
> My first note would be regarding
>
> http://webpython.codepoint.net/shell_com
hg wrote:
> gord wrote:
>> As a complete novice in the study of Python, I am asking myself where this
>> language is superior or better suited than others. For example, all I see in
>> the tutorials are lots of examples of list processing, arithmetic
>> calculations - all in a DOS-like environme
Martin v. Löwis wrote:
> Yes. While you can pass Unicode strings as file names to many Python
> functions, you can't pass them to Expat, as Expat requires the file name
> as a byte string. Hence the error.
sounds like a bug in the xml.sax layer, really (ET also uses Expat, and
doesn't seem to ha
gord wrote:
> As a complete novice in the study of Python, I am asking myself where this
> language is superior or better suited than others. For example, all I see in
> the tutorials are lots of examples of list processing, arithmetic
> calculations - all in a DOS-like environment.
>
> What is
gord wrote:
> As a complete novice in the study of Python, I am asking myself where this
> language is superior or better suited than others. For example, all I see in
> the tutorials are lots of examples of list processing, arithmetic
> calculations - all in a DOS-like environment.
>
> What is pa
[EMAIL PROTECTED] wrote:
> Travis E. Oliphant wrote:
>
>
> Given the quality of python's (free) documentation and how good it's
> been for a very long time, it's bit ironic to be using the phrase
> "normal open-source documentation" on this mailing list. Numeric
> python, which numpy aspires to b
Edward K. Ream schrieb:
> Happily, the workaround is easy. Replace theFile with:
>
> # Use cStringIo to avoid a crash in sax when inputFileName has unicode
> characters.
> s = theFile.read()
> theFile = cStringIO.StringIO(s)
>
> My first attempt at a workaround was to use:
>
> s = theFile.read
gord wrote:
> As a complete novice in the study of Python, I am asking myself where this
> language is superior or better suited than others. For example, all I see in
> the tutorials are lots of examples of list processing, arithmetic
> calculations - all in a DOS-like environment.
>
> What is
Fredrik Lundh schrieb:
> Diez B. Roggisch wrote:
>
>> Filenames are expected to be bytestrings. So what happens is that the
>> unicode string you pass as filename gets implicitly converted using the
>> default encoding.
>
> it is ?
Yes. While you can pass Unicode strings as file names to many Py
Dave Opstad wrote:
> In article <[EMAIL PROTECTED]>,
> James Stroud <[EMAIL PROTECTED]> wrote:
>>I am trying to create a semi-standalone with the vendor python on OS X
>>10.4 (python 2.3.5). I tried to include some packages with both
>>--packages from the command and the 'packages' option in set
Paul Boddie schrieb:
> Out of interest, here are some figures:
>
> KDE: 12983 bugs and 11656 wishes
> GNOME: 23624 reports
> Python: 7159 bugs, 3843 patches, 477 feature requests
>
> The Python figures are totals, whereas I can't be sure whether the KDE
> and GNOME figures merely refer to t
gord wrote:
> What is particularly disappointing is the absence of a Windows IDE,
> components and an event driven paradigm. How does Python stand relative to
> the big 3, namely Visual C++, Visual Basic and Delphi?
if you think those are the "big 3", you should perhaps start by asking
yoursel
> Try this:
[snip]
Parser.XmlDeclHandler = self.XmlDecl
[snip]
Excellent! Thanks so much.
Edward
Edward K. Ream email: [EMAIL PROTECTED]
Leo: http://webpages.charter.net/edreamleo/front.html
-
[EMAIL PROTECTED] schrieb:
> No, actually switching trackers can be one big pain in the ass. You
> probably aren't aware of how hard it's been for the Python development team
> (I think Martin v. Loewis, mostly) to get tracker data out of SF. An
> explicit requirement was that any tool chosen as
1 - 100 of 323 matches
Mail list logo