This Python script checks if a given path is a link or a file download. The user is prompted to enter the path they want to check. The script then converts the path into Unicode characters and checks for specific character combinations to determine if the path is a link or a file download. If the path is determined to be a link, the user is asked if they want to open it in a new tab. If the user responds with ‘Y’, the link is opened in a new tab using the webbrowser module.
-
Notifications
You must be signed in to change notification settings - Fork 0
CobraCabbe-CTRL/Zip-Detector
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
About
A simple python file that checks for suspicious character combinations used in links, and tries to determine if the path entered by the user is a file download or a new .zip link