본문 바로가기

프로그래밍 언어

(5)
파이썬 프로젝트 구조와 패키징 Python Project Structure and Packaging Typical project file structure . ├── env │ ├── bin │ ... │ └── pyvenv.cfg ├── .git │ ├── branches │ ├── config | ... ├── .gitignore ├── helloworld │ ├── __init.py__ │ └── helloworld.py ├── Makefile ├── MANIFEST.in ├── README.md ├── requirements.txt ├── setup.py └── tests ├── test_advanced.py └── test_basic.py Brief summary File / Folder Content env/ virtual..
Pyenv-version/virtual environment management List of viable packages venv for python3/virtualenv for python2 (obsolete): manages virtual environments for a specific Python version pyenv: manages multiple versions of Python pyenv-virtualenv: manages virtual environments for different versions of Python pipenv: not recommended because of the reported issue with slow locking (https://github.com/pypa/pipenv/issues/3827) venv sudo apt-get insta..
HTML FreeCodeCamp Summary for Basic HTML and HTML5 HTML5 introduced more descriptive HTML tags as: main, header, footer, nav, video, article, section These help with HTML readability as well as Search Engine Organiation (SEO) Image Anchor-external page to anchor element anchor text goes here target="\_blank" opens a new window tab for the link Anchor-internal Contacts Contacts Anchor with dead link C..
CSS Cascading Style Sheets (CSS) Two ways to apply: inline CSS within html element CatPhotoApp or create a style block where h2 is CSS selector. CSS class selector declaration using dot is as below which applies to all elements with blue-text class CatPhotoApp font-size h1 { font-size: 30px; } font-family h2 { font-family: sans-serif; } non-standard, custom web fonts https://fonts.google.com/ font-f..
Bash here doc A here document is a special-purpose code block. It uses a form of I/O redirection to feed a command list to an interactive program or a command, such as ftp, cat, or the ex text editor. COMMAND 9 )) then echo "true" elif (( $count < 9)) echo "true and true" else echo "true and false" fi Conditional Operators (Reference) operator meaning -eq (= | ==) equal to (string comparison) -ne not..