![](http://i1.daumcdn.net/thumb/C148x148/?fname=https://blog.kakaocdn.net/dn/bQELhn/btq3hoxuh7w/H3Y6Hznuucbts5zudme071/img.png)
wordcloud 설치 !pip install wordcloud 모듈 가져오기 from urllib.request import urlopen from bs4 import BeautifulSoup from nltk import tokenize from wordcloud import WordCloud, STOPWORDS import matplotlib.pyplot as plt def generate_wdc(text): wordcloud = WordCloud(font_path = "framd.ttf", # 글씨 폰트 width = 2400, # 창 너비 heigth = 1800, # 창 높이 ranks_only = None, # 빈도, 순위에 따른 옵션 relative_scaling = 0.5, # 빈도에 따..
![](http://i1.daumcdn.net/thumb/C148x148/?fname=https://blog.kakaocdn.net/dn/xNUfc/btq3hoRLYph/CbWMnI1T1PuKKVfOcs6XS0/img.png)
현재 작업중인 디렉터리 확인하기 import os os.getcwd float 함수 적용 input() inch = float(input("허리둘레를 인치 단위로 입력하세요 : ")) cm = inch*2.54 print("cm로 변환된 결과 : %.2fcm"%cm) 삼각형의 면적을 나타내는 식의 표현식 구성 width = 10 height = 3 area = width * height / 2 print(f'삼각형의 밑면 길이 : {width}') print(f'삼각형의 높이: {height}') print(f'삼각형의 면적 : ',area) 문자 공백 제거하기 var = "helloworld" print(var.rstrip()) # 오른쪽 공백 제거 print(var.lstrip()) # 왼쪽 공백 제..
![](http://i1.daumcdn.net/thumb/C148x148/?fname=https://blog.kakaocdn.net/dn/babOVQ/btq2CYr27Kw/t1x6TLE6drs7IS8jOKbdz0/img.png)
bioinformaticsandme.tistory.com/153bioinformaticsandme.tistory.com/153 Anaconda 설치 Anaconda 설치 Start BioinformaticsAndMe Anaconda? : 아나콘다(Anaconda)는 데이터 과학, 빅데이터 처리, 머신러닝 분석 등을 위한 파이썬 및 R의 자유-오픈 소스 배포판 : Conda라는 패키지 관리 시스템으.. bioinformaticsandme.tistory.com 이 사이트에서 설치하여 Anaconda Prompt (anaconda3) 실행 (base) C:\Users\aaa>d: (base) D:\>mkdir Anaconda (base) D:\>dir Ana* (base) D:\>jupyter notebook..