from datetime import datetime, date, time
dt = datetime.now()
print dt.strftime(„%A, %d. %B %Y %I:%M%p“)
import fnmatch
import os
for file in os.listdir(‚.‘):
if fnmatch.fnmatch(file, ‚*py‘):
print file
Eine weitere WordPress-Website
from datetime import datetime, date, time
dt = datetime.now()
print dt.strftime(„%A, %d. %B %Y %I:%M%p“)
import fnmatch
import os
for file in os.listdir(‚.‘):
if fnmatch.fnmatch(file, ‚*py‘):
print file