I am attempting to write a text based spider solitaire game. I have a pretty
simple card class, and a deck class, which has a list of card objects, which
are shuffled, then individual elements are put into self.dealt, which is a
'list of lists' when the cards are dealt.
I am trying to control
The guy who had the post about the "vowel search" exercise got me to thinking
about matrices of letters, and thence to word search games, which I have made a
time or two by hand and they are a pain.
So I decided to try making a program that would put words into a word search.
This is very basic
--- On Tue, 2/1/11, Sean Carolan wrote:
> From: Sean Carolan
> Subject: [Tutor] Help with range of months spanning across years
> To: Tutor@python.org
> Date: Tuesday, February 1, 2011, 6:19 PM
> I have a function that accepts four
> arguments, namely startmonth,
> startyear, endmonth, and endye
...at least I think it would be nested.
Anyway, I have several "widget groups" that I want to create inside a frame,
which is inside a class. I started to just do them with copying and pasting,
and changing the values for each one (the first one is commented out, I left it
in so you could see
--- On Mon, 1/31/11, Alan Gauld wrote:
> From: Alan Gauld
> Subject: Re: [Tutor] search list with regex
> To: tutor@python.org
> Date: Monday, January 31, 2011, 3:29 PM
>
> "Elwin Estle"
> wrote
>
> > parse various text files and my standard method i
--- On Mon, 1/31/11, David Hutto wrote:
> From: David Hutto
> Subject: Re: [Tutor] oops...sorry, just top posted again
> To: "Elwin Estle"
> Cc: tutor@python.org
> Date: Monday, January 31, 2011, 10:05 AM
> On Mon, Jan 31, 2011 at 8:11 AM,
> Elwin Estle
>
--- On Mon, 1/31/11, Wayne Werner wrote:
From: Wayne Werner
Subject: Re: [Tutor] search list with regex
To: "Elwin Estle"
Cc: tutor@python.org
Date: Monday, January 31, 2011, 10:20 AM
On Mon, Jan 31, 2011 at 7:07 AM, Elwin Estle wrote:
Tcl's list search command has the o
...but I have an excuse. I had the thing saved in a drafts folder and just hit
send without thinking about it.
...I'll just go super glue broken glass to my hands and sprinkle itching powder
all over my body. Is that penance enough?
___
Tuto
o run under the Python2.6 environment. I specifically admired your
both complete and descriptive explanation on your reasoning for
every piece of line in the code. I can't thank you enough.
Best Regards,
Nevins Duret
On 01/29/2011 07:01 P
Tcl's list search command has the option to search for a list element that
matches a given regex. Is there something similar in python? If not, it seems
like it should be fairly trivial for me to write my own (just wondering if I
would be re-inventing the wheel).
I'm not 100% sure, but I think the Active State version of python comes with
pywin32...
http://www.activestate.com/activepython/downloads
...but I could be mistaken.
--- On Sun, 1/30/11, walter weston wrote:
From: walter weston
Subject: [Tutor] pywin32 help
To: tutor@python.org
Date: Sunday,
I don't consider myself qualified to answer your question...but just in looking
at your program and the description of what it is supposed to do, I'm a bit
confused. So let me get this straight...the user is supposed to choose a
letter, and the program is supposed to tell them if it is a vowel
Thanks! That was just what I was looking for.
--- On Thu, 1/27/11, Wayne Werner wrote:
From: Wayne Werner
Subject: Re: [Tutor] tkinter, create widgets during runtime?
To: "Elwin Estle"
Cc: tutor@python.org
Date: Thursday, January 27, 2011, 10:54 AM
On Wed, Jan 26, 2011 at 11:21
icated
than the above?"
...should have said, "Or am I correct in guessing tat if it IS possible, it is
probably more..."
--- On Wed, 1/26/11, Elwin Estle wrote:
From: Elwin Estle
Subject: [Tutor] tkinter, create widgets during runtime?
To: tutor@python.org
Date: Wednesday, January
--- On Wed, 1/26/11, Alan Gauld wrote:
From: Alan Gauld
Subject: Re: [Tutor] class question
To: tutor@python.org
Date: Wednesday, January 26, 2011, 1:10 PM
>>Is this really a series of different types of casting or a single Workpiece
>>going through a sequence of Actions
>>each Action having a
With Tcl/Tk, you can generate widgets "on the fly" during program execution,
without having to explicitly create them in your code. i.e., something like:
for {set i 0} {$i <= 5} {incr i} {
label .myLabel_$i -text "this is label myLabel_$i"
pack .myLabel_$i
}
...which will generate five
Elwin Estle wrote:
> Is it better to have one large sort of "do it all" class, or break
> the larger class up into smaller classes?
Yes.
Or no.
It's impossible to answer that question definitively without knowing more about
what "it all" is. But I can give some
Is it better to have one large sort of "do it all" class, or break the larger
class up into smaller classes? Seems to me like the one large class would be
clearer in some ways. I have something I am trying to do that have somewhere
in the neighborhood of 20 attributes that all relate together,
Okay, here's another one. I started this geez...30 years ago? On a Texas
Instruments 99/4A computer. I've never gotten around to doing anything further
with the idea.
It was a game called "Piledriver". The idea was that in a distant future,
energy demands had become so great that there were
I dabble in Blender 3d. Just for the heck of it, I made some desktop
wallpapers using the python logo. Enjoy or not, as suits your fancy.
http://thepythonnoob.blogspot.com/2011/01/some-3d-python-wallpapers.html
___
Tutor maillist - Tutor@p
Well, I'm a noob myself, so perhaps take what I say with a grain or three of
salt. On the other hand, I have sort of the opposite problem, lots of ideas,
but not the time nor skill to make them happen.
Do you even necessarily have to complete a project? Sometimes just making an
attempt can te
I have some experience in Tcl\Tk, and so far, Tkinter is striking me as harder
to use that Tk in it's "native" environment.
I am attempting to re-write a program I originally did in Tcl\Tk in Python. I
managed to get a GUI done using just Tkinter, and, after an initial struggle
with the Tkinte
--- On Sun, 1/16/11, zhengqing gan wrote:
> From: zhengqing gan
> Subject: [Tutor] question about manipulate images!
> To: tutor@python.org
> Date: Sunday, January 16, 2011, 11:37 PM
> Hi, All:
> I have a question about
> manipulating images.
> If I have a image, is there a kind
> of
I am going through the book mentioned in the subject line, and I have found a
couple of things that don't seem to work the way the author shows in the book.
So, either I am doing something wrong, or what he is saying isn't quite right.
I am using Python 2.7.1 on Mac OS X Leopard.
The first thi
24 matches
Mail list logo