'how to WAP that insert a youtube link in text file using python and open link from file?

  • i want to create a program in which user can insert some youtube video links into a text file.
  • when user want to view a video, the program will then select the particular link and open up youtube .


Solution 1:[1]

The path you're providing within the file system does not exist hence 'NoneType'.

Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source
Solution 1 Christian Lowe