View Single Post
Old 06-25-2020, 12:02 PM   #2
snoman
Junior Member
snoman began at the beginning.
 
Posts: 6
Karma: 10
Join Date: Jun 2020
Device: Kobo Aura One
I forgot a line...

I forgot a line in my code, but I don't know how to edit original post

Quote:
#!/usr/bin/python3
# -*- coding: utf-8 -*-

import os
import sys

# Check the encoding of stderr/stdout.
print(sys.stderr, sys.stdout)

path = '/mnt/onboard/Library'
for sub in os.listdir(path):
print(sub)
snoman is offline   Reply With Quote