본문 바로가기

Study

(259)
sql 기초 / 오리엔테이션 및 오라클 설치방법 오라클 설치 주의사항 : 다운로드 받는 폴더 반드시 영문 학원 컴퓨터 오라클 비밀번호 : oracle_4U *오라클 접속방법 1.도스창(명령프롬프트) 관리자 권한으로 실행 (검색창에 cmd 입력) 2.C:\Windows\system32>sqlplus "/ as sysdba" ㅁSQL ? Structure Query Language = 구조적 질의 언어 데이터 베이스에 저장된 데이터를 검색하고 조작하는 언어 > 데이터를 저장하고 관리하는 저장소 > 데이터 베이스 소프트웨어? 1. 오라클 2. My SQL(maria db) 3.MSSQL 4.Postrgre 5.DB2 sql언어는 어떤 소프웨어든 똑같음. 함수만 프로그램별로 조금씩 상이함. ㅁ데이터의 종류? 1. Small data > business dat..
[나도코딩] 파이썬 강의_퀴즈7 [내가 쓴 코드] for number in range(1,51): with open("{0}주차.txt".format(number) , "w", encoding="utf8") as report_file: report_file.write("- {0}주차 주간보고 -".format(number)) report_file.write("\n부서 : ") report_file.write("\n이름 : ") report_file.write("\n업무요약 :") [나도코딩이 쓴 코드] for i in range(1,51): with open(str(i) + "주차.txt", "w", encodinf="utf8") as report_file: report_file.write("- {0}주차 주간보고 -".format(i..
[나도코딩] 파이썬 강의_퀴즈6 [내가 쓴 코드] def std_weight(height, gender): if gender == "남자": weight = round((height*1/100)*(height*1/100)*22,2) print("키{0}cm 남자의 표준 체중은 {1}kg입니다.".format(height, weight)) elif gender == "여자": weight = round((height*1/100)*(height*1/100)*21,2) print("키{0}cm 여자의 표준 체중은 {1}kg입니다.".format(height, weight)) std_weight(175, "남자") [나도코딩이 쓴 코드] def std_weight(height, gender): if gender == "남자": return h..
[나도코딩] 파이썬 강의_퀴즈5 [내가 쓴 코딩] from random import * for customer in range(1,51): customer_minuit = randrange(5, 51) if 5
[나도코딩] 파이썬 강의_퀴즈4 [내가 쓴 코드] from random import * command = [1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20] #조건 1 shuffle(command) #조건2 chicken = sample(command,1) command = set(command) command.remove(chicken) coffee = sample(command,3) print(''' -- 당청자 발표 --- 치킨 당첨자 : '''+chicken+''' 커피 당첨자 : '''+coffee+''' -- 축하합니다 --''') [에러 문구] Traceback (most recent call last): File "c:\Users\ejcej\Desktop\python tutori..
[나도코딩] 파이썬 강의_퀴즈3 [내가 쓴 코드] site = "http://naver.com" site_name = site[7:12] print("생성된 비밀번호 : "+ site_name[:3] +str(len(site_name))+str(site_name.count("e"))+"!") [나도코딩이 쓴 코드] url = "http://naver.com" my_str = url.replace("http://", "") #replace함수를 이용해 공백으로 만듦 > 규칙1 my_str = my_str[:my_str.index(".")] #my_str에 들어간 문자열 중에서 "."의 직전까지 슬라이싱 > 규칙2 password = my_str[:3] + str(len(my_str))+str(my_str.count("e"))+"!" pr..
[나도코딩] 파이썬 강의_퀴즈2 1. print()에 바로 randint() 함수를 집어넣음 > Error > random 모듈을 불러왔어야 함. print("오프라인 스터디 모임 날짜는 매월 "+ randint(4,28) +"일로 선정되었습니다.") 2. 모듈을 불러옴> Error > random 모듈과 math모듈 착각함 from math import * print("오프라인 스터디 모임 날짜는 매월 "+ randint(4,28) +"일로 선정되었습니다.") from math import * date = print(randint(4, 28)) print("오프라인 스터디 모임 날짜는 매월 "+date+"일로 선정되었습니다.") 3. random모듈로 수정하고, 변수를 설정함 > Error > 변수 설정시 print() 필요없음. f..
Python(파이썬) 설치 방법 https://www.python.org/ Welcome to Python.org The official home of the Python Programming Language www.python.org 검색엔진에서 Python 검색 후 컴퓨터 환경에 맞게 최신버전 설치. *python 처음 설치 후, cmd와 VScode에 python 명령어를 입력하면 Microsoft store로 연결되는 문제 발생 > 프로그램 삭제 후 PATH 설정하여 다시 설치함 > VScode에서 python 명령어 입력 시 문제발생하지 않음. 나중에 찾아보니 삭제할 필요없이 윈도우 시스템설정에서 변경가능하다고 함. 참고 : https://codens.info/1849
데이터분석 관련 진입정보 1. 데이터 관련 유튜브 참고 영상 https://youtu.be/fLVEfcCAA2Q * 공부법에서 소개한 링크들 : 1) 코딩도장 : https://dojang.io/course/view.php?id=7 2) 이수안컴퓨터연구소 : https://www.youtube.com/channel/UCFfA... 3) 오늘코드 : https://www.youtube.com/channel/UCLR3... 4) 모두를 위한 딥러닝 : https://www.youtube.com/channel/UCC76... https://youtu.be/ygwFy0kcqR8 자발적코딩이 중요. 사이드 프로젝트 진행할 것. 무료플랫폼 >생활코딩, 노마드코더(클론코딩) 깃허브, 개발 블로그 작성하면 도움 많이 됨. 2. 파이썬 기초 h..

반응형