Navigation X
ALERT
Click here to register with a few steps and explore all our cool stuff we have to offer!



 1547

[PYTHON] I need help with a basic checker script. [ISSUE SOLVED]

by 2252022 - 24 April, 2022 - 10:41 PM
This post is by a banned member (2252022) - Unhide
2252022  
Registered
14
Posts
1
Threads
2 Years of service
#1
(This post was last modified: 26 April, 2022 - 08:39 PM by 2252022. Edited 2 times in total.)
Issue solved. Can close
This post is by a banned member (UberFuck) - Unhide
UberFuck  
Godlike
1.557
Posts
375
Threads
5 Years of service
#2
Quote:How can I skip the FileNotFoundError and continue using the script.

You can use a try / except block around that part if you just want to skip any errors. https://www.w3schools.com/python/python_try_except.asp

No offense to you OP, but that code looks like an entangled hairball a sick cat just coughed up.

Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
or
Sign in
Already have an account? Sign in here.


Forum Jump:


Users browsing this thread: 1 Guest(s)