Re: Plotting Quadratic Functions, pygame

2009-08-14 Thread Bearophile
Senad Ibraimoski Of Belgrade: > Hello, I'm a new guy to this group, my professor recommend this group > to me, because I was boring him with questions.I'm new to python, and > I have problem plotting Quadratic Functions. Using module pygame. Python is a tool you use to learn something else, but to

Re: Plotting Quadratic Functions, pygame

2009-08-14 Thread Esmail
Hello Senad, You might find this style guide useful too in your toolbox of Python skills & tricks. http://www.python.org/dev/peps/pep-0008/ This is a great and helpful group of people here, we are lucky to have access to groups like this. Best, Esmail -- http://mail.python.org/mailman/list

Re: Plotting Quadratic Functions, pygame

2009-08-14 Thread Esmail
Hello Senad, You might find this style guide useful too in your toolbox of Python skills & tricks. http://www.python.org/dev/peps/pep-0008/ This is a great and helpful group of people here, we are lucky to have access to groups like this. Best, Esmail -- http://mail.python.org/mailman/list

Re: Plotting Quadratic Functions, pygame

2009-08-12 Thread Jonathan Gardner
Before we get into fixing your code, let's talk about style. A lot of bugs are solved when you fix the style, and the remaining bugs are much easier to find and fix. (Comments inline) On Aug 12, 2:27 pm, Senad Ibraimoski -student-Mathematical Institute Belgrade wrote: > Hello, I'm a new guy to t

Plotting Quadratic Functions, pygame

2009-08-12 Thread Senad Ibraimoski -student-Mathematical Institute Belgrade
Hello, I'm a new guy to this group, my professor recommend this group to me, because I was boring him with questions.I'm new to python, and I have problem plotting Quadratic Functions. Using module pygame. Here is the code: #!/usr/bin/env python import pygame def main(): import sys