> Quite true and this lack of clarity was a mistake on my part. Requests
> from users do not really become a significant part of this equation
> because, as described above, once a user subscribes the onus is upon us
> to generate messages throughout a given period determined by the number
> of u
I developed for my former employee a thin client whose primary purpose
was AS400 connectivity. This required a fairly complex interactive
gui configuration which I wrote in Python.
This system could also be configed by a remote manager. Wrote
that also in python using UDP sockets.
The hardware was
I see several on this list have their opinion and lean toward VB.
Not me, done that and vc++. Hate'em. Been developing 30 years
and I like control over what I'm doing and Python and Tkinter are
the best tools I've ever used. And for the most part IDE's like
BOA Constructor are just confusing. IMHO
>
> Theres even a version of Python for .NET, called IronPython. The major
> advantage of this is that you get to program in Python, which I can
> tell you from experience is a lot more enjoyable and pain-free than C,
> C++, Fortran, or Java (and, I would highly suspect, VB and C#). But
> apparen
>
> You are quite correct to point out how much better it is to know what is
> going on behind the scenes. But heck, once you know how to extract square
> roots - you need to let the computer do it!
>
> GUI interfaces should be the same deal!
> Thomas Bartkus
>
I think I pretty much agree. I es
> I may
> try to convince the boss that I can write dos programs for the existing
> machine. If we get any kind of upgrade, I'm sure it will be able to run
> linux with X and a low overhead window manager. If that happened, I'd
> be able to use python and this "tk" thing you have talked about and
>
> I don't want to start a flamewar here -
>
No heat, no flames. Everyone's cool
> Let me emphasize a little more. Even though Python itself is great, I think we
> don't have quite yet tools that offer
>
Ya know, I just don't know enough about javaworld.
The language I do not like.
I wonder
> About teaching in the exact sciences: I think we need a more hands-on
> applied approach, to some extent this holds for the entire school
> system.
YES! As a geometry(& trig) teacher, I am going to have them build a
shed, a kite, a sundial. I would love some doable ideas for hands
on which woul
> Wow! How about a sextant?
> Simple device really. And a great practical demonstration of trigonometry.
>
Excellent idea, even found a few how to sites. We'll do it.
Any others?
I think I am going to have them build a shed because
they need to get their hands on SOMETHING.
But the geometry/tim
Python is in my opinion the best "all-purpose" language ever
designed ( lisp is extremely cool but not as all purpose.)
Much more elegant than perl and far far easier to do cool things
than java (java is c++ on valium).
HOWEVER, "all purpose" needs a little disclosure.
A well coded C program may b
Peter Hansen wrote:
> godwin wrote:
>
>> I wanna thank Martin for helping out with my ignorance concerning
>>execution of stored procedure with python. Now i have decided to write
>>a web app that googles into my companies proprietary database.
>>
>
> Just checking... do you really mean "g
> either... It sits under...
Well that's a relief, cause ...sits on top of
was confusing.
> A rather object-oriented system for managing and serving web
> applications and data (using object inheritance for common behavior,
> etc.) This makes Zope a toolkit, not an end application itself.
> I did already post a serious reply, but now I'm afraid I've been
> trolled. :-P
>
I hope you did not think I was dissing your response, because I
certainly was not and in fact recognized your response as a
sincere effort to enlighten.
To whomever I directed sarcasm I apologize. My frustrat
> It's an object oriented database, with a structure that is similar to
> files and directories in an ordinary OS.
>
> But it is a lot smarter, because the files and directories are actually
> objects with different attributes and parameters.
>
> The methods on these objects can then be called
ption in Tkinter callback
Traceback (most recent call last):
File "/usr/local/lib/python2.3/lib-tk/Tkinter.py", line 1345, in __call__
return self.func(*args)
File "/home/phil/geo/g.py", line 303, in enter
else:s.proc()
File "/home/phil/geo/g.py", line
rating to think that in a language like python
there might be things which you can't make a copy of.
That is bizarre enough to wonder about a deep flaw or
hopefully I'm just doing something very wrong.
Any ideas appreciated.
phil wrote:
> I wrote the following to prove to myself that
>
> The deepcopy protocol does allow you to specify how complicated objects
> should be copied. Try defining __deepcopy__() in your objects to just copy
> the reference to the Canvas object instead of the object itself.
I can't figure out from the docs what __deepcopy__ is or how it
works.
I h
> but you clearly haven't
> been getting the results from this forum that you expected.
>
Yes I have, this is a wonderful forum.
I was just providing more info due to more testing.
--
http://mail.python.org/mailman/listinfo/python-list
Thanks, I used some of your methods and believe it is now
working.
I also did a lot of experiments, which I've needed to do,
investigating when references vs values are passed and
returned. Not as obvious as I thought.
Duncan Booth wrote:
> phil wrote:
>
>
>>
>>
I use PySerial in a 16 line data collection system
with LOTS of threads, and yes am frustrated by read().
This sounds excellent, keep us updated.
BTW, haven't done any event driven Python except Tkinter.
Would this a class library which would let you
define an event and a handler?
Do you have a
> Kay Schluehr ([EMAIL PROTECTED]) wrote:
> : No good news for scripting-language fans:
>
> : http://www.phpmag.net/itr/news/psecom,id,23284,nodeid,113.html
>
What incredible horse dooey.
The only thing that NEVER "penetrates the enterprise space"
is good sense.
Does anyone read history books
>
> Tkinter is the default GUI for Python, it runs on lots of platforms
> and often comes already installed (on Linux or Unix distributions).
>
I use Tkinter for a geometry course. I think it is fairly easy to
learn, much easier than say VB. VERY portable and pretty well
documented and very
> As I said, I'm looking for multiplatform solution.
> So, I will go with Python, Tk and C++ (for algorithm and critical parts
> of applications). Tk is simple, very simple, Python I like, C++ I love,
> as I'm professional C++ programmer.
Good choice!
--
http://mail.python.org/mailman/listinfo/
I'm cpmpletely lost on fonts.
I'm using Tkinter
I do medarial = '-*-Arial-Bold-*-*--24-*-*-*-ISO8859-1"
or Courier or Fixed in various sizes.
Works great on my RH 7.2
But a small embedded system Im working on, nothing seems to work,
almost everything falls back to a fixed 12
The X*4 fontpaths are t
In a Tkinter entry field (or Pmw entry)
how could I eat charactres?
Say a certain char is keyed in. Say &
I notice in the event handler for .
I don't want any more charactres to display or
be in the field until I handle a see, in the
event handler, another character. Say ?
Can the event handler som
Sorry for the repost, but moderator
jeld the last one,
In a Tkinter entry field (or Pmw entry)
how could I eat charactres?
Say a certain char is keyed in. Say &
I notice in the event handler for .
I don't want any more charactres to display or
be in the field until I handle, in the
event handler, a
Jeff Epler wrote:
On Wed, Mar 02, 2005 at 04:58:03PM -0600, phil wrote:
Sorry for the repost, but moderator
jeld the last one,
We saw both posts.
In a Tkinter entry field (or Pmw entry)
how could I eat charactres?
create a binding on the widget for the particular character you want to
treat
everything I post to this list bounces awaiting moderator
approval, due to suspicious header.
COuld someone tell me what's wrong. I'm on lots of list
with no problem.
--
http://mail.python.org/mailman/listinfo/python-list
Problem, the focus is on a field which has contents
and I scan the credit card card, which is keyboard input.
The field is altered and a bunch of chars fly acroos the
field. messy.
Ok, I can solve this in a very clumsy manner.
1. I see the first character of the scan, '%',
configure the field to s
I have a very strange bug. A thread in a .pyc stops dead.
This program has many threads and queues and has worked
great for months.
One thread listens for UDP messages from other programs,
and puts the messages in listenq.
Procmsgs gets from listenq and for a certain kind of
message creates anoth
> 4. The fact that you have a .pyc file instead of a .py
> file very likely has *nothing* to do with any threading
> problem you are facing, so I suggest you get past that mental
> block and look elsewhere.
Well, I tried to make it clear that the ONLY difference between
working and not working was
>Wow, amazing! Imagine that... asking for elaboration when
>someone posts unclear confusing questions and extraneous
>information. The noive!
I would be happy to elaborate. No one asked to me to elaborate.
I was simply told I didn't give enough information.
I wasn't given an idea of what addition
And sorry I got ticked, frustrating week
>And I could help more, being fairly experienced with
>threading issues and race conditions and such, but
>as I tried to indicate in the first place, you've
>provided next to no useful (IMHO) information to
>let anyone help you more than this
This is about 5
>You have the source to Queue.py in your standard library
>folder. Why not throw a few more print statements into
>its __init__ and see what you learn?
Yeah I put some print statements in init and it seems
to complete.
>Are you by any chance running on a new version of the
>Linux kernel, where the
I need to know if a process is running.
not just python.exe
but python.exe myapp
from win32all
EnumProcesses gives me the pids, then
OpenProcess(pid) gives me a handle.
Then what?
GetModuleFileNameEX? It requires two handles as args
and I can't figure out which one is the handle from OpenProcess
a
Using Tkinter Canvas to teach High School Geometry
with A LOT of success.
My drawing gets very slow after a lot of actions.
For instance I have created code to rotate a set of objects
about a rotation point.
rotate 360 degrees starts to get slow
after 720 degrees its crawling.
I checked the item li
be a different calendar module included with Wing?
import calendar
cal = calendar.prcal(2013)
print cal
Traceback (most recent call last):
File "calendar.py", line 1, in
import calendar
File "/home/phil/calendar.py", line 3, in
cal = calendar.prcal(2013)
Att
On 17/02/13 18:01, Andrew Berg wrote:
On 2013.02.17 01:47, Phil wrote:
Why would this code work under the Wing IDE and nowhere else? Could
there be a different calendar module included with Wing?
import calendar
cal = calendar.prcal(2013)
print cal
Traceback (most recent call last):
File
On 17/02/13 18:40, James Griffin wrote:
- Phil [2013-02-17 17:47:15 +1000] - :
Thank you for reading this.
My adventures with Python have just begun and during the few weeks I
have tried many IDEs. The following piece of code fails under all
IDEs, and the interpreter, except under
missing from my system or
perhaps a path error.
This is the error message:
The debugged program raised the exception unhandled ImportError
"No module named MainWindow"
File: /home/phil/main.py, Line: 4
And this is the code:
!/usr/bin/python
from PyQt4.QtGui
On 17/02/13 21:35, Vincent Vande Vyvre wrote:
Le 17/02/13 10:08, Phil a écrit :
Thank you for reading this.
I've been playing with Eric all day and I almost have a working GUI
application, but not quite. I have followed the two tutorials on the
Eric site and I'm sure that I ha
On 17/02/13 21:35, Vincent Vande Vyvre wrote:
Le 17/02/13 10:08, Phil a écrit :
Thank you for reading this.
I've been playing with Eric all day and I almost have a working GUI
application, but not quite. I have followed the two tutorials on the
Eric site and I'm sure that I ha
On 18/02/13 18:07, Vincent Vande Vyvre wrote:
Le 18/02/13 00:04, Phil a écrit :
...
from PyQt4 import QtCore, QtGui
from ui.MainWindow import MainWindow
As I've sayed in my last post, this is not "ui.MainWindow" but
"ui.mainwindow"
Thanks again Vincent,
Your a
for Python to build GUIs. I see that there is TKinter, which is a
scripting function to build GUIs. To be clear, I'm looking for a graphical
interface to build GUIs. Thanks.
I'm new to Python myself and the best IDE that I've found is Eric.
--
Regards,
Phil
--
http://mail.python.org/mailman/listinfo/python-list
the error message makes me
think that pygame doesn't work from the console:
"video system not initialized"
Is there a simple way to read the direction keys within a while loop?
--
Regards,
Phil
--
http://mail.python.org/mailman/listinfo/python-list
On 21/02/13 13:36, Ned Deily wrote:
In article <51255c8a.7090...@bigpond.com>, Phil
wrote:
I'm attempting to put a simple remote control program together and to do
so I need to check if the arrows are pressed. I could probably do this
with pyqt4 but I'm looking for som
>> Using Tkinter Canvas to teach High School Geometry
>> with A LOT of success.
>Can you post a link to your code.
>I'd like to see what you are doing.
>Thx,
>Alan Isaac
Yes, I will release it open source at the end of may.
There are too many features I want to add to release it now.
Essentially it
I'm mapping quadratic equations on a Canvas.
But that's irrelevant, the point is I am drawing
a lot of points in a loop without returning to
mainloop until the end. I want my students to see the
drawing progress, so I call update_idletasks() after
each tiny rectangle. ( I use to call update() and
You didn't indicate how deep you want to get into
the code yourself.
I am gonna step way out of my mathematical depth here
and say this should not be too difficult in python.
1. you need to know the format of .wav
surely it is a set of frequency amplitude pairs.
2. you need to know the samplin
>>I am gonna step way out of my mathematical depth here
>>
>
> I mean no disrespect, but this is the last accurate statement you made.
>
You are probably correct, I am certainly out of my field and hope
that noone would embark on a hopeless project based on my few words.
However, the school di
> I seem to remember a thread a while ago about a 'bug' with the Tk Canvas
> widget keeping a reference to objects that had been deleted...
>
> Have you thought about using the 'move' method to move your lines? I
> think this will result in less supprises...
>
Actually I solved that problem.
> I have a image file on my pc, say a .jpg. Basically I want to setup a
> client/server socket, and I want the client to read in the jpg and send
> it to the server, where the server can write that data into a new file
> on the server.
>
> I tried just doing something like..
>
> x = open("abc.
>
> By the way, what is 'rb' and 'wb' ?
>
Read Binary, Write Binary
In Win32 the default is text mode which
will screw up binary files
> Also, when I create a client/server sockets I do something like...
>
> SERVER
> ---
> server.bind(('', 4321))
> (sock, addr) = server.accept()
> x =
I get a digest several times a day.
When I wish to respond to an item I must
cut and paste the item and the subject line.
Is there something to click on for a simple reply?
Using an old mozilla mail.
Thanks
--
http://mail.python.org/mailman/listinfo/python-list
>>
>>So what if the client sends 4 bytes, and then sends 8000 bytes? WIll I
>>get the first 4 bytes as a separate msg so to speak? Basically i want
>>to catch each message from the client as a whole.
>>
IF YOU WANT SEPARATE MESSAGES:
Modify the client to send an end of record, then:
On Server:
xeron wrote:
> Hi ya fellas
>
> I am planning to learn Python, and because i have a networking
> background so would like to direct my learning in a way that is
> beneficial to my tasks in the mentioned field, please suggest a couple
> of projects which i can implement so as to accelerate th
flamesrock wrote:
> Just curious - is there an easy way to shape bandwith in python. If I
> wanted to have a max download speed for instance
>
> -thanks
>
Interesting normally bandwidth shaping is an IP stack function
in the Kernel.
You are receiving a download within a python program?
And wan
xeron wrote:
> Thanks phil, I think I'll start off with your chat prog (UDP-- 50 lines
> code ) and then try for routing and firewall scripts for linux, yepp
> that would be really tough but why not give it a try, i am going to
> have my vacations for like 13 days so will be prep
fl = 1.0002
x = str(fl)
pos = x.find('.')
print len( x[pos+1:] )
>>> 4
mrstephengross wrote:
> Hi all... How can I find out the number of significant digits (to the
> right of the decimal place, that is) in a double? At least, I *think*
> that's what I'm asking for. For instance:
>
> 0.103 -->
Bollocks, works here.
That looks like Java!!! Aaaihh!
mrstephengross wrote:
> Ok, that won't work. First of all, str() is not a function. If I want
> to convert the float into a string, the conversion function will have
> to use some kind of numeric precision, which will screw things up.
> Cons
Bill Gates us MD5. Hah!
Sorry. :-)
Blake T. Garretson wrote:
> I want to save some sensitive data (passwords, PIN numbers, etc.) to
> disk in a secure manner in one of my programs. What is the
> easiest/best way to accomplish strong file encryption in Python? Any
> modern block cipher will do:
>
> Fredrik Lundh wrote:
>
>>Python is not C++.
>>
Praise the Lord.
>>
>
> I dunno if this makes QOTW, but I vote we put this in our list text that
> goes out with each and every list message.
>
> There will still be a lot of people who don't read it, but at least
> we'll get to say, "We t
> you haven't answered my question, btw: why are you using __del__
> to do something that the garbage collector should do for you?
After more reading it seems I have made an ass of my self on this
subject. Here is my problem at length.
I teach high school geometry. I have created a program wit
> Then i got a tip that you can register a function that needs to be
> called when the object is going to be deleted.
> For instance to register a function __exit, you do this:
>
Here is the complete line class with your suggestion:
Below is the output.
Nice idea, maybe I did something wrong
WM_TAKE_FOCUS does not work on WinXP ??
I was sure I had used that on win before.
Works on Linux.
I have a function I need to run when the window
gets the focus. How do you do that in Tkinter
on Win32?
Thanks
--
http://mail.python.org/mailman/listinfo/python-list
>
> do you (or whoever gave you the tip) have the slightest idea what atexit does?
>
Yeah, I got the tip on this group. researched and found it was
for when program ends!
I was trying to treat it like a destructor. darn.
--
http://mail.python.org/mailman/listinfo/python-list
Thanks, works great.
>>I have a function I need to run when the window
>>gets the focus. How do you do that in Tkinter
>>on Win32?
>>
>
> binding the event should work.
>
> (and make sure that the takefocus option is set)
--
http://mail.python.org/mailman/listinfo/python-list
These work fine on Linux
s.const = {}
s.const['DEG'] = '%c' % (0xb0)
s.const['DIV'] = '%c' % (0xf7)
s.const['ANG'] = '%c' % (0xd8)
On WinXP the symbols for division and angle work fine.
But the symbol for degrees, a little circle, produces
a vertical bar in Tkin
> | > s.const['DEG'] = '%c' % (0xb0)
> | > But the symbol for degrees, a little circle, produces
> | > a vertical bar in Tkinter Text box or Canvas.
> t.insert(0.0, u'%c' % 0xb0)
>
> should do the trick though.
>
COOL! Thanks, though that seems a little odd.
As far as I know %c igno
Thanks.
My confusion was man 3 printf u is unsigned.
But of course that would be after %.
Never paid any attention to unicode,
but will now.
I'll figure out on my own why Tkinter and
WinXP console treated differently or used different
codepage. Thanks.
Jeff Epler wrote:
> this isn't about the
If you are talking Linux there's .Xdefaults
Which I had to resort to for tn5250.
For Tkinter apps its a LOT easier to just use bind.
Win32? dunno.
Bob Greschke wrote:
> I have a Tkinter Text() widget in a program that the user can type stuff
> into. Most of our keyboards have the regular keys
Using Tkinter to teach high school geometry.
Sorta committed to Tkinter at least for now.
Would like to use some special chars like
limits, infinity, square root, cube root
and a buch more.
in Text Box and Cancas
Is there some package I can integrate with
Tkinter to do this.
Even better would a '
So far, on RedHat Linux:
I have used your method successfully in a Label
and in Canvas Text. very slow.??
In A Text box I just get \N{INFINITY}.
But thanks, I will investigate Text Box more.
Jeff Epler wrote:
> I wrote the following code:
> import Tkinter
> t = Tkinter.Label()
> t.c
> text=u"As the function approaches \N{INFINITY}, \N{HORIZONTAL
> ELLIPSIS}")
Never mind, works in a Text widget, my bad.
Why is it so slow? (RH Linux, 2.4.20, 1.6Ghz AMD)
3/4 second slower to display widget w/unicode,
even if I encode u'\u221e'
Works though, this is great.
--
http:/
> What civil engineers need with all this programming is beyond me.
One of my best friends and expartner and top civil-structural
engineers in the country (he built Dallas Reunion Arena and many
other complex structures) was an ace programmer in many languages.
He was not willing to just accep
I can't find, anyone know the unicode symbol
CONGRUENT.
either tilde over equal or triple
tidde would do.
Thanks.
--
http://mail.python.org/mailman/listinfo/python-list
Thanks.
I did search that site but, wow, huge.
That page had no reference to congruence
and the pdf did not contain the pattern
congru.
But I'll have some better ideas how to search next
time.
thanx
I used \u2245 btw
John Machin wrote:
> phil wrote:
>
>>I can't find,
>&
Not taking a position for or against the original post:
Everytime this comes up, on any group, one little annoying
post results in and endless discussion and sometimes
hurtful flame war.
Perhaps the rest of us should let the moderator handle it
and get back to something interesting, like Python.
>
> What experiences have those in the Python community had in these kinds
> of situations?
>
Ive had lots of experience updating my resume and
developing software at home. In Python.
Java is a clumsy kludge. And the java environment has gone to hell.
Managers DO NOT listen to engineers. M
On 2008-03-18, sturlamolden <[EMAIL PROTECTED]> wrote:
> First, I recommend that you write readable code! Don't use Python as
> if you're entering the obfuscated C contest.
>
> Two particularly important points:
>
> * Comments are always helpful to the reader.
It would be nice if this was the case
I use distutils / setup.py to install 'packagename', where...
/packagename
__init__.py
modulename.py
modulename.py has a class named 'classname'.
>From an arbitrary python module, I 'import packagename'.
In said module, I want to use the 'classname' class from
'packagename.modulename', by
I understand all of the above, including the reasons as to why this is
bad. For purposes of experimenting, I would still like to do it.
I guess I'm (still) wondering how it is done in webpy. I recall seeing
it done elsewhere too.
All I noticed was that in webpy's package 'web', it defines the
'ap
I wrote my last message late last night. When I said "I am unable to
import a module from the package without an import error.", I did mean
the 'modulename' module.
However, I just set up a Debian VM with Python 2.5.2 and what I was
trying to do works. So it is either something that changed with P
list it was
created with.
Thanks for any help,
Phil
--
http://mail.python.org/mailman/listinfo/python-list
I left one crucial detail out. My concern was the fact that the
original headers list being wrapped ('list' in my example) is not
being updated.
--
http://mail.python.org/mailman/listinfo/python-list
I'm really new to Python and I am absolutely stumped trying to figure
this out. I have searched plenty, but I am either searching for the
wrong keywords or this isn't possible.
What I want to do is have one import be global for the entire package.
Here is an example...
__init__.py
module1.py
Thanks to both of you for the fast and detailed responses. I will just
treat the package for what it is, a namespace.
--
http://mail.python.org/mailman/listinfo/python-list
Thanks to both of you for the fast and detailed responses. I will
just
use the package for what it is, a namespace.
--
http://mail.python.org/mailman/listinfo/python-list
Thanks to both of you for the fast and detailed responses. I will just
use the package for what it is, a namespace.
--
http://mail.python.org/mailman/listinfo/python-list
I am trying to understand the difference between __import__(x) and
__import__(x, {}, {}, ['']).
The documentations wording was a bit weird for me to understand:
"The standard implementation does not use its locals argument at all,
and uses its globals only to determine the package context of the
i
"If you call it without a value for 'globals', it uses the current
value of globals()."
Thanks, this is what I was trying to ask. I typed my question up way
too fast before dinner. You've been great help.
--
http://mail.python.org/mailman/listinfo/python-list
I've seen lots of web sites explaining everything, but for whatever
reason I seem to not be picking something up.
I am a graphical person, which is probably the reason I haven't found
my answer.
May somebody please confirm if my diagram accurately represents the
stack, generally speaking.
http://i
Thank you for the helpful and timely response.
My interest in Python 3.1 was actually to develop a framework. Again,
I can feel the flames. :) I understand there are enough frameworks but
I actually have no applications that I wish to develop. I enjoy
developing these kinds of things from scratch
On Aug 25, 11:17 pm, alex23 wrote:
> Phil wrote:
> > My interest in Python 3.1 was actually to develop a framework. Again,
> > I can feel the flames. :) I understand there are enough frameworks but
> > I actually have no applications that I wish to develop.
>
> No o
Thanks to everybody. I believe I am understanding things better.
I have looked at the links that have been provided, although I have
seen most of them in the past month or so that I've been looking into
this stuff. I do agree with most of the things Armin stated in that
NIH post. I agree with ever
Thanks a lot for another response. I've never posted in groups like
this before but the results are amazing.
I will definitely consider trying mod_wsgi when I get a chance. I like
the approach taken with it. It is unfortunate that I completely missed
all Apache related material because I was using
Thanks Graham. I actually ended up reading that blog post from a
Google search last night before I saw your response. It was very
informative.
Bruno, I will take a look at those groups to expand my knowledge. When
I gave that arbitrary percentage, I was basing it off of the
information I had seen
Haha. While I don't disagree with you, I seem to be under the
impression that you think I haven't been reading the web where nearly
every blog post complains about the abundance of Python frameworks.
The thing is, most of the frameworks being commented on in such a way
are 'microframeworks' that pr
On 28 May 2013 02:21, "Carlos Nepomuceno"
wrote:
>
>
> > Date: Mon, 27 May 2013 17:58:00 -0700
> > Subject: Re: Total Beginner - Extracting Data from a Database Online
(Screenshot)
> > From: logan.c.gra...@gmail.com
> > To: python-list@python.org
> [...]
>
maxlen=0 - this
consumes the iterator with constant memory usage.
We are of course firmly in the twilight zone at this point (although this
can be a useful technique in general).
Cheers,
Phil
>
> --
> http://mail.python.org/mailman/listinfo/python-list
>
--
http://mail.python.org/mailman/listinfo/python-list
1 - 100 of 452 matches
Mail list logo