Python Date and Time formatting

%A Weekday as locale’s full name. Monday
%d Day of the month as a zero-padded decimal number. 30
%B Month as locale’s full name. September
%m Month as a zero-padded decimal number. 09
%Y Year with century as a decimal number. 2013
%I Hour (12-hour clock) as a zero-padded decimal number. 07
%H Hour (24-hour clock) as a zero-padded decimal number. 07
%M Minute as a zero-padded decimal number. 06
%S Second as a zero-padded decimal number. 05
%p Locale’s equivalent of either AM or PM. AM

6 Text Navigation Shortcuts for Mac

6 Text Navigation Shortcuts
The first group of keyboard shortcuts allow for quickly moving around text:

  • Jump to beginning of a line– Command+Left Arrow
  • Jump to end of a line– Command+Right Arrow
  • Jump to beginning of current word– Option+Right Arrow
  • Jump to end of current word– Option+Right Arrow
  • Jump to beginning of all text– Command+Up Arrow
  • Jump to end of all text – Command+Down Arrow

 
By adding a shift key to the above shortcuts, we are given six new tricks that allow for quick text selection of lines, words, and entire documents.