반복문(break, continue, pass 가능) whilenum = 1while (num
파이썬을 사용하면 가상환경을 사용을 하게된다.나같은 경우는 프로젝트마다 django 버전이 다르기 때문에 가상환경을 이용해 버전관리를 해야한다. 설치 pip3 install virtualenv virtualenvwrapper virtuallenv만을 사용하면 source를 통해 가상환경에 진입하려면 설치된 디렉토리로 이동하고, 작업해야해서 불편함이 있지만 virtualenvwrapper를 사용함 으로써 어디서든지 가상환경에 대한 설정 및 세팅을 할 수 있다. 홈 디렉토리로 이동cd ~/ 가상환경 디렉토리 생성mkdir ~/.virtualenvs .bashrc나 .bashprofile의 파일 제일 마지막에 아래 코드를 복사해 붙여넣기 (파일이 없다면 생성) # python virtualenv setting..
파이썬 변수 선언 하는법 Integer (정수형) my_int = 3 Float (실수형) my_float = 3.2342 Boolean (논리형) my_boolean = True my_boolean = not my_boolean // False String (문자열) my_string = 'string' my_string * 2 // 'string string' my_string + 'df' //'stringdf' Java나 다른언어 같은경우에는 int+string = string 이 되는데 파이썬은 안됨 ex) my_int + '' //'3' 이 되는데 파이썬은 안된다 => str(my_int) + '' 처럼 int를 타입변환 시켜 사용하면됨 >>> var1 'Hello World!' >>> var1..
python3의 연산 설명 OperatorDescriptionExample+ AdditionAdds values on either side of the operator.a + b = 31- SubtractionSubtracts right hand operand from left hand operand.a – b = -11* MultiplicationMultiplies values on either side of the operatora * b = 210/ DivisionDivides left hand operand by right hand operandb / a = 2.1% ModulusDivides left hand operand by right hand operand and returns remain..
- Total
- Today
- Yesterday
- react
- JavaScript
- jQuery
- CSS
- Python
- Angular
- JPA
- 파이썬3
- data component module
- mobx
- Spring Boot
- facebook login
- Spring
- 파이썬
- MySQL
- JSON
- localStorage
- https://www.tistory.com/auth/logout/
- data gird component
- python3
- Router
- Java
- data table component
- data component
- React-router
- 페이스북 로그인
- data grid component
- angular router
- Redux
일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
1 | ||||||
2 | 3 | 4 | 5 | 6 | 7 | 8 |
9 | 10 | 11 | 12 | 13 | 14 | 15 |
16 | 17 | 18 | 19 | 20 | 21 | 22 |
23 | 24 | 25 | 26 | 27 | 28 |