Re: for info

2018-02-01 Thread Dan Stromberg
On Wed, Jan 31, 2018 at 7:55 AM, wrote: > from where we learn python for free of cost. i am begineer in python.plzz > help me If you already know another programming language: https://wiki.python.org/moin/BeginnersGuide/Programmers If you're making Python your first language: https://wiki.pyth

Re: for info

2018-02-01 Thread Mario R. Osorio
On Wednesday, January 31, 2018 at 10:55:59 AM UTC-5, M.Haroon Ali wrote: > from where we learn python for free of cost. i am begineer in python.plzz > help me And after you're done with the OFFICIAL tutorials; there thousands of excellent free tutorials online. Just do some research. If you're

Re: for info

2018-01-31 Thread Joel Goldstick
On Wed, Jan 31, 2018 at 10:55 AM, wrote: > from where we learn python for free of cost. i am begineer in python.plzz > help me > -- > https://mail.python.org/mailman/listinfo/python-list > Start with python.org tutorial pages -- Joel Goldstick http://joelgoldstick.com/blog http://cc-baseballst

for info

2018-01-31 Thread harnali70
from where we learn python for free of cost. i am begineer in python.plzz help me -- https://mail.python.org/mailman/listinfo/python-list

Looking for info on how Python developers negotiate breaking changes in PyPI packages

2016-08-13 Thread Chris Bogart
Hi, I'm looking for some help from Python developers who write PyPI packages (or open source software that depends on PyPI packages). My research group is interested in the impacts of different choices package managers make when designing their ecosystems -- e.g. Python/PyPi, Hackage and R/CRAN. We

form mailer for info + files

2010-01-18 Thread Gregory
There is code all over on how to create a form mailer. I need an example that will show how to upload two files and send them along with form field info. Is it required to overwrite the python cgi.fieldstorage to do this? Working with Python 2.4.3. -- http://mail.python.org/mailman/listinfo/python

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: 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

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

2006-07-07 Thread wes weston
from HTMLParser import HTMLParser class MyHTMLParser(HTMLParser): def __init__(self): HTMLParser.__init__(self) self.TokenList = [] def handle_data( self,data): data = data.strip() if data and len(data) > 0: self.TokenList.append(data)

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

2006-07-07 Thread Kenneth McDonald
I'm writing a program that will parse HTML and (mostly) convert it to MediaWiki format. The two Python modules I'm aware of to do this are HTMLParser and htmllib. However, I'm currently experiencing either real or conceptual difficulty with both, and was wondering if I could get some advice. T

TkTable for info gathering

2006-05-12 Thread Gary Wessle
Hi I just finished with 1.5 tutorials about Tkinter, my thought is to use a table "maybe TkTable" to gather info from the user as to what file to chart data from, as well as info provided by the TkTable properties. each cell of the table will be either empty or contains a file path, let x=1 be t

Re: Looking for info on Python's memory allocation

2005-10-31 Thread Edvard Majakari
Steven D'Aprano <[EMAIL PROTECTED]> writes: > I'm discussing memory allocation techniques with somebody, and I'm trying to > find a quote from -- I think -- Tim Peters where he discusses the way Python > allocates memory when you append to lists. In basic terms, he says that every > time you try t

Re: Looking for info on Python's memory allocation

2005-10-11 Thread Martin v. Löwis
Fredrik Lundh wrote: I = iter(L) I > > > len(I) > > 3 [...] > (it's probably not a good idea to rely on this behaviour...) I believe this has been classified as a bug in Python 2.4, which will be undone in Python 2.5. Regards, Martin -- http://mail.python.org/mailman/listinfo/pyt

RE: Looking for info on Python's memory allocation

2005-10-11 Thread Delaney, Timothy (Tim)
Fredrik Lundh wrote: > Alex Martelli wrote: > >> (there is no common Python type on which you can both call >> len(...) AND the .next() method, for example -- a combination >> which really makes no sense). > L = [1, 2, 3] len(L) > 3 I = iter(L) I > > > (it's probably not a g

Re: Looking for info on Python's memory allocation

2005-10-11 Thread Fredrik Lundh
Alex Martelli wrote: > (there is no common Python type on which you can both call > len(...) AND the .next() method, for example -- a combination > which really makes no sense). >>> L = [1, 2, 3] >>> len(L) 3 >>> I = iter(L) >>> I >>> len(I) 3 >>> I.next() 1 >>> len(I) 2 >>> I.next() 2 >>> len(I

Re: Looking for info on Python's memory allocation

2005-10-11 Thread Alex Martelli
Steven D'Aprano <[EMAIL PROTECTED]> wrote: ... > > s = [k for k in iterable] > > > > if I know beforehand how many items iterable would possibly yield, would > > a construct like this be faster and "use" less memory? > > > > s = [0] * len(iterable) > > for i in xrange(len(iterable)): > >

Re: Looking for info on Python's memory allocation

2005-10-11 Thread Steven D'Aprano
On Tue, 11 Oct 2005 11:22:39 +0200, Lasse Vågsæther Karlsen wrote: > This begs a different question along the same lines. Er, no it doesn't. "Begs the question" does _not_ mean "asks the question" or "suggests the question". It means "assumes the truth of that which needs to be proven". http://e

Re: Looking for info on Python's memory allocation

2005-10-11 Thread Peter Otten
Lasse Vågsæther Karlsen wrote: > If I have a generator or other iterable producing a vast number of > items, and use it like this: > > s = [k for k in iterable] > > if I know beforehand how many items iterable would possibly yield, would > a construct like this be faster and "use" less memory? >

Re: Looking for info on Python's memory allocation

2005-10-11 Thread Lasse Vågsæther Karlsen
Sybren Stuvel wrote: > Steven D'Aprano enlightened us with: > >>he says that every time you try to append to a list that is already >>full, Python doubles the size of the list. This wastes no more than > If, on the other hand, you double the memory every time you run out, > you have to copy much

Re: Looking for info on Python's memory allocation

2005-10-10 Thread Sybren Stuvel
Steven D'Aprano enlightened us with: > he says that every time you try to append to a list that is already > full, Python doubles the size of the list. This wastes no more than > 50% of the memory needed for that list, but has various advantages > -- and I'm damned if I can remember exactly what th

Re: Looking for info on Python's memory allocation

2005-10-10 Thread jepler
While there may be a discussion somewhere in the archives, the comments in listobject.c are enlightening too. /* Ensure ob_item has room for at least newsize elements, and set * ob_size to newsize. If newsize > ob_size on entry, the content * of the new slots at exit is undefined heap trash; it

Re: Looking for info on Python's memory allocation

2005-10-10 Thread R Toop
http://mail.python.org/pipermail/python-list/2003-December/198141.html wherein Tim gently corrects my brash guess that Python lists are pointer-linked. The example's linearly-constructed list is allocated by doubling storage, copying & freeing (cf realloc). The result that the process virtual memo

Looking for info on Python's memory allocation

2005-10-10 Thread Steven D'Aprano
Can somebody help me please? I've spent a fruitless hour googling with no luck. I'm discussing memory allocation techniques with somebody, and I'm trying to find a quote from -- I think -- Tim Peters where he discusses the way Python allocates memory when you append to lists. In basic terms,

link to the HP 3115 iPAQ - list of features for info -- $350 w/Bluetooth built-in

2005-06-02 Thread val
http://cgi.ebay.com/ws/eBayISAPI.dll?ViewItem&item=5778810554&ssPageName=MER C_VIC_ReBay_Pr4_PcY_BIN -- http://mail.python.org/mailman/listinfo/python-list