Skip to content

Commit c1d28a1

Browse files
authored
Update play_youtube_video.py
1 parent 8a9021a commit c1d28a1

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed
Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
import pywhatkit
2+
try:
3+
4+
Song = input("Enter Song Name: ")
5+
pywhatkit.playonyt (Song)
6+
print("Successfully Played!")
7+
8+
except:
9+
print("An Unexpected Error!")

0 commit comments

Comments
 (0)