Re: Augument assignment versus regular assignment

2006-07-08 Thread Kirk McDonald
Frank Millman wrote: > nagy wrote: > >>Thanks, Kirk. >>I considered the += as only a shorthand notation for the assignment >>operator. >>Since for lists + is simply a concatetation, I am not sure it x=x+[2] >>is creating a brand >>new list. Could you refer me to any documentation on this? >>Thanks

Re: first book about python

2006-07-08 Thread Vittorio
I read almost every published book about Python and I found Magnus' "Beginning Python" the best book to start with. As Alex said it is particularly appreciated by those who like learning by examples and by "try and error": it is actually the opposite to what Alex believed as "Beginning Python" is m

Re: Python *Eggs* on Win32

2006-07-08 Thread Srijit Kumar Bhadra
I got the answers myself. Thanks to http://tinyurl.com/ld2c9. With just basic installation of Python on Win32 (i.e. http://www.python.org/ftp/python/2.4.3/python-2.4.3.msi) it is possible to install .egg files (Python Eggs). 1) download http://peak.telecommunity.com/dist/ez_setup.py 2) run ez_setu

Re: Augument assignment versus regular assignment

2006-07-08 Thread Frank Millman
nagy wrote: > Thanks, Kirk. > I considered the += as only a shorthand notation for the assignment > operator. > Since for lists + is simply a concatetation, I am not sure it x=x+[2] > is creating a brand > new list. Could you refer me to any documentation on this? > Thanks, > Nagy My habit is to

Re: Inheritance error: class Foo has no attribute "bar"

2006-07-08 Thread Simon Forman
crystalattice wrote: > I've finally figured out the basics of OOP; I've created a basic character > creation class for my game and it works reasonably well. Now that I'm > trying to build a subclass that has methods to determine the rank of a > character but I keep getting errors. > > I want to "re

Re: Tkinter problem

2006-07-08 Thread Nick Craig-Wood
Simon Forman <[EMAIL PROTECTED]> wrote: > Just an idea, but if you're sure that > /usr/lib/python2.4/lib-dynload/_tkinter.so exists, check it's > permissions and the permissions of /usr/lib/python2.4/lib-dynload/ Also run ldd on it - you could be missing a library eg $ ldd /usr/lib/python2.4/

How properly manage memory of this PyObject* array?? (C extension)

2006-07-08 Thread [EMAIL PROTECTED]
Suppose a C extension locally built an array of PyObject* 's as follows... my_array = malloc(n * sizeof(PyObject*)); for (i = 0; i < n; i++) { my_array[i] = PyList_New(0); } Q1: Must I do a Py_DECREF(my_array[i]) on all elements before exiting this C extension function? (What if

Python *eggs* on Win32

2006-07-08 Thread Srijit Kumar Bhadra
I have browsed the following links 1) http://peak.telecommunity.com/DevCenter/EasyInstall 2) When Python *Eggs* better than Python *distutils*?? What's Eggs? (http://tinyurl.com/m8dyd) But I am still not clear what to do with an .egg file. For example, if I have a basic Python installation (http:/

Fwd: please remove posting we are receiving unsolicited emails

2006-07-08 Thread homeprice maps
dear python ,   as a result of the following posting http://mail.python.org/pipermail/python-list/2006-January/318387.html    as well as this posting   http://mail.python.org/pipermail/python-list/2006-January/318938.html   we are receiving emails from people regarding services and websites we ha

xpath question...

2006-07-08 Thread bruce
hi... i have the following section of test code where i'm trying to get the attribute of a frame i'm trying to print/get the src value. the xpath query that i have displays the "src" attribute in the Xpather/Firefox plugin. however, i can't quite figure out how to get the underlying value in

Re: first book about python

2006-07-08 Thread Alex Martelli
Jake Emerson <[EMAIL PROTECTED]> wrote: > There have been lots of recommendations for the O'Reilly book, which is > a good one. However, I would recommend "Beginning Python" by Magnus Lie > Hetland. All I knew before starting Python was Mathematica, and this > book was very helpful. It may seem to

Re: first book about python

2006-07-08 Thread Jake Emerson
There have been lots of recommendations for the O'Reilly book, which is a good one. However, I would recommend "Beginning Python" by Magnus Lie Hetland. All I knew before starting Python was Mathematica, and this book was very helpful. It may seem to start out slow, but I've found that I'm going ba

Inheritance error: class Foo has no attribute "bar"

