본문 바로가기

전체 글

(9)
bongo cat buddy VS code 말고 windows에서도 구동하기. 1. 아래 링크에서 autohotkey를 2.0으로 다운받고 설치한다.https://www.autohotkey.com/ AutoHotkeyAutoHotkey provides a simple, flexible syntax allowing you to focus more on the task at hand rather than every single little technicality. It supports not only the popular imperative-procedural paradigm, but also object-oriented and command-based programmiwww.autohotkey.com  2. 아래 압축파일을 다운받는다.구성은 아래와 같음 BongoCat.ahk는 아래..
무료 웹호스팅 서비스 https://www.dothome.co.kr
html에 iframe으로 유튜브 올리기 에 자동으로 태그가 load될 것 이다. --> 출처: https://nanaj.tistory.com/12 [주니어 프론트엔드의 기록:티스토리]
파이썬으로 만년달력 만들기 아래는 코드입니다.더보기 def myCal(year,month): import datetime first_day=datetime.date(year,month,1) print(f'[{year}년 {month}월 달력]') print('일','월','화','수','목','금','토',sep='\t') 요일=first_day.weekday() one_day=datetime.timedelta(days=1) if 요일==0: print('\t',end='') elif 요일==6: pass else: print('\t'*(요일+1),end='') for i in range(33): if first_day.mont..
올라마 ollama 웹에서 무료로 구동하기 https://groq.com/
AWS Lightsail에서 Ubuntu LAMP + Python Flask 구축 방법 보호되어 있는 글입니다.
selenium로 페이지 끝까지 스크롤하기 #스크롤 가장 아래까지 내리기scroll_location = driver.execute_script("return document.body.scrollHeight")while True: #현재 스크롤의 가장 아래로 내림 driver.execute_script("window.scrollTo(0,document.body.scrollHeight)") #전체 스크롤이 늘어날 때까지 대기 time.sleep(2) #늘어난 스크롤 높이 scroll_height = driver.execute_script("return document.body.scrollHeight") #늘어난 스크롤 위치와 이동 전 위치 같으면(더 이상 스크롤이 늘어나지 않으면) 종료 ..
차트에서 한글폰트 _ 마이너스 기호 나오기 하기 import matplotlib.pyplot as pltimport osimport seaborn as snsif os.name == 'nt': font_family = "Malgun Gothic"else: font_family = "AppleGothic" sns.set(font=font_family, rc={"axes.unicode_minus" : False })# retina 를 지원하는 디스플레이에서 폰트가 선명하게 보이기 위함from IPython.display import set_matplotlib_formatsset_matplotlib_formats("retina")