Escribir una aplicación básica con Flask

Creando los directorios iniciales y prerequisitos Primero creo un directorio (APIS) donde ordenadamente trabajaré los proyectos de API REST: mortiz@florida:~/Documents/projects/python/APIS/ 1 mortiz@florida:~/Documents/projects/python/APIS/ Y dentro del directorio...
bash: flask: command not found with Flask 1.0.2

bash: flask: command not found with Flask 1.0.2

Verify you are installing flask for your correct python version inside your virtual environment. I’ve came across the problem: bash: flask: command not found 1 bash: flask: command not found And the first StackOverflow answer was: Flask 0.10 has...
Determine if a string is a panagram with python

Determine if a string is a panagram with python

A pangram is a sentence that contains every single letter of the alphabet at least once. For example, the sentence “The quick brown fox jumps over the lazy dog” is a pangram, because it uses the letters A-Z at least once (case is irrelevant). I’ve...
Find missing number in sequence with python

Find missing number in sequence with python

This code snippet is designed to find the missing number in a sequence of integers with python 2.7. I’ve tested it with several lists in python which are commented at the start of the script. Miguel Ortiz #!/usb/bin/python #miguel.ortiz #s=[-1, -4, -7, -10, -13,...