본문 바로가기

python package4

Poetry를 이용한 패키지 관리 Source : https://github.com/python-poetry/poetry GitHub - python-poetry/poetry: Python packaging and dependency management made easy Python packaging and dependency management made easy - GitHub - python-poetry/poetry: Python packaging and dependency management made easy github.com Home : https://python-poetry.org/docs/ Introduction | Documentation | Poetry - Python dependency management and pac.. 2022. 11. 4.
openpyxl 사용법 Source : https://pypi.org/project/openpyxl/ Document : https://openpyxl.readthedocs.io/en/stable/index.html# from openpyxl import Workbook, load_workbook """ 1. 데이터 쓰기 """ wb = Workbook() # 파일 생성 ws = wb.active # sheet 생성 및 활성화 ws = wb.create_sheet(title='new_sheet') # sheet 생성( sheet이름 지정 ) ws['a1'] = "이름" # cell에 값 입력 ws.cell(1, 2, "전화번호") ws.append([1, 2, 3]) # active cell 다음 행에 행 단위로 추가 wb.s.. 2022. 11. 2.
gTTs 사용법 gTTs : https://gtts.readthedocs.io/en/latest/index.html# gTTS — gTTS documentation © Copyright 2014-2021 Pierre Nicolas Durette. Revision 3d6cfc9d. gtts.readthedocs.io pyglet : https://pypi.org/project/pyglet/ pyglet Cross-platform windowing and multimedia library pypi.org 음성파일 생성과 읽기 1. TTS 음성 파일 생성 : gTTs 모듈 2. 음성파일 재생 : pyglet 모듈 from gtts import gTTS from time import sleep import os import p.. 2022. 11. 2.
google trans 사용법 공식 homepage : https://github.com/ssut/py-googletrans GitHub - ssut/py-googletrans: (unofficial) Googletrans: Free and Unlimited Google translate API for Python. Translates totally f (unofficial) Googletrans: Free and Unlimited Google translate API for Python. Translates totally free of charge. - GitHub - ssut/py-googletrans: (unofficial) Googletrans: Free and Unlimited Google ... github.com http.. 2022. 11. 2.