[Tutor] Test to see if this gets out

2005-09-01 Thread Jack Anema
TEST   Jack Anema ___ Tutor maillist - Tutor@python.org http://mail.python.org/mailman/listinfo/tutor

[Tutor] TEST to see if this gets out

2005-09-01 Thread Jack Anema
TEST   Jack Anema ___ Tutor maillist - Tutor@python.org http://mail.python.org/mailman/listinfo/tutor

[Tutor] Python2.3.4, PySqlite2 and Solaris

2005-09-01 Thread Luis N
Hi, After fighting with installing pysqlite2, (although you require the .tar.gz for a *Nix build, the header file required, sqlite3.h, was actually in the source .zip supplied for windows users sans a unix build environment) Anyway, I have pysqlite2, but: Python 2.3.4 (#1, Aug 23 2004, 13:59:34)

Re: [Tutor] doh!

2005-09-01 Thread John Fouhy
On 02/09/05, Lane, Frank L <[EMAIL PROTECTED]> wrote: > I also learned that even if the tabs and spaces line up in the editor they > don't count the same and give you a syntax error. Hi Frank, What editor are you using? And does it have a proportional or a monospaced font? -- John. __

Re: [Tutor] Need directions toward programming...

2005-09-01 Thread Alan G
Hi Damian, > studies about programming sucks!. This seems to be a common problem, maybe because many teachers aren't really trainied in how to teach programming and only know the basics themselves! Its usually a bit better at university level. > language a teacher show us was quick basic QuickB

[Tutor] doh!

2005-09-01 Thread Lane, Frank L
Hi,   My threading question was not valid, and I have to apologize for it. My screw up was to put the open and close parentheses after my procedure name in the invocation (i.e. i wrote threading.Thread(target=modname.funcname(),name=name)).   I also learned that even if the tabs and spa

Re: [Tutor] How to save updated values in a program?

2005-09-01 Thread Danny Yoo
On Thu, 1 Sep 2005, Nathan Pinno wrote: > How do I save updated values in a program when it quits? Are the new > values automatically saved, or do I have to code it in to the program in > order to save the updated values? Hi Nathan, We'll have to do something explicit to save them. In the pas

[Tutor] How to save updated values in a program?

2005-09-01 Thread Nathan Pinno
Hey all,   How do I save updated values in a program when it quits? Are the new values automatically saved, or do I have to code it in to the program in order to save the updated values?   I need to know because I have a currency exchange program that is updated manually by the user, and I wa

[Tutor] [Fwd: PyChecker lives, version 0.8.15 released]

2005-09-01 Thread Kent Johnson
Forwarding this to the tutor list because we had a bit of discussion about PyChecker recently. In particular this release fixes spurious warnings in Python 2.4 for Using is (not) None. Kent Original Message Subject: PyChecker lives, version 0.8.15 released Date: Wed, 31 Aug 2

Re: [Tutor] Need directions toward programming...

2005-09-01 Thread Kent Johnson
Joseph Quigley wrote: > Any help for more good free ebooks for beginners from you people out > there? ;-) There are many online resources for learning Python listed here http://wiki.python.org/moin/BeginnersGuide/NonProgrammers or if you want something for programmers look here: http://wiki.pyth

Re: [Tutor] Need directions toward programming...

2005-09-01 Thread Joseph Quigley
Hi, I sympathize (is that right?) I live in guatemala and the education system here sucks (luckily I'm homeschooled). I picked up Python after a year with Quick BASIC and 5 months later made my own GUI (Graphical User Interface if you don't know already...) program. First off you'll need the p

Re: [Tutor] PYTHON????

2005-09-01 Thread Eric Walker
Could be but the first time I get something hes going on the filter... E On Thursday 01 September 2005 07:56 am, Jan Eden wrote: > [EMAIL PROTECTED] wrote on 29.08.2005: > >Dear Python, > > How does a calculator multiply? I want to create a computer software that > > can multiply. How do I p

Re: [Tutor] PYTHON????

2005-09-01 Thread Jan Eden
[EMAIL PROTECTED] wrote on 29.08.2005: >Dear Python, > How does a calculator multiply? I want to create a computer software that can >multiply. How do I program the computer to multiply? Could this be a spammer aiming at mailing lists? - Jan -- The day Microsoft makes something that doesn't s

Re: [Tutor] PYTHON????

2005-09-01 Thread Joal Heagney
[EMAIL PROTECTED] wrote: > Dear Python, > How does a calculator multiply? I want to create a computer software that > can multiply. How do I program the computer to multiply? Basically the same way you multiply two big numbers on paper, by long multiplication. E.g. Human 24 * 51 24 * 5

[Tutor] datetime.date objects from SQL query?

2005-09-01 Thread Jan Eden
Hi, I use the following query (simplified): self.dbh.execute("SELECT anreise, abreise FROM buchungen WHERE ferienhaus = '%(ferienhaus)s'" % { 'ferienhaus': ferienhaus} ) Both anreise and abreise are date fields. I initially wrote a little function to turn ISO formatted date strings into a date

Re: [Tutor] PYTHON????

2005-09-01 Thread Ben Vinger
The Python interpreter already contain the code for multiplication, so you don't need to write it. You can just use it: x = raw_input('give the first number') y = raw_input('give the second number') print x, ' times ', y, ' is', int(x) * int( y) Or in the interactive interpreter you can just: