Skip to content Skip to sidebar Skip to footer

fix and improve your python code

fix and improve your python code

Execute the statement (given as a string or a code object) under debugger control. The debugger prompt appears before any code is executed; you can set breakpoints and type continue , or you can step through the statement using step or next (all these commands are explained below).

Redeem

Struggling to get your python program working?

Feeling overwhelmed by a script you didn't write?

Can't get a handle on that one tricky bug?

Well, look no further, I can help you!

In this gig, I'll review and refine your python code.

I will ensure:

  • variable names are simple and meaningful
  • code is modular and reusable
  • comments are accurate and concise
  • leftover / dead code is removed
  • script is as small as possible

If you note specific bugs, I will focus my efforts on finding and correcting those issues.

Please message so we can discuss your specific needs before starting a gig!

Image attribution stuff:

Apple II advertisement from the December 1977 issue of Byte magazine - By Apple Computer Inc., Cupertino, CA.

Photo of the Hypertext Editing System - By Gregory Lloyd

Robert Ledley posing with IBM 360 - By Fred Ledley

A Few Ways to Speed Up Your Python Code

  1. Use proper data structure. Use of proper data structure has a significant effect on runtime. ...
  2. Decrease the use of for loop. ...
  3. Use list comprehension. ...
  4. Use multiple assignments. ...
  5. Do not use global variables. ...
  6. Use library function. ...
  7. Concatenate strings with join. ...
  8. Use generators.