2006-07-08 Thread crystalattice
I've finally figured out the basics of OOP; I've created a basic character creation class for my game and it works reasonably well. Now that I'm trying to build a subclass that has methods to determine the rank of a character but I keep getting errors. I want to "redefine" some attributes fr

Re: first book about python

2006-07-08 Thread Paul Rubin
IOANNIS MANOLOUDIS <[EMAIL PROTECTED]> writes: > I plan to buy a book. I always find printed material more convenient than > reading on-line tutorials. Why not print out the on-line tutorial and read the hardcopy? -- http://mail.python.org/mailman/listinfo/python-list

Re: wx Browser-objekt for python on Linux

2006-07-08 Thread Nigel Rowe
spooky wrote: > Hey, > >> Try looking at the wx.HtmlWindow demo > > Thank you...I know wx.HtmlWindow but that object can not parse > Javascript code :(( > > I need a cross-platform object that can parse js-scripts :( > > Can someone help me?? > > Bye, > > Spooky http://wxmozilla.sourceforge

Re: first book about python

2006-07-08 Thread crystalattice
On Sat, 08 Jul 2006 14:41:52 -1000, IOANNIS MANOLOUDIS <[EMAIL PROTECTED]> wrote: > I want to learn python. > I plan to buy a book. I always find printed material more convenient than > reading on-line tutorials. > I don't know PERL or any other scripting language. I only know some BASH > progra

Re: first book about python

2006-07-08 Thread BartlebyScrivener
>> I always find printed material more convenient than >> reading on-line tutorials. If you are sure you want a book and not online tutorials, then it's important that you have many code examples which include both the statements and the results. You may like Chris Fehily's Python Visual Quickstar

Re: first book about python

2006-07-08 Thread Cameron Laird
In article <[EMAIL PROTECTED]>, IOANNIS MANOLOUDIS <[EMAIL PROTECTED]> wrote: >I want to learn python. >I plan to buy a book. I always find printed material more convenient than >reading on-line tutorials. >I don't know PERL or any other scripting language. I only know some BASH >programming. I am

Re: first book about python

2006-07-08 Thread tac-tics
Philippe Martin wrote: > I don't know, if I were the genious that made up Python I would not believe > in any bible (small b) Take it to alt.religion please. > I want to learn python. > I plan to buy a book. I always find printed material more convenient than > reading on-line tutorials. I had t

Re: first book about python

2006-07-08 Thread gregarican
Try "Learning Python" which is part of the O'Reilly series of books they publish on computer programming. It's a good start. Most public library systems have copies you can check out, and most larger bookstores have it. Otherwise there's always Amazon.Com. Welcome to Python and enjoy! IOANNIS MANO

Re: first book about python

2006-07-08 Thread Philippe Martin
I don't know, if I were the genious that made up Python I would not believe in any bible (small b) IOANNIS MANOLOUDIS wrote: > I want to learn python. > I plan to buy a book. I always find printed material more convenient than > reading on-line tutorials. > I don't know PERL or any other scri

first book about python

2006-07-08 Thread IOANNIS MANOLOUDIS
I want to learn python. I plan to buy a book. I always find printed material more convenient than reading on-line tutorials. I don't know PERL or any other scripting language. I only know some BASH programming. I am looking for a book which will help me get started and should contain the foundation

Re: urllib2 on Windows Vista

2006-07-08 Thread Rune Strand
Sriram Krishnan wrote: > I'm running Python 2.4.3 on Windows Vista June CTP. I'm not able to > open any site using the urllib2 and related family of modules My wil guess is that it is a firewall problem. Perhaps you'll have to specify that python.exe is trusted. -- http://mail.python.org/mailm

Re: multithreading and shared dictionary

2006-07-08 Thread Aahz
In article <[EMAIL PROTECTED]>, Istvan Albert <[EMAIL PROTECTED]> wrote: >Marc 'BlackJack' Rintsch wrote: >> >> It's not in Jython nor IronPython and maybe not forever in >> CPython. > >Whether or not a feature is present in Jython or IronPython does not >seem relevant, after all these languages em

Re: split a line, respecting double quotes

2006-07-08 Thread Jim
Jim wrote: > Is there some easy way to split a line, keeping together double-quoted > strings? Thank you for the replies. Jim -- http://mail.python.org/mailman/listinfo/python-list

Re: check uploaded file's file size?

2006-07-08 Thread h3m4n
> Try this > > fileitem.seek(0, 2) # Seek to the end of the file. > filesize = fileitem.tell() # Get the position of EOF. > fileitem.seek(0) # Reset the file position to the beginning. thanks for the info. i just had to change it from fileitem to fileitem.file, e.g. fileitem.file.seek(0, 2),

Re: How to check if the connectivity is via Ethernet or dial-up

2006-07-08 Thread Roy Smith
In article <[EMAIL PROTECTED]>, "jb" <[EMAIL PROTECTED]> wrote: > Hi all: > > I was just wondering if there is a way to check (using python > scripting) whether the computer's connectivity is via Dial-up or > LAN/Ethernet adaptor? Is there a way in python to check the status of > all available E

How to check if the connectivity is via Ethernet or dial-up

2006-07-08 Thread jb
Hi all: I was just wondering if there is a way to check (using python scripting) whether the computer's connectivity is via Dial-up or LAN/Ethernet adaptor? Is there a way in python to check the status of all available Ethernet adaptors? If not is there a way to achieve this by just checking som

Re: The Split String Function - How to preserve whitespace?

2006-07-08 Thread [EMAIL PROTECTED]
Just wrote: >>>> "a\nb\nc\n".splitlines(True) >['a\n', 'b\n', 'c\n'] Genius - Thanks alot for the quick response !! :-) Thanks, Davy Mitchell The Good Ol' Blog http://www.latedecember.com/sites/personal/davy/ -- http://mail.python.org/mailman/listinfo/python-list

Re: The Split String Function - How to preserve whitespace?

2006-07-08 Thread Just
In article <[EMAIL PROTECTED]>, "[EMAIL PROTECTED]" <[EMAIL PROTECTED]> wrote: > I am trying to scan the lines in the string text: > lines = text.split('\n') > > seemed to do the job but has the side effect of stripping the > whitespace. As I am reading Python source in this text and che

Re: wx Browser-objekt for python on Linux

2006-07-08 Thread spooky
Hey, > Try looking at the wx.HtmlWindow demo Thank you...I know wx.HtmlWindow but that object can not parse Javascript code :(( I need a cross-platform object that can parse js-scripts :( Can someone help me?? Bye, Spooky -- http://mail.python.org/mailman/listinfo/python-list

The Split String Function - How to preserve whitespace?

2006-07-08 Thread [EMAIL PROTECTED]
Hi Folks, I am trying to scan the lines in the string text: lines = text.split('\n') seemed to do the job but has the side effect of stripping the whitespace. As I am reading Python source in this text and checking identation this is a bit annoying :-) How can I stop this happening? Does

Re: Augument assignment versus regular assignment

2006-07-08 Thread Kirk McDonald
nagy wrote: > Thanks, Kirk. > I considered the += as only a shorthand notation for the assignment > operator. > Since for lists + is simply a concatetation, I am not sure it x=x+[2] > is creating a brand > new list. Could you refer me to any documentation on this? Yes: http://docs.python.org/ref/

Re: Augument assignment versus regular assignment

2006-07-08 Thread Chris Lambacher
Looks like x=x+[2] creats a new list to me: >>> b = [8,5,6] >>> x = b >>> x = x + [2] >>> print b,x [8, 5, 6] [8, 5, 6, 2] -Chris On Sat, Jul 08, 2006 at 11:56:11AM -0700, nagy wrote: > Thanks, Kirk. > I considered the += as only a shorthand notation for the assignment > operator. > Since for list

Re: Nested scopes, and augmented assignment

2006-07-08 Thread Antoon Pardon
On 2006-07-07, Piet van Oostrum <[EMAIL PROTECTED]> wrote: >> Antoon Pardon <[EMAIL PROTECTED]> (AP) wrote: > >>AP> On 2006-07-07, Piet van Oostrum <[EMAIL PROTECTED]> wrote: > Antoon Pardon <[EMAIL PROTECTED]> (AP) wrote: >>AP> Could you maybe clarify what problem we are discussi

urllib2 on Windows Vista

2006-07-08 Thread Sriram Krishnan
I'm running Python 2.4.3 on Windows Vista June CTP. I'm not able to open any site using the urllib2 and related family of modules Here's what I get >>> import urllib2 >>> urllib2.urlopen("http://www.microsoft.com";) Traceback (most recent call last): File "", line 1, in ? File "D:\python24\li

Re: Detecting 64bit vs. 32bit Linux

2006-07-08 Thread Robert Kern
Jim Segrave wrote: > In article <[EMAIL PROTECTED]>, > dwelch91 <[EMAIL PROTECTED]> wrote: >> I need to detect whether the operating system I am running on (not the >> Python version) is 64bit or 32bit. One requirement is that I need to >> include support for non-Intel/AMD architectures. >> >> T

Re: wx Browser-objekt for python on Linux

2006-07-08 Thread [EMAIL PROTECTED]
Hi Spooky, Try looking at the wx.HtmlWindow demo - it is cross platform and is pretty capable. Thanks, Davy Mitchell http://www.latedecember.com/sites/personal/davy/ -- http://mail.python.org/mailman/listinfo/python-list

Re: Nested scopes, and augmented assignment

2006-07-08 Thread Antoon Pardon
On 2006-07-07, Terry Reedy <[EMAIL PROTECTED]> wrote: > > "Antoon Pardon" <[EMAIL PROTECTED]> wrote in message > news:[EMAIL PROTECTED] >> And if Nested variables are harmfull, > > I don't know if anyone said that they were, but Guido obviously does not > think so, or he would not have added the

Re: Augument assignment versus regular assignment

2006-07-08 Thread nagy
Thanks, Kirk. I considered the += as only a shorthand notation for the assignment operator. Since for lists + is simply a concatetation, I am not sure it x=x+[2] is creating a brand new list. Could you refer me to any documentation on this? Thanks, Nagy Kirk McDonald wrote: > nagy wrote: > > I do t

Re: Detecting 64bit vs. 32bit Linux

2006-07-08 Thread Paul McGuire
"MrJean1" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > Try function architecture() from the platform module in Python 2.3 and > 2.4. The first item of the returned tuple shows whether the underlying > system is 64-bit capable. > > Here is what it returns on RedHat Fedora Core 2 Li

Re: wx Browser-objekt for python on Linux

2006-07-08 Thread spooky
IE is for Windows...I need something for unix-systems :( Thx -- spooky -- http://mail.python.org/mailman/listinfo/python-list

Re: Detecting 64bit vs. 32bit Linux

2006-07-08 Thread MrJean1
Try function architecture() from the platform module in Python 2.3 and 2.4. The first item of the returned tuple shows whether the underlying system is 64-bit capable. Here is what it returns on RedHat Fedora Core 2 Linux on Opteron: >>> platform.architecture() ('64bit', 'ELF') >>> platform.unam

Re: wx Browser-objekt for python on Linux

2006-07-08 Thread shibaji . bannerjee
The wx demos contain an embedded browser (integrates an IE window) example. spooky wrote: > Hey, > > For windows there is a object wx.lib.iewin to integrate a browserwindow > into a python-wx-application. > I need a similar object, that runs under linux. > > Need help!!! > > Thx, > > Spooky --

Re: wx Browser-objekt for python on Linux

2006-07-08 Thread shibaji . bannerjee
The wx demos contain an embedded browser (integrates an IE window) example. spooky wrote: > Hey, > > For windows there is a object wx.lib.iewin to integrate a browserwindow > into a python-wx-application. > I need a similar object, that runs under linux. > > Need help!!! > > Thx, > > Spooky --

Re: multithreading and shared dictionary

2006-07-08 Thread Alex Martelli
K.S.Sreeram <[EMAIL PROTECTED]> wrote: ... > Alex Martelli wrote: > > Well then, feel free to code under such assumptions (as long as you're > > not working on any project in which I have any say:-) > > Hey, I would *never* write code which depends on such intricate > implementation details! No

Re: handling unicode data

2006-07-08 Thread Filipe
Frank Millman wrote: > Filipe wrote: > Try out the suggestions and let us know what happened. I for one will > be very interested. The last version of ODBTPAPI is 0.1-alpha, last updated 2004-09-25. Which is a bit scary... I might try it just the same though. -- http://mail.python.org/mailman/l

[Jython-users] Pydev and Pydev Extensions 1.0.6 release

2006-07-08 Thread Fabio Zadrozny
Hi All, Pydev and Pydev Extensions 1.0.6 have been released Check http://www.fabioz.com/pydev for details on Pydev Extensions and http://pydev.sf.net for details on Pydev Release Highlights in Pydev Extensions: - - New Feature: Sh

Re: multithreading and shared dictionary

2006-07-08 Thread K.S.Sreeram
Alex Martelli wrote: > Well then, feel free to code under such assumptions (as long as you're > not working on any project in which I have any say:-) Hey, I would *never* write code which depends on such intricate implementation details! Nonetheless, its good to *know* whats going on inside. As th

Re: Tkinter and dialogs

2006-07-08 Thread madpython
dwelch91 wrote: > I'm trying unsuccessfully to do something in Tk that I though would be > easy. It is easy. > The basic idea is that my application will consist of a series of modal > dialogs, that are chained together in "wizard" fashion. Didn't have time to get into the code you posted. Just thi

Re: multithreading and shared dictionary

2006-07-08 Thread Alex Martelli
Istvan Albert <[EMAIL PROTECTED]> wrote: > Marc 'BlackJack' Rintsch wrote: > > > It's not in Jython nor IronPython and maybe not forever in > > CPython. > > Whether or not a feature is present in Jython or IronPython does not > seem relevant, after all these languages emulate Python, one could

Re: multithreading and shared dictionary

2006-07-08 Thread Alex Martelli
K.S.Sreeram <[EMAIL PROTECTED]> wrote: ... > Consider two threads A and B, which are independent except for the fact > that they reside in the same module. > > def thread_A() : > global foo > foo = 1 > > def thread_B() : > global bar > bar = 2 > > These threads create entries

Re: multithreading and shared dictionary

2006-07-08 Thread Istvan Albert
Marc 'BlackJack' Rintsch wrote: > It's not in Jython nor IronPython and maybe not forever in > CPython. Whether or not a feature is present in Jython or IronPython does not seem relevant, after all these languages emulate Python, one could argue that it only means that this emulation is incomplet

Mechanize-Browser question..

2006-07-08 Thread bruce
hi.. i have the following piece of test code. i'm trying to implement/check out the follow-link method. i'm just trying to figure out how to get a link from the page. i was hoping that the regex would basically get the 1st url link... any thoughts/comments/ideas as to what i'm doing wrong. than

Re: multithreading and shared dictionary

2006-07-08 Thread K.S.Sreeram
Alex Martelli wrote: > Wrong, alas: each assignment *could* cause the dictionary's internal > structures to be reorganized (rehashed) and impact another assignment > (or even 'get'-access). (been thinking about this further...) Dictionary get/set operations *must* be atomic, because Python makes

Re: check uploaded file's file size?

2006-07-08 Thread Simon Forman
h3m4n wrote: > i have a short script that allows users to upload files, but when i try > to check for a valid filesize (using fileitem) i get '-1' i can't find > information about using filesize anywhere. any ideas? > > code: > > form = cgi.FieldStorage() > fileitem = form["datafile"] > print str

wx Browser-objekt for python on Linux

2006-07-08 Thread spooky
Hey, For windows there is a object wx.lib.iewin to integrate a browserwindow into a python-wx-application. I need a similar object, that runs under linux. Need help!!! Thx, Spooky -- http://mail.python.org/mailman/listinfo/python-list

Re: multithreading and shared dictionary

2006-07-08 Thread K.S.Sreeram
Marc 'BlackJack' Rintsch wrote: >>> Wrong, alas: each assignment *could* cause the dictionary's internal >>> structures to be reorganized (rehashed) and impact another assignment >>> (or even 'get'-access). >> but wont the GIL be locked when the rehash occurs? > > If there is a GIL then maybe yes.

Search for python-tool to parse Javascript code...

2006-07-08 Thread spooky
Hey, I need a tool for python to create dynamic links from a javascript. Thx, Spooky -- http://mail.python.org/mailman/listinfo/python-list

Print Tkinter canvas oject contents from Windows?

2006-07-08 Thread [EMAIL PROTECTED]
What is the best way to print a graphic image contained within the canvas oject in Tkinter ruinng under Windows (XP)? The only thing I found so far was the canvas postscript method...it there a more direct way? thanks -- http://mail.python.org/mailman/listinfo/python-list

Pls excuse if you consider this off-topic. Conceptual artists seek programmers here.

2006-07-08 Thread M_Mann
Hello, Pls excuse if you consider this off-topic. Conceptual artists seek programmers here. We are authors of "Exhibition of Living Managers" (MANAGEX, www.managex.info) which is is global conceptual art project, performed in world's leading contemporary art centres. Art objects at MANAGEX are re

Re: multithreading and shared dictionary

2006-07-08 Thread Marc 'BlackJack' Rintsch
In <[EMAIL PROTECTED]>, K.S.Sreeram wrote: > Alex Martelli wrote: >> Wrong, alas: each assignment *could* cause the dictionary's internal >> structures to be reorganized (rehashed) and impact another assignment >> (or even 'get'-access). > > but wont the GIL be locked when the rehash occurs? If

Re: Parsing HTML--looking for info/comparison of HTMLParser vs. htmllib modules.

2006-07-08 Thread Fredrik Lundh
Fredrik Lundh wrote: > the only difference between the libs (*) is that HTMLParser is a bit > stricter *) "the libs" referring to htmllib and HTMLParser, not htmllib and sgmllib. -- http://mail.python.org/mailman/listinfo/python-list

Re: Detecting 64bit vs. 32bit Linux

2006-07-08 Thread Jim Segrave
In article <[EMAIL PROTECTED]>, dwelch91 <[EMAIL PROTECTED]> wrote: >I need to detect whether the operating system I am running on (not the >Python version) is 64bit or 32bit. One requirement is that I need to >include support for non-Intel/AMD architectures. > >The 2 ways I have thought detecti

Re: multithreading and shared dictionary

2006-07-08 Thread K.S.Sreeram
Alex Martelli wrote: > Wrong, alas: each assignment *could* cause the dictionary's internal > structures to be reorganized (rehashed) and impact another assignment > (or even 'get'-access). but wont the GIL be locked when the rehash occurs? Regards Sreeram signature.asc Description: OpenPGP di

Re: how can I avoid abusing lists?

2006-07-08 Thread Jim Segrave
In article <[EMAIL PROTECTED]>, Rob Cowie <[EMAIL PROTECTED]> wrote: >Just forget the lists... > >counters = {0:0, 1:0, 2:0, 3:0, 4:0} > >def increment(value): >counters[value] += 1 > >increment(1) >increment(1) >increment(3) >increment(4) > >print counters[0] 0 >print counters[1] 2 >

Re: Out of the box database support

2006-07-08 Thread Shane Hathaway
Alex Biddle wrote: > Ah, so separate downloads then. At least now I know. > > Ergh... I checked the version of Python my current host is running and its > 2.2. > > ...ergh This is why you really want a VPS (virtual private server). The cost is similar to a web host but you get to choose y

python-dev Summary for 2006-06-01 through 2006-06-15

2006-07-08 Thread Steven Bethard
python-dev Summary for 2006-06-01 through 2006-06-15 .. contents:: [The HTML version of this Summary is available at http://www.python.org/dev/summary/2006-06-01_2006-06-15] = Announcements = --- Pyth

Re: multithreading and shared dictionary

2006-07-08 Thread placid
Alex Martelli wrote: > Istvan Albert <[EMAIL PROTECTED]> wrote: > > > Stéphane Ninin wrote: > > > > > Is a lock required in such a case ? > > > > I believe that assignment is atomic and would not need a lock. > > Wrong, alas: each assignment *could* cause the dictionary's internal > structures to

Re: some questions on how to study the bittorent.

2006-07-08 Thread Marc 'BlackJack' Rintsch
In <[EMAIL PROTECTED]>, Moore Liu wrote: > Hi all, > > I am very interesting in the detailed implement of bittorrent and have > read some p2p protocol document, but I want to know more of the > technique implementation. It's time-consuming to reverse-engineering > the code to understand the desig

Re: handling unicode data

2006-07-08 Thread Frank Millman
Filipe wrote: > > The only reason I still think Pymssql (and therefore, DB-Library) might > be the best option is that, it is the only one I know that is both > cross-platform and free - as in beer and as in freedom. (check, in this > thread, a previous message by Tim Golden) > I have bookmarked

some questions on how to study the bittorent.

2006-07-08 Thread Moore Liu
Hi all, I am very interesting in the detailed implement of bittorrent and have read some p2p protocol document, but I want to know more of the technique implementation. It's time-consuming to reverse-engineering the code to understand the design intention of it. So my question is: Is there any we

Re: Parsing HTML--looking for info/comparison of HTMLParser vs. htmllib modules.

2006-07-08 Thread Fredrik Lundh
Kenneth McDonald wrote: > The problem I'm having with HTMLParser is simple; I don't seem to be > getting the actual text in the HTML document. I've implemented the > do_data method of HTMLParser.HTMLParser in my HTMLParser subclass, but > it never seems to receive any data. Is there another way