일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
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 | 29 | 30 | 31 |
- PostgreSQL CAST
- sns 샌드박스 종료
- HTML 태그
- Apache Benchmark
- sql 데이터 추가
- HTML
- 스트레스툴
- Apache ab
- aws sdk v3
- node.js ec2
- COALESCE함수
- npm 전역 설치 삭제
- node.js ec2 배포
- 이것이 자바다
- html tag
- Primary key(기본 키)
- node.js
- filezilla
- npm 글로벌 설치 삭제 했는데 실행됨
- ab 벤치마크
- sms 휴대폰 인증
- Foreign Key (외래 키)
- SMS sandbox
- EC2
- sms 샌드박스
- Java
- 자바
- sql 데이터 삽입
- node.js ec2 ip접속
- AWS SDK for JavaScript v3
- Today
- Total
목록전체 글 (59)
망각에 재주 있는 나를 위해 기록하는 곳.
range(start, stop, step) 연속적인 숫자를 반환하는 함수. for x in range(0,5): print(x) 0 1 2 3 4 list(range(0,5)) # [0, 1, 2, 3, 4]
조건에 맞는 내용이 확인되면 break문이 실행되어 종료가 되지만 보기에서 while문이 모두 실행 되었지만 발견하지 못하면 else가 실행된다. numbers = [1, 3, 5] position = 0 while position < len(numbers): number = numbers[position] if number % 2 == 0: print('Found even number', number) break position += 1 else: print('No even number found') # No even number found
format() 형식: format_string.format(data) name = "Jenny" print('{}'.format(name)) # Jenny format() 인수의 순서대로 나열된다. name1 = "jenny" name2 = "john" print("{} and {}".format(name1, name2)) # jenny and john 위치 별로 들어갈 인수를 정할 수도 있다. print("{1} and {0}".format(name1, name2)) # john and jenny format()에서 직접 인수를 지정하여 사용할 수 있다. print("{name2} and {name1}".format(name1='smith', name2='josh')) # josh and smith ..
text = "i never dreamed about SUCCESS, i worked for it..." capitalize() 첫 번째 단어를 대문자로 만든다. (근데 첫 글자만 됨....) text.capitalize() # I never dreamed about success, i worked for it... title() 모든 단어의 첫 번째 글자를 대문자로 만든다. text.title() # I Never Dreamed About Success, I Worked For It... upper() 모든 단어를 대문자로 만든다. text.upper() # I NEVER DREAMED ABOUT SUCCESS, I WORKED FOR IT... lower() 모든 단어를 소문자로 만든다. text.l..