일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
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 |
- eport
- slow and steady
- JS #프로젝트
- callback
- js
- addEventListener
- https://youtube.com/playlist?list=PLuHgQVnccGMA5836CvWfieEQy0T0ov6Jh&si=FTaYv8m21EhO-A2K
- webpack
- 동기
- promise
- https://m.blog.naver.com/tt2t2am1118/221010125300
- 비동기
- ajax
- database
- Project
- sql
- await
- Porject
- db
- 혼프
- execCommand
- Import
- 게임
- 참고블로그
- json
- async
- object
- prj
- setTimeout()
- mysql
- Today
- Total
목록📘Python (32)
C-log

클래스 : https://hi-code.tistory.com/123 모듈 : https://hi-code.tistory.com/124 패키지 : https://hi-code.tistory.com/125 예외 처리 : https://hi-code.tistory.com/126 내장 함수 : https://hi-code.tistory.com/127 표준 라이브러리 : https://hi-code.tistory.com/128 외부 라이브러리 :https://hi-code.tistory.com/129 Title Code Console 패키지 만들기 def echo_test(): print("echo") import game.sound.echo game.sound.echo.echo_test() echo 패키지 변수..

클래스 : https://hi-code.tistory.com/123 모듈 : https://hi-code.tistory.com/124 패키지 : https://hi-code.tistory.com/125 예외 처리 : https://hi-code.tistory.com/126 내장 함수 : https://hi-code.tistory.com/127 표준 라이브러리 : https://hi-code.tistory.com/128 외부 라이브러리 :https://hi-code.tistory.com/129 Title Code Console 모듈 만들기 # module def add(a, b): return a + b def sub(a, b): return a - b 모듈 import하기 import mod1 print..

클래스 : https://hi-code.tistory.com/123 모듈 : https://hi-code.tistory.com/124 패키지 : https://hi-code.tistory.com/125 예외 처리 : https://hi-code.tistory.com/126 내장 함수 : https://hi-code.tistory.com/127 표준 라이브러리 : https://hi-code.tistory.com/128 외부 라이브러리 :https://hi-code.tistory.com/129 Title Code Console 클래스를 사용하지 않은 함수 result = 0 def add(num): global result result += num return result print(add(3)) prin..

함수 : https://hi-code.tistory.com/119 사용자 입출력 : https://hi-code.tistory.com/120 파일 읽고 쓰기 : https://hi-code.tistory.com/121 프로그램의 입출력 : https://hi-code.tistory.com/122 Title Code Console 프로그램의 입출력 sys 모듈 사용하기 import sys args = sys.argv[1:] for i in args: print(i) 다시 학습해 볼 필요가 있다. import sys args = sys.argv[1:] for i in args: print(i.upper(), end=' ') 다시 학습해 볼 필요가 있다.

함수 : https://hi-code.tistory.com/119 사용자 입출력 : https://hi-code.tistory.com/120 파일 읽고 쓰기 : https://hi-code.tistory.com/121 프로그램의 입출력 : https://hi-code.tistory.com/122 Title Code Console 파일 읽고 쓰기 파일 생성하기 f = open("새파일.txt", 'w') f.close 파일 열기 모드 r - 읽기 모드 : 파일을 읽기만 할 때 사용한다. w - 쓰기 모드 : 파일에 내용을 쓸 때 사용한다. a - 추가 모드 : 파일의 마지막에 새로운 내용을 추가할 때 사용한다. 파일(w)을 열어 내용 쓰기 f = open("새파일.txt", 'w') for i in ran..

함수 : https://hi-code.tistory.com/119 사용자 입출력 : https://hi-code.tistory.com/120 파일 읽고 쓰기 : https://hi-code.tistory.com/121 프로그램의 입출력 : https://hi-code.tistory.com/122 Title Code Console 사용자 입출력 input 사용하기 a = input() print(a) Life is too short, you need python Life is too short, you need python number = input("숫자를 입력하세요 : ") print(number) print(type(number)) 숫자를 입력하세요 : 177 177 문자열 띄어 쓰기는 쉼표 prin..

함수 : https://hi-code.tistory.com/119 사용자 입출력 : https://hi-code.tistory.com/120 파일 읽고 쓰기 : https://hi-code.tistory.com/121 프로그램의 입출력 : https://hi-code.tistory.com/122 Title Code Console 함수 함수의 기본 구조 def add(a, b): return a+b a = 3 b = 4 c = add(a, b) print(c) 7 def add(a, b): print("%d, %d의 합은 %d입니다." % (a, b, a+b)) return a+b add(3, 4) 3, 4의 합은 7입니다. 여러 개의 입력값을 받는 함수 만들기 def add_many(*args): res..

if문 : https://hi-code.tistory.com/116 while문 : https://hi-code.tistory.com/117 for문 : https://hi-code.tistory.com/118 Title Code Console for문 for문 기본 구조 #list(or tuple, string) test_list = ['one', 'two', 'three'] for i in test_list: print(i) one two three a = [(1, 2), (3, 4), (5, 6)] for (first, last) in a: print(first + last) 3 7 11 for문 응용 marks = [90, 25, 67, 45, 80] number = 0 for mark in ma..