Re: [Tutor] Needing Help

2009-06-30 Thread Marc Tompkins
On Tue, Jun 30, 2009 at 12:27 PM, Bob Rea wrote: > Why doe sit work with a dob in 1943 and not with one in 1980 > then, that's what really bugs me > Nothing to do with the year. Your birth month is BEFORE June; her birth month is after. -- www.fsrtechnologies.com __

Re: [Tutor] Needing Help

2009-06-30 Thread Bob Rea
On Tue June 30 2009 3:20 pm, you wrote: > On Tue, Jun 30, 2009 at 1:06 PM, Bob Rea wrote: > > > > If I input my own name and dob, it works: > > b...@gandalf:~/python/MakingUse/Chapter05> python > > code1.py Enter your first name: Bob > > Enter your last name: Rea > > Enter your date of birth,

Re: [Tutor] Needing Help

2009-06-30 Thread Wayne
Oops, forgot my reply-to-all On Tue, Jun 30, 2009 at 2:20 PM, Wayne wrote: > On Tue, Jun 30, 2009 at 1:06 PM, Bob Rea wrote: > >> >> If I input my own name and dob, it works: >> b...@gandalf:~/python/MakingUse/Chapter05> python code1.py >> Enter your first name: Bob >> Enter your last name:

Re: [Tutor] Needing Help

2009-06-30 Thread Bob Rea
On Tue June 30 2009 1:17 pm, vishwajeet singh wrote: > You can put your script in pastebin > http://python.pastebin.com/ > I don't think any one will > mind you pasting code in mail but pastebin makes it > easier to read I am making my way through _Making Use of Pytho

Re: [Tutor] Needing Help

2009-06-30 Thread Daniel Woodhouse
You can use something like pastebin.com if you don't want to post huge chunks of code. You could also just tell us what problem occurred, was there a traceback (error message)? On Tue, Jun 30, 2009 at 8:06 PM, Bob Rea wrote: > I am jsut beginning to learn python form a book. I have run > into a

Re: [Tutor] Needing Help

2009-06-30 Thread vishwajeet singh
You can put your script in pastebin http://python.pastebin.com/ I don't think any one will mind you pasting code in mail but pastebin makes it easier to read On Tue, Jun 30, 2009 at 10:36 PM, Bob Rea wrote: > I am jsut beginning to learn python form a book. I have ru

[Tutor] Needing Help

2009-06-30 Thread Bob Rea
I am jsut beginning to learn python form a book. I have run into a problem running a script from the book. I want to ask for help. Shoudl I put the whole script into my email or put it somewhere on the web for you to look at instead. Not sure how this works, script is 68 lines. -- Bob Rea mai

Re: [Tutor] Needing help with variables

2008-04-23 Thread Kent Johnson
On Wed, Apr 23, 2008 at 2:55 PM, Cain, Steven <[EMAIL PROTECTED]> wrote: > I have the code below and I am in need of a little help with variables. > What I am trying to do is substitute a variable where it says insert > variable. I actually need to place 3 variables. 1 for date, 1 for time > and

[Tutor] Needing help with variables

2008-04-23 Thread Cain, Steven
I have the code below and I am in need of a little help with variables. What I am trying to do is substitute a variable where it says insert variable. I actually need to place 3 variables. 1 for date, 1 for time and 1 for a string of text. Any help would be greatly appreciated. Steve def Backwar

Re: [Tutor] Needing help with my account tracker program.

2006-06-23 Thread Bob Gailer
Nathan Pinno wrote: > Hey all, > > I was wondering if you could help me fix a glitch in my program that's > preventing it from running. > > Here's the code: > accountlist = [] accountlist = {} # dictionary rather than list > > def load_file(ac): > import os > filename = 'accounts.txt

[Tutor] Needing help with my account tracker program.

2006-06-23 Thread Nathan Pinno
Hey all,   I was wondering if you could help me fix a glitch in my program that's preventing it from running.   Here's the code: accountlist = []   def load_file(ac):    import os    filename = 'accounts.txt'    if os.path.exists(filename):    store = open(filename, 'r')    for line