공지사항

💜

끈끈 2023. 4. 19. 11:53

https://sw-ing.tistory.com/72

 

django 시작하기

vs코드에서 django 시작하기 python -m venv venv venv\Scripts\Activate pip install django 더보기 pip install autopep8 (참고) : 파이썬 코드를 PEP8 컨벤션에 맞게 자동으로 교정해주는 모듈 pip install pylint (참고) : 오류

sw-ing.tistory.com

 

https://sw-ing.tistory.com/85

 

DRF 시작하기

기본 설정 python -m venv venv source venv/Scripts/Activate pip install django pip install djangorestframework pip freeze > requirements.txt >>> pip install -r requirements.txt 프로젝트 시작 django-admin startproject drf_week2 . >>> . 으로 현

sw-ing.tistory.com

 

https://sw-ing.tistory.com/100

 

POETRY 가상환경 설정하기

window vscode terminal에 입력 curl -sSL https://install.python-poetry.org | python 터미널에 설치된 경로 복사 새로만들기 후 경로 추가 - 저장 poetry init : pyproject.toml 생성 poetry install : poetry.lock 생성 poetry shell : 가

sw-ing.tistory.com

 

https://sw-ing.tistory.com/90

 

포스트맨(Postman) 사용법

https://www.postman.com/downloads/ Download Postman | Get Started for Free Try Postman for free! Join 25 million developers who rely on Postman, the collaboration platform for API development. Create better APIs—faster. www.postman.com 기본 사용법

sw-ing.tistory.com

 

https://sw-ing.tistory.com/77

 

타입별 메서드의 종류

문자열 메서드 text = "Hello, World!" # count # 특정 문자의 개수 count = text.count("l") print(count) # 3 # find # 특정 문자열이 처음 나오는 위치 position1 = text.find("World") print(position1) # 7 position2 = text.find("wow") #

sw-ing.tistory.com

 

https://sw-ing.tistory.com/26

 

파이썬 문법 기초 1주차_Sparta Coding Club

파이썬 설치 👉 번역팩을 설치하는 것 변수 선언 : 변수이름 = 값 #새 변수 print(변수이름) #출력할 때 자료형 : 숫자형, 문자열 1) 숫자형 : 사칙연산이 가능하다 + (더하기) - (빼기) * (곱하기) / (나

sw-ing.tistory.com

 

https://sw-ing.tistory.com/25

 

자주 사용하는 Python 함수 module

type() 값의 자료형 확인하기 integer = 10 float_ = 1.23 string = "hello world!!" list_ = [1, 2, 3] tuple_ = (1, 2, 3) set_ = {1, 2, 3} dictionary = {"key": "value"} boolean = True print(type(integer)) # print(type(float_)) # print(type(string)) # p

sw-ing.tistory.com

 

https://sw-ing.tistory.com/45

 

알아두면 유용한 파이썬 사용 꿀팁 단축키

cls 터미널 콘솔창을 깨끗하게 지워준다 Ctrl + ` 콘솔창 열고 닫기 Ctrl + / 주석처리 괄호 감싸기 해당 블록 선택 후, ( { [ ' " 등을 누르면 자동으로 감싸준다 F2 변수명 한꺼번에 바꾸기 Ctrl + Shift +

sw-ing.tistory.com