Hello all, I have been studying python tutorials and have a couple beginning python books that I have worked through. I have a very specific project in mind and I want to ask a couple questions. The project in question is this:I am making a Hand History converter for online poker players. This take
Alan, First off, thanks for the detailed reply, it is much appreciated. On to your message:>I don't know anything about poker but in general terms this is>a text format conversion tool. since you know the source can>be in different formats I'd adopt an OOP approach with a generic>hand object which
Kent, Thanks for the reply."I would pick one input format and work on a program that reads it and generates some kind of events for everything significant that happens. At first the events could be just print statements, later they can reformat the data to the required output format. From your desc
Kent,>OK, just looking at this, I'm guessing that you might want some kind of >data to represent the players, maybe something to represent the pot, >maybe something to represent the cards on the table. It really depends >on what kind of output you want to get from this. Can you post an >example of
Kent, Thanks once again."I wonder if maybe you need to write some code? You talk about *reading* but you haven't mentioned *writing*. You can't learn to program without writing programs - that would be like learning to write a foreign language by reading books in the language - it helps but it won'
Kent, Thanks once again."I wonder if maybe you need to write some code? You talk about *reading* but you haven't mentioned *writing*. You can't learn to program without writing programs - that would be like learning to write a foreign language by reading books in the language - it helps but it won'
ails + "times!"raw_input("\n\nPress the Enter key to exit")johnf <[EMAIL PROTECTED]> wrote: On Thursday 18 May 2006 16:19, Chris Delgado wrote:> import random>> heads = 0> tails = 0> flips = 0>> if flips <= 100:>> coin = random.randrange(2)>
Bob et al, Ok guys, program is all fixed up and runs well. HEre is the final code. Thanks for the help and its on to the next prog. Thanks for the patience and help!Chris# A program that simulates flipping a coin 100 times and the reports the number of heads and tails that were flipped#import rand
to start thinking like that. Thanks again, I'll have more questions soon I'm sure!ChrisBob Gailer <[EMAIL PROTECTED]> wrote: Chris Delgado wrote:> Bob et al,>> Ok guys, program is all fixed up and runs well. HEre is the final > code. Thanks for the help and its on to th
around with that I will find some things that I can focus my attentions on. Thanks for taking the time to respond. Cheers, ChrisTerry Carroll <[EMAIL PROTECTED]> wrote: On Thu, 18 May 2006, Chris Delgado
wrote:> Kent, > > So if you have just been reading, I suggest you try writ
10 matches
Mail list logo