전체 글 372

[django 실습] 게시판 만들기 - model, admin 설정

python django 게시판 만들기 - model, admin 설정 python django를 이용한 게시판 만들기 시작 word count 실습을 끝낸 상태에서 시작 하겠습니다. mtv 패턴에서 드디어 m인 model 등장 vscode 설치하기 : https://integer-ji.tistory.com/65 python 설치하기 : https://integer-ji.tistory.com/64 git 설치하기 : https://integer-ji.tistory.com/66 vscode 설정하기 : https://integer-ji.tistory.com/81 hello world 띄우기 : https://integer-ji.tistory.com/82 git 초기 설정 : https://integer-j..

ascii code로 암호화 해주는 사이트

[django] ascii code로 암호화 해주는 사이트 word count를 진행하며 재미있을 거 같은 기능이 생각났다. 문자열을 ascii code로 암호화 하여 바꿀 수 있다면?? 친구들한테 장난치기 딱 좋을 거 같아 만들어 보기로 하였다. 기본 진행은 hello world 띄우기 -> page 이동 -> word count 실습 이후로 진행하겠습니다. -----------------------------------------------------------------------------------------------------------------------------------vscode 설치하기 : https://integer-ji.tistory.com/65 python 설치하기 : ht..

휴지통 2020.02.16

[django 실습] Word Count 만들기 ( 2 )

python django 단어 수를 체크하는 Word Count 만들기 ( 2 ) 이번 시간에는 python 내장 함수와 for문 딕셔너리 등 사용됩니다. vscode 설치하기 : https://integer-ji.tistory.com/65 python 설치하기 : https://integer-ji.tistory.com/64 git 설치하기 : https://integer-ji.tistory.com/66 vscode 설정하기 : https://integer-ji.tistory.com/81 hello world 띄우기 : https://integer-ji.tistory.com/82 git 초기 설정 : https://integer-ji.tistory.com/83 page 이동 : https://intege..

[django] 실습 Word Count 만들기 ( 1 )

python django 단어 수를 체크하는 Word Count 만들기 문자열을 입력받아 해당 단어를 체크하고 카운트하는 Word Count 실습입니다. vscode 설치하기 : https://integer-ji.tistory.com/65 python 설치하기 : https://integer-ji.tistory.com/64 git 설치하기 : https://integer-ji.tistory.com/66 vscode 설정하기 : https://integer-ji.tistory.com/81 hello world 띄우기 : https://integer-ji.tistory.com/82 git 초기 설정 : https://integer-ji.tistory.com/83 page 이동 : https://integer..

[django 기초] 페이지 이동, git push, 템플릿 태그

[django 기초] 페이지 이동, git push, 템플릿 태그 vscode 설치하기 : https://integer-ji.tistory.com/65 python 설치하기 : https://integer-ji.tistory.com/64 git 설치하기 : https://integer-ji.tistory.com/66 vscode 설정하기 : https://integer-ji.tistory.com/81 hello world 띄우기 : https://integer-ji.tistory.com/82 git 초기 설정 : https://integer-ji.tistory.com/83 새로운 페이지.html 생성 new page! 새로운 페이지 new.html을 템플릿 폴더 아래에 생성 views.py 등록 def ..

[django 기초] vscode git 초기 설정, git push, git 강제 push

[django 기초] vscode git 초기 설정, git push, git 강제 push vscode 설치하기 : https://integer-ji.tistory.com/65 python 설치하기 : https://integer-ji.tistory.com/64 git 설치하기 : https://integer-ji.tistory.com/66 vscode 설정하기 : https://integer-ji.tistory.com/81 hello world 띄우기 : https://integer-ji.tistory.com/82 ▶▶ .gitignore 들기 전에 필수 ◀◀ .gitignore 설정하기 : https://integer-ji.tistory.com/179 django secret key 분리하기 : h..

[django 기초] project 생성, app 생성, hello world 띄우기, MTV 패턴

[django 기초] project 생성, app 생성, hello world 띄우기 vscode 설치하기 : https://integer-ji.tistory.com/65 python 설치하기 : https://integer-ji.tistory.com/64 git 설치하기 : https://integer-ji.tistory.com/66 vscode 설정하기 : https://integer-ji.tistory.com/81 Django를 이용해 project 만들기 django-admin startproject crudproject pip 업그레이드가 완료되었다면 django-admin을 이용해 project를 만들어 줍니다. crudproject라는 이름의 프로젝트를 만들어 주었는데 이 또한 마찬가지로 p..

[django 기초] vscode 설정, git bash, django 설치, venv 생성

[django 기초] vscode 설정, git bash, django 설치, venv 생성 예전에 진행했던 django를 이용한 CRUD를 리뉴얼하고 궁금했던 거 공부하는 식으로 적어보기 vscode 설치하기 : https://integer-ji.tistory.com/65 python 설치하기 : https://integer-ji.tistory.com/64 git 설치하기 : https://integer-ji.tistory.com/66 vscode 실행 Terminal Default 설정 ctrl + shift + p -> Terminal: Select Default Shell -> Git Bash Git Bash를 사용할 것이니 Git Bash ctrl + shift + `(물결) -> bash 터미..

## 점프 투 파이썬 - 외장 함수 ( 1 )

## 점프 투 파이썬 - 외장 함수 ( 1 ) 출처 : https://wikidocs.net/33 위키독스 온라인 책을 제작 공유하는 플랫폼 서비스 wikidocs.net https://github.com/integerJI/blahblah_jeong 여러 가지 라이브러리를 살펴보자. sys - 변수와 함수를 직접 제어할 수 있게 해 준다. 명령 행에서 인수 전달하기 - sys.argv #test.py import sys print(sys.argv) C:/User/home > python test.py abc pey guido ['test.py', 'abc', 'pey', 'guido'] # 명령 프롬프트 창에서는 /, \든 상관없지만, 소스코드 안에서는 반드시 / 또는 \\ 기호를 사용해야 한다. 강제로..