Jump to content

Hints and tips on improving my code and making it more efficient

- - - - -

  • Please log in to reply
No replies to this topic

#1
Christopher87

Christopher87

    Newbie

  • Members
  • PipPip
  • 20 posts
Hello there,

Happy New Year to everyone :¬).

Over the festive season I was given the task of creating a small program of my own choosing as part of my computing course. I've had plenty time to do it. However, I ended up leaving it to the last minute. Consequently, my implementation is very sloppy.

What I would greatly appreciate is if some of the more advanced Python users could suggest a more efficient way to go about implementing my program. I'm up to the point of using lists in my course.

It's a fairly basic motion sensitive ring of boxes that light up when selected.

I have attached a zip file of my program. The main file is drawing.py. The program is written for Python 2.7

Regards

Chris

Attached Files

  • Attached File  FPP.zip   14.7K   2 downloads





1 user(s) are reading this topic

0 members, 1 guests, 0 anonymous users