목록2022/08/01 (2)
Developer_Neo
https://start.spring.io/ 위의 링크가 스프링 부트 스타터 사이트이다. 이것은 스프링 부트 기반으로 스프링 관련 프로젝트를 만들어주는 사이트이다. Maven과 Gradle - 둘다 대표적인 빌드 관리 툴이다. 빌드 관리 툴이란? - 프로젝트에서 필요한 xml, properties, jar 파일들을 자동으로 인식하여 빌드해주는 도구 - 빌드 자동화를 수행해 실행가능한 프로그램으로 바꿔주는 도구 즉, 코드를 컴파일해서 binary code로 만들고, 패키징하고 코드를 테스트하여 실행가능한 프로그램이 나오기 까지의 과정(빌드)을 자동화하는 것을 수행하여 실행가능한 프로그램으로 바꾸어 준다는 것이다. 옛날에 라이브러리를 사용하기 위해서는 수동으로 다운받아서 해야했다고 한다. 빌드 관리 도구를 ..
입력받기 1. sys.stdin.readline() -> 이게 더 좋다. import sys data = sys.stdin.readline() #----------------------------------------------------------- data_list = list(map(int, sys.stdin.readline().split())) # 여러개 공백을 기준으로 입력 받기 #------------------------------------------------------------ data_list = list(map(int, sys.stdin.readline().rstrip())) #공백없이 입력받아 list만들기 ''' rstrip이 쓰이는 이유는 readline()은 한줄씩 읽어오는..