Re: [Tutor] design question (Django?)

2013-04-14 Thread Albert-Jan Roskam
 > Subject: Re: [Tutor] design question (Django?) > > On 13/04/13 09:48, Albert-Jan Roskam wrote: > >> I think I have to make a diagram of this. This stuff is quite hard > > You could use a simple UML class diagram (class -> table). See the OOP topic > in my V3 tutorial for simple examples.

Re: [Tutor] design question (Django?)

2013-04-14 Thread Don Jennings
On Apr 14, 2013, at 7:06 AM, Albert-Jan Roskam wrote: > > > > Subject: Re: [Tutor] design question (Django?) >> >> On 13/04/13 09:48, Albert-Jan Roskam wrote: >> >>> I think I have to make a diagram of this. This stuff is quite hard >> >> You could use a simple UML class diagram (class -> t

Re: [Tutor] design question (Django?)

2013-04-14 Thread ALAN GAULD
>Would it also be a good idea to simultaneously make a paper-and-pencil drawing >of the UI? Personally I do. At work we call these UI sketches  "wireframes" >and they are used to figure  out the interaction. The focus is on the relative position of controls and the workflow for  the user rather

Re: [Tutor] creating dictionary from a list

2013-04-14 Thread Saad Javed
Steven, You're right about Mark's email. I didn't get the humor and thought the remark was kinda tough on me. You correctly pointed out his intent. So my apologies to Mark. As for the underscores, what happened is that *I didn't voluntarily add the underscores to begin with. *If you read the emai

Re: [Tutor] FYI: An Introduction to Interactive Programming in Python

2013-04-14 Thread David Kemeza
I'd really be interested in see that code since. I'm learning python right now and looking at code helps with my learning process. Thanx -dave On Tue, Apr 9, 2013 at 11:32 AM, brian arb wrote: > One game wrote along time ago when I was first learning Python and App > Engine is http://cdacabe

[Tutor] Issue With a Python Game

2013-04-14 Thread John Bochicchio
I have a question about a game I am making. I finished the overall code, but keep getting errors when I try to play. This is my most common error: C:\Users\John\Documents\Python Games\Noah>python nickeladventuredemo.py Traceback (most recent call last): File "nickeladventuredemo.py", line 451, in

Re: [Tutor] How to extract a float from an instancemethod call

2013-04-14 Thread Sydney Shall
On 08/04/2013 13:52, Dave Angel wrote: On 04/08/2013 08:40 AM, Sydney Shall wrote: Hi, I am learning Python. I use MAC OSX 10.6.8 Python 2.7.3 I have been given a project to write a program involving random walks. I have drafted a program which has passed all the static tests, but on testin

Re: [Tutor] building a website with python

2013-04-14 Thread Brian Lamb
Without overly proselytizing any particular host you might want to check out Webfaction for hosting. They have an excellent reputation for Python hosting and reasonable rates. There are of course others that some may prefer, you can certainly google for other web hosting comparisons. Also th

[Tutor] Create Library

2013-04-14 Thread Negin Nayeri
Hi!Im supposed to do a Library in Python and I don't even know how to begin! Please just help me. Like what kind of attributes do you think I should have, how do I store information? The file with the books and authors I must fix, do think I should write in txt format or like in Excel. Please he

[Tutor] Issue With a Python Game

2013-04-14 Thread John Bochicchio
I have a question about a game I am making. I finished the overall code, but keep getting errors when I try to play. This is my most common error: C:\Users\John\Documents\Python Games\Noah>python nickeladventuredemo.py Traceback (most recent call last): File "nickeladventuredemo.py", line 451, in

Re: [Tutor] Issue With a Python Game

2013-04-14 Thread Mark Lawrence
On 13/04/2013 14:13, John Bochicchio wrote: I have a question about a game I am making. I finished the overall code, but keep getting errors when I try to play. This is my most common error: C:\Users\John\Documents\Python Games\Noah>python nickeladventuredemo.py Traceback (most recent call last):

Re: [Tutor] creating dictionary from a list

2013-04-14 Thread eryksun
On Sun, Apr 14, 2013 at 12:46 PM, Saad Javed wrote: > > As for the underscores, what happened is that I didn't voluntarily add the > underscores to begin with. If you read the emails again, after Mark's answer > about not looping, I asked that the dictionary created as a result of his > code wasn'

Re: [Tutor] creating dictionary from a list

2013-04-14 Thread Saad Bin Javed
On 04/14/2013 10:50 PM, eryksun wrote: I don't know how the underline tags got in there. They aren't in the quote in Mark's message. Either way, for the plain text part, your email program substituted "**". Others substituted "__". There'd be no problem if you didn't use rich text in the first

Re: [Tutor] Issue With a Python Game

2013-04-14 Thread Walter Prins
Hi John, On 10 April 2013 15:21, John Bochicchio wrote: > I have a question about a game I am making. I finished the overall code, > but keep getting errors when I try to play. This is my most common error: > C:\Users\John\Documents\Python Games\Noah>python nickeladventuredemo.py > Traceback (mo

Re: [Tutor] Create Library

2013-04-14 Thread Dave Angel
On 04/08/2013 09:31 PM, Negin Nayeri wrote: Hi!Im supposed to do a Library in Python and I don't even know how to begin! Please just help me. Like what kind of attributes do you think I should have, how do I store information? The file with the books and authors I must fix, do think I should w

[Tutor] (no subject)

2013-04-14 Thread Soliman, Yasmin
Hi everyone. I just need to know why this programs tells me End is not defined, what can I o to fix this issue? Thanks in advance. hrList=[] while True: heartrate= float(input('Enter heart rate as beats per min: ')) hrList.append(heartrate) if heartrate=='End': print '\nT

Re: [Tutor] (no subject)

2013-04-14 Thread Dave Angel
On 04/14/2013 08:35 PM, Soliman, Yasmin wrote: Hi everyone. I just need to know why this programs tells me End is not defined, what can I o to fix this issue? Thanks in advance. hrList=[] while True: heartrate= float(input('Enter heart rate as beats per min: ')) hrList.append(heartrat

[Tutor] Scheduling Python Execution

2013-04-14 Thread Zaki Akhmad
Hi all, I'd like to execute python script for specific times. I prefer not to use cron, since this times will be very varies. Example, my requirement is, this python script will execute at: 13:00:00 14:05:00 14:35:00 15:20:00 I know this is gonna be a long script to run. Check the time.ctime()