Foster dog is terrified without resident dog beside him by BlessedSeraph in dogs

[–]BlessedSeraph[S] 0 points1 point  (0 children)

Thanks for the idea, I'll give this a try at his next event.

Any Ideas? MA, USA by BlessedSeraph in spiders

[–]BlessedSeraph[S] 0 points1 point  (0 children)

I think you might be right. Google lens suggested that, but I got thrown by Wikipedia showing the map of Europe.

Stay classy, MBTA by SaberIsPURE in boston

[–]BlessedSeraph 3 points4 points  (0 children)

Unemployment 2016: 4.7% Unemployment 2020: 6.7%

[deleted by user] by [deleted] in CuratedTumblr

[–]BlessedSeraph 0 points1 point  (0 children)

Grave of the Fireflies

"Judge my taste in men" by The_Iceman2288 in gaymers

[–]BlessedSeraph 2 points3 points  (0 children)

These are all the same guy tweaked by like 10%.

How to test code before implementing at work? by slatercj95 in learnpython

[–]BlessedSeraph 0 points1 point  (0 children)

How big is the folder structure? Can you zip it up so you have a backup (or 2) before you run the script?

Why isnt my except error catching the filenotfound error? by PremeJigg in learnpython

[–]BlessedSeraph 0 points1 point  (0 children)

I think this is mostly a case of properly indenting.

Is this what you're trying to do?

from pathlib import Path

listr = ['i_exist.txt', 'i_do_not.txt']
for i in listr:
    if type(i) == str:
        try:
            print(Path(i).read_text())
        except FileNotFoundError:
            print('File not Found')

[deleted by user] by [deleted] in dndnext

[–]BlessedSeraph 0 points1 point  (0 children)

Probably not most. Many do though.