ConfigObj 4.0.0 final and Pythonutils 0.2.3 have just hit the streets.
http://www.voidspace.org.uk/python/configobj.html
http://www.voidspace.org.uk/python/pythonutils.html
They are both pure Python modules - the source distributions include
full documentation, which is also online.
What's New
Hello Friend
You are invited to join www.liveboard.8my.com
There you can discuss / post on various topics like Poems, Love,
Romance, Flirting, Quotes, Shayris, Movies, Music, Personal Problem
Discussions, Computers Internet (Hacking at security end),
Animations, Business, Employment and lots
Mike Schilling [EMAIL PROTECTED] wrote:
John Bokma [EMAIL PROTECTED] wrote in message
[ w3c standard v.s. ISO ]
You haven't said why you thinbk standards are more valuable than
recommendations. We apparently both agree they're no more likely to be
observed, so what is the reason?
That
Hi,
I got a class which I need to serialize, except for couple of variable.
i.e.
import cPickle as p
class Color:
def __init__(self):
print hello world
self.x=10
self.somechar=this are the characters
color=Color()
f=file('poem.txt', 'w')
p.dump(color, f)
f.close()
Mike Schilling [EMAIL PROTECTED] writes:
Mike Meyer [EMAIL PROTECTED] wrote in message
news:[EMAIL PROTECTED]
Mike Schilling [EMAIL PROTECTED] writes:
What matters in generating HTML is which browsers you want to support and
what they understand. Standards and recommendations are both
The following code fails (pythonbugtest.exe takes one parameter, a
string):
import os
result = os.system('pythonbugtest.exe test')
assert(result == 0)
The error message is:
'pythonbugtest.exe test' is not recognized as an internal or external
command, operable program or batch file.
Traceback
On 18 Oct 2005 06:20:56 GMT, John Bokma [EMAIL PROTECTED] wrote
or quoted :
That an HTML standard (ISO/IEC 15445:2000) and an HTML recommendation by
w3c (4.01 for example) are two different things, and mixing them up by
calling both standards is a bad thing.
Because ... what are the
On Mon, 17 Oct 2005 22:21:55 -0700, David Schwartz
[EMAIL PROTECTED] wrote or quoted :
I don't think any of it bordered on force or fraud. However, their
obligation to their shareholders requires them to do anythign that borders
on force/fraud so long as it isn't force/fraud.
I avoid MS
Roedy Green [EMAIL PROTECTED] wrote:
On 18 Oct 2005 06:20:56 GMT, John Bokma [EMAIL PROTECTED] wrote
or quoted :
That an HTML standard (ISO/IEC 15445:2000) and an HTML recommendation by
w3c (4.01 for example) are two different things, and mixing them up by
calling both standards is a bad
What happens when you try it without the single quotes?
result = os.system(pythonbugtest.exe test)
--
http://mail.python.org/mailman/listinfo/python-list
In comp.os.linux.misc Richard Steiner [EMAIL PROTECTED] wrote:
Here in comp.os.linux.misc,
John Wingate [EMAIL PROTECTED] spake unto us, saying:
Peter T. Breuer [EMAIL PROTECTED] wrote:
It seems to me that I was using 3.x. Maybe it was 3.1? I seem to
remember an earlier major ... was there a
Alex Martelli wrote:
The best way to make classes on the fly is generally to call the
metaclass with suitable parameters (just like, the best way to make
instances of any type is generally to call that type):
derived = type(base)('derived', (base,), {'__doc__': 'zipp'})
and George Sakkis
Iyer, Prasad C wrote:
Hi,
I got a class which I need to serialize, except for couple of variable.
i.e.
import cPickle as p
class Color:
def __init__(self):
print hello world
self.x=10
self.somechar=this are the characters
color=Color()
f=file('poem.txt', 'w')
[EMAIL PROTECTED] wrote:
What happens when you try it without the single quotes?
result = os.system(pythonbugtest.exe test)
That would be equivalent to
result = os.system(pythonbugtest.exetest)
which almost certainly won't do anything useful.
regards
Steve
--
Steve Holden +44
Hi group,
I'm preparing Python 2.4.2 for the upcoming Minix 3.x release, and I
have problems with make. configure runs fine and creates the makefile,
but right at the end ends with an error about a circular dependency in
Modules/signalmodule.o.
I'm new to makefiles and makefile rules, so I can
Thanks a lot.
Actually you are right I would be trying same thing now.
Writing my own custom serializable for the object.
But everyone else who face the same problem would come up with their own
Serializable code.
Can't we plug something into cpickle So that it discards some variable from
Iyer, Prasad C wrote:
How do I serialize the object color without serializing the x and
somechar variables?
Is there any modifier which prevents the variable from being serialized.
See the pickle documentation. The example given in the documentation
pickles a class while excluding one of
In comp.lang.java.programmer Paul Rubin http://[EMAIL PROTECTED] wrote or
quoted:
Tim Tyler [EMAIL PROTECTED] writes:
Are there any examples of HTML email causing security problems - outside
of Microsoft's software?
There was a pretty good one that went something like
Click this
[Ken]
Web interfaces are missing a lot more than this. Here are just a few
things that cannot be done with web-based interfaces (correct me
where I'm wrong):
1) A real word processor.
http://www.writely.com/
http://www.goffice.com/
2) Keybindings in a web application
Bruno Desthuilliers wrote:
Robin Becker a écrit :
Is there a way to override a data property in the instance? Do I need
to create another class with the property changed?
Do you mean attributes or properties ?
I mean property here. My aim was to create an ObserverProperty class
that
In comp.lang.java.programmer Ross Bamford [EMAIL PROTECTED] wrote or quoted:
Roedy, I would just _love_ to see the response from the industry when you
tell them they should dump their whole mail infrastructure, and switch
over to a whole new system (new protocols, new security holes, new
Paul Rubin http://[EMAIL PROTECTED] wrote:
Torsten Bronger [EMAIL PROTECTED] writes:
Because everybody is capable of running a JS engine, even on
computers on which you don't have rights to install something.
I don't think using JS so heavily without a compelling reason is
really in the
Gordon Burditt [EMAIL PROTECTED] wrote or quoted:
Before worrying about the possible bugs in the implementations,
worry about security issues present in the *DESIGN*. Email ought
to be usable to carry out a conversation *SAFELY* with some person out
to get you. Thus features like this are
I just need confirmation that I think right.
Is the files thread_xxx.h (xxx = nt, os2 or whatever) responsible for
the
global interpreter lock in a multithreaded environment?
I'm currently writing my own thread_VW for VxWorks, thats why I'm
asking.
//Tommy
--
Robin Becker wrote:
Bruno Desthuilliers wrote:
Robin Becker a écrit :
Is there a way to override a data property in the instance? Do I need
to create another class with the property changed?
Do you mean attributes or properties ?
I mean property here.
Ok, wasn't sure... And sorry,
On 18 Oct 2005 06:57:47 GMT, John Bokma [EMAIL PROTECTED] wrote
or quoted :
That an HTML standard (ISO/IEC 15445:2000) and an HTML recommendation by
w3c (4.01 for example) are two different things, and mixing them up by
calling both standards is a bad thing.
Because ... what are the
But I still wonder what's the difference between the A().getMember and
A().member besides the style
--
http://mail.python.org/mailman/listinfo/python-list
On Tue, 18 Oct 2005 08:12:23 GMT, Tim Tyler [EMAIL PROTECTED] wrote
or quoted :
- Any ability to automatically generate hits on sender-specified
servers when the email is read.
I hadn't though of that one. As well as use in DDOS attacks, that
can help let spammers know if they have reached
On Tue, 18 Oct 2005 07:59:47 GMT, Tim Tyler [EMAIL PROTECTED] wrote
or quoted :
Essentially, IM can do pretty-much everything email can these days, but
the reverse is not true at all.
The problem with IM is the various IM schemes don't talk to each
other. You need a client that knows all the
Robin Becker [EMAIL PROTECTED] wrote:
Bruno Desthuilliers wrote:
Robin Becker a écrit :
Is there a way to override a data property in the instance? Do I need
to create another class with the property changed?
Do you mean attributes or properties ?
I mean property here. My aim
I've had some problems, it seems that they dont render well in Linux. I
tried it with Ubuntu Breezy.
--
http://mail.python.org/mailman/listinfo/python-list
Johnny Lee [EMAIL PROTECTED] wrote:
...
Thanks for your help, maybe I should learn how to turn an attibute into
a property first.
Easy -- in your class's body, just code:
def getFoo(self): ...
def setFoo(self, value): ...
def delFoo(self): ...
foo = property(getFoo, setFoo, delFoo,
Johnny Lee [EMAIL PROTECTED] wrote:
But I still wonder what's the difference between the A().getMember and
A().member besides the style
Without parentheses after it, getMember is a method. The difference
between a method object and an integer object (which is what member
itself is in your
Hello,
My question is:
Is there an easy mean to make Python command history
persistent across interpreter invokations?
PS:
In the case the question above is not clear, I rephrase
it below verbosely...
When I work from the Python prompt, I enjoy features
like command line editing and
bruno modulix wrote:
.
Could you elaborate ? Or at least give an exemple ?
.
in answer to Bengt Bruno here is what I'm sort of playing with. Alex suggests
class change as an answer, but that looks really clunky to me. I'm not sure
what
Alex means by
A better design might be to
[EMAIL PROTECTED] wrote:
The following code fails (pythonbugtest.exe takes one parameter, a
string):
import os
result = os.system('pythonbugtest.exe test')
assert(result == 0)
The error message is:
'pythonbugtest.exe test' is not recognized as an internal or external
command, operable
John Bokma wrote:
[snip]
I see little difference with other big companies. You're right that there
is no excuse for such behaviour, but if MS isn't doing it, another company
will take their place.
And if companies are allowed to behave this way (because of your
'nice,fatalistic'
If using unix, you should have readline available.
See the tutotial appendix:-
http://www.python.org/doc/current/tut/node15.html
Regards, Paul Clinch
--
http://mail.python.org/mailman/listinfo/python-list
Symantec antivirus has apparently picked up a virus in my Python 2.4
(under cygwin):
Scan type: Scheduled Scan
Event: Threat Found!
Threat: Bloodhound.Exploit.49
File: C:\cygwin\lib\python2.4\email\MIMEBase.pyc
Location: Quarantine
Action taken: Quarantine succeeded
There's info to be
David Schwartz [EMAIL PROTECTED] 10/18/05 7:21 am
Roedy Green [EMAIL PROTECTED] wrote in
message news:[EMAIL PROTECTED]
On Mon, 17 Oct 2005 19:44:55 -0700, David Schwartz
[EMAIL PROTECTED] wrote or quoted :
It is not Microsoft's obligation to be fair. It is Microsoft's
Hi *,
is there a html parser available, which could i.e. extract all links from a
given text like that:
a href=foo.php?param1=testBARimg src=none.gif/a
a href=foo2.php?param1=testparam2=testBAR2/a
and return a set of dicts like that:
{
['foo.php','BAR','param1','test'],
Alex Hunsley wrote:
Symantec antivirus has apparently picked up a virus in my Python 2.4
(under cygwin):
Scan type: Scheduled Scan
Event: Threat Found!
Threat: Bloodhound.Exploit.49
File: C:\cygwin\lib\python2.4\email\MIMEBase.pyc
Location: Quarantine
Action taken: Quarantine
Christoph Söllner wrote:
Hi *,
is there a html parser available, which could i.e. extract all links from a
given text like that:
a href=foo.php?param1=testBARimg src=none.gif/a
a href=foo2.php?param1=testparam2=testBAR2/a
and return a set of dicts like that:
{
Say I have a function
def f(filename):
result = openFileAndProcessContents(filename)
return result
Can that function be unit tested without having a real file as input?
Something along the lines of
import unittest
class tests(unittest.TestCase):
def test1(self):
fileContents
The message contains Unicode characters and has been sent as a binary
attachment.
--
http://mail.python.org/mailman/listinfo/python-list
ConfigObj 4.0.0 final and Pythonutils 0.2.3 have just hit the streets.
http://www.voidspace.org.uk/python/configobj.html
http://www.voidspace.org.uk/python/pythonutils.html
They are both pure Python modules - the source distributions include
full documentation, which is also online.
What's New
Johnny Lee [EMAIL PROTECTED] wrote:
Alex Martelli ???
Now that's a peculiar question...
Johnny Lee [EMAIL PROTECTED] wrote:
But I still wonder what's the difference between the A().getMember and
A().member besides the style
Without parentheses after it, getMember is a method.
right, that's what I was looking for. Thanks very much.
--
http://mail.python.org/mailman/listinfo/python-list
Hi again,
my Source:
import httplib
conn = httplib.HTTPConnection('www.python.org');
conn.request(GET, /index.html);
answ = conn.getresponse();
print answ.status, answ.reason
200 OK
conn.close();
print Start;
Start
print answ.read();
print len(answ.read());
0
print End;
End
And the header
ok got it:
One cannot close the connection before reading the answer.
Seems that in my original source the new assigned variable
'answ' is destroyed or emptied with the connection.close()
command; very strange behaviour.
import httplib
conn = httplib.HTTPConnection('www.python.org');
David Pokorny wrote:
Hi,
Just wondering if anyone has considered macros for Python. I have one
good use case. In R, the statistical programming language, you can
multiply matrices with A %*% B (A*B corresponds to pointwise
multiplication). In Python, I have to type
import Numeric
Using numarray/pylab there's also dot:
from pylab import *
A = array(range(10))
B = array(range(10))
A * B
[ 0, 1, 4, 9,16,25,36,49,64,81,]
dot(A, B)
285
It might also make your code more readable. I would like A dot B, but even
using ipython
I can only get as close as dot A, B
Dan Farina
Piet van Oostrum wrote:
I think you need something like pyexpect for this.
PyExpect seems to be no more mantained.
--
http://mail.python.org/mailman/listinfo/python-list
I seem to remember a rather ugly hack at some point in the past that
created a new operator like so
A |dot| B
where dot was an object which had the OR operator for left and right
arguments redefined seperately so that it only made sense when used
in that syntax.
I guess you could hack
Great! The indicated history save works!
Thanks
--
http://mail.python.org/mailman/listinfo/python-list
Hellow!
I'm writing program with wxpython and pyplot.
I need to put a graph (example):
def _draw1Objects():
# 100 points sin function, plotted as green circles
data1 = 2.*Numeric.pi*Numeric.arange(200)/200.
data1.shape = (100, 2)
data1[:,1] =
billie == billie [EMAIL PROTECTED] writes:
Piet van Oostrum wrote:
I think you need something like pyexpect for this.
PyExpect seems to be no more mantained.
Try pexpect instead. http://pexpect.sourceforce.net/
Ganesan
--
Ganesan Rajagopal (rganesan at debian.org) | GPG Key:
Ahar got it
http://aspn.activestate.com/ASPN/Cookbook/Python/Recipe/384122
Would something like that be any use?
On 18 Oct 2005, at 13:21, Alex Stapleton wrote:
I seem to remember a rather ugly hack at some point in the past that
created a new operator like so
A |dot| B
where dot was an
Helge Stenstroem wrote:
Say I have a function
def f(filename):
result = openFileAndProcessContents(filename)
return result
Can that function be unit tested without having a real file as input?
Something along the lines of
import unittest
class tests(unittest.TestCase):
It's almost certainly a false positive. In my day job we run into false
positive antivirus detections like this once or twice a year, and
typically get a runaround from the AV vendor (who often have the gall to
suggest that we should buy a copy of their broken software before
they'll fix their
On Mon, 17 Oct 2005 22:23:43 -0700, David Pokorny wrote:
Hi,
Just wondering if anyone has considered macros for Python. I have one
good use case. In R, the statistical programming language, you can
multiply matrices with A %*% B (A*B corresponds to pointwise
multiplication). In Python,
Maebe, does anyone have some examples with wxPython and pyplot?
Thanks again,
Robert
--
http://mail.python.org/mailman/listinfo/python-list
Hmm. I'm not sure what bothered you about cygwin, but if it has been
awhile it's worth another look. For me it makes windows tolerable, and
even productive.
I'm scared more by your thoughts of transitioning from OS-X to windows.
I've seen a bit of OS-X and am slowly be warmed up to it as an
Thanks for your responses, guys. I can't get the PIDA page to come up
for me; server timeout error. I'll have to look into Eclipse more, but
I've been warned that it's resource greedy and that the VI plugin
doesn't provide very much functionality. Still, that's hearsay, so I'll
have to find out
I think wxWidget comes with a sample
Philippe
Robert wrote:
Maebe, does anyone have some examples with wxPython and pyplot?
Thanks again,
Robert
--
http://mail.python.org/mailman/listinfo/python-list
[EMAIL PROTECTED] wrote:
I just need confirmation that I think right.
Is the files thread_xxx.h (xxx = nt, os2 or whatever) responsible for
the
global interpreter lock in a multithreaded environment?
I'm currently writing my own thread_VW for VxWorks, thats why I'm
asking.
//Tommy
On 18 Oct 2005 07:16:11 -0700, Chris Lasher [EMAIL PROTECTED] wrote:
A marriage of the twowould seem like the best of both worlds.Chris
The pessimists would say the worst of both worlds ;)
--
http://mail.python.org/mailman/listinfo/python-list
Helge Stenstroem wrote:
Say I have a function
def f(filename):
result = openFileAndProcessContents(filename)
return result
Can that function be unit tested without having a real file as input?
If you can refactor openFileAndProcessContents() so it looks like this:
def
True and I had to give up emacs when I went to eclipse, but it was well
worth it.
I seem to recall that sourcenavigator allowed to configure an external
editor (or maybe was it sniff+ ?)
Regards,
Philippe
Chris Lasher wrote:
Thanks for your responses, guys. I can't get the PIDA page to come
Mike Meyer [EMAIL PROTECTED] wrote in message
news:[EMAIL PROTECTED]
Mike Schilling [EMAIL PROTECTED] writes:
Mike Meyer [EMAIL PROTECTED] wrote in message
news:[EMAIL PROTECTED]
Mike Schilling [EMAIL PROTECTED] writes:
What matters in generating HTML is which browsers you want to support
Before, after, or during the .start() call, or somewhere else?
I'd like to catch *just after* the .start() call.
I'm quite sure the problem you are trying to solve can be solved, but
you are still describing part of the solution you believe you need,
rather than explaining why you want to do
Nikola [EMAIL PROTECTED] wrote in message
news:[EMAIL PROTECTED]
I'm currently learning Python for my own use.
I'm considering installing it on a work laptop, knowing that it is
non-licensed, distributable software.
However, does it access communication ports? I know the company checks
Robin Becker wrote:
Is there a way to override a data property in the instance? Do I need to
create
another class with the property changed?
--
Robin Becker
It is possible to decorate a method in a way that it seems like
property() respects overridden methods. The decorator cares
On 2005-10-17, Nikola [EMAIL PROTECTED] wrote:
I'm considering installing it on a work laptop, knowing that
it is non-licensed, distributable software.
However, does it access communication ports?
Only if you tell it to.
--
Grant Edwards grante Yow! I'm
Ok, I've understood my mistake.
Now, my list contains a shared entry of an empty object. When an entry
is needed to be changed, I check if the entry is the shared empty
object; in that case I create a new unique instance. If the entry is
already a unique instance, I use it, so the empty object
Richard Steiner [EMAIL PROTECTED] wrote:
Here in comp.os.linux.misc,
John Wingate [EMAIL PROTECTED] spake unto us, saying:
Peter T. Breuer [EMAIL PROTECTED] wrote:
It seems to me that I was using 3.x. Maybe it was 3.1? I seem to
remember an earlier major ... was there a 2.8 or 2.9?
Dunno.
Can somebody provide an example of how to retrieve a https url, given
username and password? I don't find it in the standard documentation.
TIA,
Michele Simionato
--
http://mail.python.org/mailman/listinfo/python-list
Philippe C. Martin wrote:
I think wxWidget comes with a sample
Philippe
Yes I use it, but there is not a sample with pyplot.
Robert
--
http://mail.python.org/mailman/listinfo/python-list
[EMAIL PROTECTED] (Alex Martelli) writes:
Maybe that's the key difference between the mindset of a
mathematician and that of an engineer -- I consider reaching over
95% of visitors to be _quite good indeed_,
Oh? So you'd consider an SMTP/IMAP/POP/DNS/NFS/etc server that
rejected 5% of the
* Christoph Söllner (2005-10-18 12:20 +0100)
right, that's what I was looking for. Thanks very much.
For simple things like that BeautifulSoup might be overkill.
import formatter, \
htmllib, \
urllib
url = 'http://python.org'
htmlp =
realy thanks
hagai
--
http://mail.python.org/mailman/listinfo/python-list
Mike Schilling [EMAIL PROTECTED] writes:
Mike Meyer [EMAIL PROTECTED] wrote in message
news:[EMAIL PROTECTED]
Mike Schilling [EMAIL PROTECTED] writes:
Mike Meyer [EMAIL PROTECTED] wrote in message
news:[EMAIL PROTECTED]
Mike Schilling [EMAIL PROTECTED] writes:
What matters in generating
Hi,
I am reading some essays --http://www.paulgraham.com/avg.html Beating
the averages-- and i am very interested in the web-based
applications.
I want to take the advantages having the application on a server. Is
easy to update, maintain, etc...
My questions is
Can i have a wxPython GUI app
Tim Tyler [EMAIL PROTECTED] writes:
In comp.lang.java.programmer Ross Bamford [EMAIL PROTECTED] wrote or quoted:
About all email has going for it these days is an open format and a
large existing user base.
Yeah, and all that Windows has going for it is being on 9X% of the
desktops. Nothing
Mike Meyer [EMAIL PROTECTED] wrote:
[EMAIL PROTECTED] (Alex Martelli) writes:
Maybe that's the key difference between the mindset of a
mathematician and that of an engineer -- I consider reaching over
95% of visitors to be _quite good indeed_,
What surprises me is that marketing types will
I am trying to make a very simple program and am very new to the whole
programming thing. my program is supposed to ask a user for any time in
the for format XX:XX:XX and then ask for a time corrrection to add or
subtract to this. my only problem is that once the user inputs the time
and the
On Tuesday 18 October 2005 05:32, Richard Steiner stood up and spoke the
following words to the masses in /comp.os.linux.misc...:/
Here in comp.os.linux.misc,
John Wingate [EMAIL PROTECTED] spake unto us, saying:
Peter T. Breuer [EMAIL PROTECTED] wrote:
It seems to me that I was using 3.x.
Mike Meyer a écrit :
[EMAIL PROTECTED] (Alex Martelli) writes:
Maybe that's the key difference between the mindset of a
mathematician and that of an engineer -- I consider reaching over
95% of visitors to be _quite good indeed_,
Oh? So you'd consider an SMTP/IMAP/POP/DNS/NFS/etc server
Mike Meyer a écrit :
[EMAIL PROTECTED] (Alex Martelli) writes:
Maybe that's the key difference between the mindset of a
mathematician and that of an engineer -- I consider reaching over
95% of visitors to be _quite good indeed_,
Oh? So you'd consider an SMTP/IMAP/POP/DNS/NFS/etc server
My mistake, I understood plot (as in from wx.lib.plot import * that comes
with wxwidgets and which does have a demo)
Sorry,
Philippe
Robert wrote:
Philippe C. Martin wrote:
I think wxWidget comes with a sample
Philippe
Yes I use it, but there is not a sample with pyplot.
Robert
--
The shell that comes with MSys (from the MinGW guys). Is pretty good, although
it does have a bit of a problem with stdout output before a process exits, ie
it will hold back output until the process exits.
As a bonus, the file system is a little more sane, and if you are interested
in compiling
Michael Heiming wrote:
Let's not forget about the Internet, they invented together with
Al Gore and of course the wheel!
No fair picking on Al Gore. All he ever claimed was that he was the
Congressional point man for the Information Superhighway, which he was.
--
John W. Kennedy
Read the
Paul Rubin wrote:
All this extreme use of JS misses the point, it's client side
programming all over again
This is so true, although I don't expect those people relentlessly
hyping AJAX to either realise the significance of that observation or
to necessarily make an accessible Web site for
Mike Meyer [EMAIL PROTECTED] wrote:
...
What surprises me is that marketing types will accept turning away -
what's the current internet user base? 200 million? - 10 million
potential customers without a complaint. Or maybe they just don't get
told that that's what's going on.
In firms
Chris Lasher wrote:
Thanks for your responses, guys. I can't get the PIDA page to come up
for me; server timeout error. I'll have to look into Eclipse more, but
I've been warned that it's resource greedy and that the VI plugin
doesn't provide very much functionality. Still, that's hearsay, so
Have a main function that you pass the arguments into. This entry on Guido's
blog should help you out:
http://www.artima.com/forums/flat.jsp?forum=106thread=4829
-Chris
On Mon, Oct 17, 2005 at 09:02:10PM -0400, Ross Reyes wrote:
Hi -
I wonder if someone might be able to lend a quick
@GuardedClass
class Foo:
The functionality can be done using a meta-class, in a similarily
declarative way.
@Transient
a = 'a transient field, ignored when serializing'
@Const
PI = 22.0 / 7
@TypeSafe(int)
count = 10
These are tricky, as the implicitly change
I would second that. I use Vim for editing. I find I don't need an IDE (not
even for C/C++). Vim does everything I need. If I want a debugger I will use
the shell debugger. Most other things can be added to Vim, though I tend to
run with very few plugins.
-Chris
On Tue, Oct 18, 2005 at
This is an old thread in this subject that I bookmarked:
http://groups.google.com/group/comp.lang.python/browse_thread/thread/984262217c1b3727/8793a0b7722bb32f
--
http://mail.python.org/mailman/listinfo/python-list
Thorsten Kampe wrote:
For simple things like that BeautifulSoup might be overkill.
[HTMLParser example]
I've used SGMLParser with some success before, although the SAX-style
processing is objectionable to many people. One alternative is to use
libxml2dom [1] and to parse documents as HTML:
1 - 100 of 216 matches
Mail list logo