-
ENC: 🐍PyTricks: Pythons built-in HTTP server
“`bash # Python has a HTTP server built into the # standard library. This is super handy for # previewing websites. # Python 3.x $ python3 -m http.server # Python 2.x $ python -m SimpleHTTPServer 8000 # (This will serve the current directory at # http://localhost:8000) “` If you think your friends would find this […]
-
Você sabe manipular diretórios em Linux?
Você sabe manipular diretórios em Linux? Pastas e diretórios em Linux é a mesma coisa? Aprenda a usar o comando cd no Linux. Como usar o comando mkdir no Linux? Sabe usar o comando mkdir para criar um caminho com várias pastas ao mesmo tempo? Sabe como apagar diretórios utilizando o comando rm? Você sabe […]
-
🐍PyTricks: Dicts can be used to emulate switch/case statements