Skip to content

Latest commit

 

History

History
35 lines (35 loc) · 780 Bytes

stuff_to_do_or_fixt.md

File metadata and controls

35 lines (35 loc) · 780 Bytes

figure out how to use def funtion-name() -> return-type: for python 2

find replacement for collections.userString for python 2

and basically fix stuff for python 2


strucure python program properly
write proper comments
have some semblance of pep8 style
create functions to do basic stuff
% fomatting for stuff like dates
\# fomatting
. fomatting for presicion
docstring fomatting ie ''' ''' or """ """
raw string fomatting like rf('{hello}\n') = hello\n
run functions in curly braces like: ``` def hello(): return 'hello' print(f('{hello()}')) = hello ``` fix indexing into dictionary
raise error if exppresssion incluedes a \
and more
https://www.python.org/dev/peps/pep-0498/ for more on f-strings