반응형

개발 81

Pandas read_excel error : ValueError: Your version of xlrd is 2.0.1. In xlrd >= 2.0, only the xls format is supported. Install openpyxl instead.

[ Code ]import pandas as pddf = pd.read_excel("test.xlsx") [ Error message ]Pandas read_excel error : ValueError: Your version of xlrd is 2.0.1. In xlrd >= 2.0, only the xls format is supported. Install openpyxl instead. [ Reason ]Since xlrd 2.0 and above only supports the xls format and not the xlsx format, install the openpyxl module to process the xlsx format with read_excel in Pandas. [ Solu..

개발/Python 2026.04.11

transformers 5.x AttributeError: BertTokenizer has no attribute _convert_token_to_id. Did you mean: 'convert_tokens_to_ids'?

[ Code ]import nlpaug.augmenter.word as nawtexts = [ "Test message",]aug = naw.ContextualWordEmbsAug(model_path="bert-base-uncased", action="insert")augmented_texts = aug.augment(texts) [ Error message ]Traceback (most recent call last): File "/home/gangserver/devel/python/nlpaug_test.py", line 7, in aug = naw.ContextualWordEmbsAug(model_path="bert-base-uncased", action="insert") ..

개발/Python 2026.03.26

Ubuntu 24.04 로또 6/45 랜덤 생성 프로그램 (Qt5)

Qt5 UI를 이용하여 만든로또 6/45와 같은 1 ~ 45까지 랜덤한 숫자 6개를 총 5개 생성하는 프로그램입니다. [ 다운로드 ]주의! - 스팸 다운로드를 방지하기 위해 아래 다운로드 URL은 주기적으로 변경됩니다.https://drive.google.com/file/d/1y8pGciEqLejz1hvWFX8ok8zd1oIERfVD/view?usp=sharing다운로드 파일명 : lotto645 (용량 : 약 50MB) - 실행 권한 확인터미널을 실행하여 다운로드된 디렉토리 이동 후lotto645 파일에 실행 권한이 있는지 확인하여 없으면 실행 권한을 추가해주세요.$ chmod u+x lotto645 - 실행터미널 실행 후 다운로드된 디렉토리 이동 후아래와 같은 명령어로 실행$ ./lotto645 또..

개발/Python 2026.03.06

로또 번호 생성기, 로또 6/45

로또 번호 생성기, 로또 6/45 PyScript를 이용하여 만든로또 6/45와 같은 1 ~ 45까지 랜덤한 숫자 6개를 총 10개 생성하는 html 파일입니다. 첨부 파일(lotto_645_v31.html) 다운로드 후다운로드된 파일 클릭하면 기본 브라우저(예, 크롬(Chrome))가 실행되면서 랜덤한 로또 번호가 생성됩니다.(다운로드된 파일이 HTML 파일이어서 클릭 시 기본 브라우저가 실행되면서 랜덤 번호가 생생됩니다.) HTML 소스 : Loading... 로또 6/45    Lotto 6/45 version : 0.3.1 date : 2026-..

개발/Python 2026.02.05

Lotto 6/45 random generation pyscript version(ver 0.1)

(Eng)1. Download attached file(lotto645_v1.html)2. Double click the downloaded file (or Downloaded file open in browser)3. Click the [Generation] button (Kor)1. 첨부파일 다운로드(lotto645_v1.html)2. 다운로드 파일 더블클릭 (또는 다운로드 파일 브라우저에서 열기)3. [Generation] 버튼 클릭 html source : Loading... 로또 6/45    Lotto 6/45 version : 0.1 date : 2025-01-06 (Y-M-D) author : ..

개발/Python 2025.11.29

로또 6/45 생성 프로그램 (Lotto 6/45 Generator) [ver 0.2]

(Eng)1. Download attached file(lotto645_v2.html)2. Double click the downloaded file (or Downloaded file open in browser)3. Click the [Generation] button (Kor)1. 첨부파일 다운로드(lotto645_v2.html)2. 다운로드 파일 더블클릭 (또는 다운로드 파일 브라우저에서 열기)3. [Generation] 버튼 클릭 html source : Loading... 로또 6/45    Lotto 6/45 version : 0.2 date : 2025-01-06 (Y-M-D) author : ..

개발/Script 2025.11.29
728x90
반응형