Skip to content

Commit b08f333

Browse files
authored
Add files via upload
1 parent 1c4c425 commit b08f333

2 files changed

Lines changed: 10 additions & 0 deletions

File tree

codes_in_Aug2025/FILE-IO/play.py

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
import time
2+
import vlc
3+
x = (input("Type \'play\' for a surprise.\n"))
4+
y = x.lower()
5+
6+
if y == "play":
7+
k = vlc.MediaPlayer("tab.mp4")
8+
k.play()
9+
time.sleep(6)
10+

codes_in_Aug2025/FILE-IO/tab.mp4

1.01 MB
Binary file not shown.

0 commit comments

Comments
 (0)