Hi all,
A while ago, in a response:
Danny Yoo said unto the world upon 2004-11-29 17:14:
I just got in contact with Nick Parlante of the Nifty Assignments
project; he's been collecting material on fun projects:
http://nifty.stanford.edu/
The projects there look pretty nice. In fact, I'm thinking
I'd be interested,
Matt
On Fri, 2004-12-17 at 11:01, [EMAIL PROTECTED] wrote:
Send Tutor mailing list submissions to
[EMAIL PROTECTED]
To subscribe or unsubscribe via the World Wide Web, visit
http://mail.python.org/mailman/listinfo/tutor
or, via email, send a message with
I just got in contact with Nick Parlante of the Nifty
Assignments project; he's been collecting material on fun
projects:
http://nifty.stanford.edu/
What do others think?
Private channel or not, I'm in. (at least until classes spike up again in
early February) Sounds like a good way to burn
On Wed, 15 Dec 2004, Gregor Lingl wrote:
Marilyn Davis schrieb:
Hi Tutors,
I'm reviewing GUIs and wondering:
When you pack a component, and you specify fill = BOTH, how is this
different from expand = YES?
Hi Marilyn,
This is a bit tricky and hard to explain, so I
Sorry for the delay, real world work took me away ...
everything was global, how you guys handle a modern structured
language
Don't worry this is one of the hardest bad habits to break.
You are not alone. The easiest way is to just pass the data
from function to function in the function
Jeff Shannon wrote:
Dave S wrote:
Kent Johnson wrote:
Why do you say this is 'cheaty'? A class is basically a collection
of data (state) and functions to operate on that state.
Sorry for the delay, real world work got in the way ...
Well I understand classes to be used when multiple instances
Mohamed Lrhazi wrote:
Hello all,
I ported to python a little Perl script that applies some math algorithm
that I do not understand... My version seems to give the same results as
the Perl version... but just to make sure I am asking the following:
The Perl version starts by testing whether Perl
Hi all ,
I got some Tkinter related questions for a project that I'm making:
1. How to add an image to a button ?
2. How can I print text using Tkinter (I want it to be cross platform,
so I cant use modules like win32print ) ?
3. How to I make the program to always open in a full window ?
Thanks
Dnia pitek, 17 grudnia 2004 20:59, Alan Gauld napisa:
|Are there any Polish speakers on the tutor list who would like
|to check a new version of my tutorial? There are no formal links
|to it yet as there are only a few pages but it can be found at:
That would be me. First of all
Sorry about that last message. Kent just posted and answered my question
with his example.
Thank you all!
Jacob
-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Jacob S.
Sent: Friday, December 17, 2004 3:54 PM
To: Kent Johnson
Cc: [EMAIL
Jacob S. wrote:
Thank you!
Wait, though.
How do I do this?
def differentnoofvars(*args,**kwargs): ## By the way, is it **kwargs or
**kwds?
Call it what you like, it's an ordinary function parameter. kwds is commonly used but you can use
kwargs.
print kwargs
another(kwargs)
Should be
For what it's worth, it seems to me to be perfectly normal to have
classes that are only ever intended to have a single instance. For
example, you're never likely to need more than one HTML parser, and
yet htmllib.HTMLParser is a class...
That's true but the argument for a class in that case
Yes i believe im looking for the python version of the Jakarta databse
connection pool!!
--- On Fri 12/17, Kent Johnson [EMAIL PROTECTED] wrote:
From: Kent Johnson [mailto: [EMAIL PROTECTED]
To:
Cc: [EMAIL PROTECTED]
Date: Fri, 17 Dec 2004 07:12:40 -0500
Subject: Re: [Tutor] dbcp
I got some Tkinter related questions for a project that I'm making:
1. How to add an image to a button ?
I find the easiest way is to create an PhotoImage object attach
the graphic file(jpg,bmp,gif) to that and assign the PhotoImage
object to the Button.image property. You can animate the image
On Fri, 17 Dec 2004, Rene Bourgoin wrote:
Yes i believe im looking for the python version of the Jakarta databse
connection pool!!
Hi Rene,
I haven't looked at this too closely yet, but there are projects out there
for connection pools. For example:
http://sqlrelay.sourceforge.net/
Kent Johnson wrote:
Dave S wrote:
Separate modules is good. Separate directories for anything
other than big programs (say 20 or more files?) is more hassle
than its worth. The files are better kept in a single directory
IMHO. The exception being modules designed for reuse...
It just makes life
Ive been learning to interact with databases using python and i was looking for
ways to return a SELECT query result in a plain format. what i mean by plain
format is :
name numberaddress
Fred Smith 2125553243 1 main st
All the pratices ive done return the results in
The recipe you cite has the pp() function and an example of its use. It sounds like that is what you
want.
Kent
Rene Bourgoin wrote:
Ive been learning to interact with databases using python and i was looking for
ways to return a SELECT query result in a plain format. what i mean by plain
Have you tried contacting the author of the Scientific package? His email address is on the main web
page.
Kent
mdcooper wrote:
Hi Danny,
Thanks for the reply - I was purposely vague just to see what people would ask
for.
The code uses LinearAlgebra.py from Numeric and LeastSquares.py from
On Fri, 17 Dec 2004, Rene Bourgoin wrote:
Ive been learning to interact with databases using python and i was
looking for ways to return a SELECT query result in a plain format. what
i mean by plain format is :
name numberaddress
Fred Smith 2125553243 1 main st
All
On Fri, 17 Dec 2004, Kent Johnson wrote:
The recipe you cite has the pp() function and an example of its use. It
sounds like that is what you want.
Part of the pandemonium was my fault. I completely missed your earlier
post here:
21 matches
Mail list logo