Files
pack/examples/python-system-deps/main.py
T
2025-01-28 14:03:58 -05:00

15 lines
316 B
Python

from pdf2image import convert_from_path, convert_from_bytes
from pydub import AudioSegment
from pydub.playback import play
# pdf2image
images = convert_from_path('./test.pdf')
print(images)
# pydub
sound = AudioSegment.from_file("test.mp3", format="mp3")
print(sound)
print("Hello from Python with system deps")