2023-01-01から1年間の記事一覧
Display.SelectFileDialog.SelectFile Title: $'''ファイルを選択してください。''' IsTopMost: True CheckIfFileExists: False SelectedFile=> SelectedFile ButtonPressed=> ButtonPressedExcel.LaunchExcel.LaunchAndOpenUnderExistingProcess Path: Sele…
pip install pandas selenium import pandas as pdimport osfrom selenium import webdriverfrom urllib.request import urlretrieve def download_from_extension_url(browser, url, download_path): """extension:// URLからリソースをダウンロードするた…
pip install pdfminer.six import tkinter as tkfrom tkinter import ttk, filedialogfrom pdfminer.high_level import extract_text def extract_tables_from_pdf(pdf_path): text = extract_text(pdf_path) lines = text.split('\n') tables = current_tab…
' urlmonライブラリからファイルをダウンロードする関数を宣言Private Declare PtrSafe Function URLDownloadToFile Lib "urlmon" Alias "URLDownloadToFileA" _ (ByVal pCaller As LongPtr, ByVal szURL As String, ByVal szFileName As String, _ ByVal dw…
Private Declare PtrSafe Function URLDownloadToFile Lib "urlmon" Alias "URLDownloadToFileA" _ (ByVal pCaller As LongPtr, ByVal szURL As String, ByVal szFileName As String, _ ByVal dwReserved As LongPtr, ByVal lpfnCB As LongPtr) As LongPtr '…