Re: [Tutor] Is there any logic in this?

2007-09-01 Thread Righard/Riku van Roy
> model of a variable name representing an area in > memory where assignment copies data to a new area > in memory with the other variable name will get caught > on this until they catch on. > > I'll be very grateful for any criticism of the above. > > > > O

[Tutor] Is there any logic in this?

2007-09-01 Thread Righard/Riku van Roy
If you copy a list into another variable, and then change the second one, the first gets changed aswell, for example: >>> a = [10, 40, 30, 20] >>> b = a >>> b.sort() >>> a [10, 20, 30, 40] >>> b [10, 20, 30, 40] or: >>> a = [10, 40, 30, 20] >>> b = a >>> b[0] = 99 >>> a [99, 40, 30, 20] >>> b [

Re: [Tutor] date matching with python and sqlite3

2007-09-01 Thread Righard/Riku van Roy
I sorry, maybe I am stupid at the moment but I cannot follow your question, 1) User can select a date, or a range of dates. 2) At the moment you are only able to let the user select a date that has entered the database today. 3) A value from a table called duratation will be returned for the