Python Forum
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
General questions
#2
Also old dude here (been at it 50 years (next year))
Kilobaud Magazine Author during the 70's

1) Context switching
If you use PyCharm as an ide, you can add a todo comment where you
want to pick up. Then just check todo list
This is simple -- just add the following line to your code:
# todo - pick up here
Other IDE's probably have a similar option

Every morning I back up what I'm working on
And save before I quit

Rewrites - Keep your code in manageable pieces (functions or methods)
and keep different subjects in different modules (import where needed)

Now your rewrites will usually be at the method level.
Before you start, rename the original module and make a new copy with the original name
In addition, comment out the old method and keep until the new one is behaving properly.
Reply


Messages In This Thread
General questions - by PappaBear - Apr-11-2017, 05:57 AM
RE: General questions - by Larz60+ - Apr-11-2017, 11:39 AM
RE: General questions - by zivoni - Apr-11-2017, 12:53 PM
RE: General questions - by sparkz_alot - Apr-11-2017, 01:26 PM
RE: General questions - by PappaBear - Apr-11-2017, 03:22 PM
RE: General questions - by sparkz_alot - Apr-11-2017, 04:11 PM
RE: General questions - by wavic - Apr-11-2017, 05:40 PM
RE: General questions - by sparkz_alot - Apr-11-2017, 07:59 PM
RE: General questions - by metulburr - Apr-11-2017, 08:56 PM
RE: General questions - by Larz60+ - Apr-11-2017, 10:01 PM

Forum Jump:

User Panel Messages

Announcements
Announcement #1 8/1/2020
Announcement #2 8/2/2020
Announcement #3 8/6/2020