After we write a code in Matlab we can use ctrl+A+ctrl+I
and ctrl+A+ctrl+J
to format our code (comments, loops alignment etc). Is there something similar or any helpful keyboard shortcuts in Python?
Also, just like we can use upward arrow to copy our previous command window history in Matlab, is it possible or some keyboard shortcut to do that in Python?
Thanks!