diff --git a/.gitignore b/.gitignore index 45d62d8..b226997 100644 --- a/.gitignore +++ b/.gitignore @@ -1 +1,3 @@ *.sw? +.DS_Store +index.json diff --git a/_images/modules-from-import.png b/_images/modules-from-import.png new file mode 100644 index 0000000..b3c38aa Binary files /dev/null and b/_images/modules-from-import.png differ diff --git a/_images/modules-import.png b/_images/modules-import.png new file mode 100644 index 0000000..e58d64f Binary files /dev/null and b/_images/modules-import.png differ diff --git a/_images/modules.png b/_images/modules.png new file mode 100644 index 0000000..69d6038 Binary files /dev/null and b/_images/modules.png differ diff --git a/fugindo-com-python-2.html b/fugindo-com-python-2.html index 94705a8..5a39e98 100644 --- a/fugindo-com-python-2.html +++ b/fugindo-com-python-2.html @@ -175,6 +175,106 @@ if __name__ == "__main__": print('Dude, option!') + + + + Docstrings + + +"""Randomize a "Run to the hills" phrase.""" + + + + + + + + + Módulos e imports + + +import random +from argparse import ArgumentParser + + + + + + + Módulos e imports + + + + + + + + Módulos e imports + + + + + + + + Módulos e imports + + + + + + + + + + Variáveis e tipos + + +CONSONANTS = ['f', 'j', 'c', 'l', 'n'] +PASSPHRASE = '{}u{}am para as {}o{}i{}as' + + +
+"""Randomize a "Run to the hills" phrase.""" +
+import random +from argparse import ArgumentParser +
+CONSONANTS = ['f', 'j', 'c', 'l', 'n'] +PASSPHRASE = '{}u{}am para as {}o{}i{}as' +