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
- Use proper data structure. Use of proper data structure has a significant effect on runtime. ...
- Decrease the use of for loop. ...
- Use list comprehension. ...
- Use multiple assignments. ...
- Do not use global variables. ...
- Use library function. ...
- Concatenate strings with join. ...
- Use generators.