Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- import os, os.path
- dir = "bots/vk/modules/message/image_trigger/images/"
- files = [file for file in os.listdir (dir) if os.path.isfile (os.path.join (dir, file))]
- print (files)
RAW Paste Data
Copied