🤔 Mac m1 에서 몽고db brew로 설치하기 https://shkim0811.tistory.com/16 MongoDB 설치 종류는 두가지가 있는데 (Enterprise 와 Community) 개인 학습용도이므로 여기는 Community 기준으로 작성합니다. 또한, tgz파일을 받아 설치하는 방법과 brew를 통한 설치를 제공하는데, 가이드 문서에서 shkim0811.tistory.com 🧐 파일 찾기 - which / whereis / find / grep 명령어 사용 방법 https://the-dev.tistory.com/13 [UNIX/LINUX] 파일 찾기 - which / whereis / find / grep 명령어 사용 방법 안녕하세요. 개발개입니다. 이번 글에서는 파일명이나 파일이..
🤔 기존 if else 문 if (resource.exists() || resource.isReadable()) { isFile=true; } else { isFile=false; } 🧐 단순화한 if else 문 isFile= resource.exists() || resource.isReadable(); 😆 💪 출처 및 도움주신분들
list = [ {'학번':20201112,'이름':'홍익대','생년월일':'2000년 5월8일','전화번호':'02-4543-4444'}, {'학번':20195555,'이름':'고려대','생년월일':'1999년 10월24일','전화번호':'010-7864-9900'}, {'학번':20201878,'이름':'서울대','생년월일':'2000년 1월7일','전화번호':'010-8856-9092'}] while True: num = input('학번을 입력하세요 : ') ko = (item for item in list if item['학번'] == int(num)) dict = next(ko,False) if dict: print('') print('이름:',dict['이름']) print('생년월일:',d..