-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path01_first.py
More file actions
65 lines (40 loc) · 1.25 KB
/
01_first.py
File metadata and controls
65 lines (40 loc) · 1.25 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
# print("\nNamaste Duniya :) \n")
# Printing jokes
# import pyjokes
# Myjokes = pyjokes.get_joke()
# print(Myjokes)
# Practice Set
# print("\nThere we go with the poem part: \n")
# print(''' Twinkle, twinkle, little star,
# How I wonder what you are!
# Up above the world so high,
# Like a diamond in the sky.
# When the blazing sun is gone,
# When he nothing shines upon,
# Then you show your little light,
# Twinkle, twinkle, all the night.
# Then the trav'ller in the dark,
# Thanks you for your tiny spark,
# He could not see which way to go,
# If you did not twinkle so.
# In the dark blue sky you keep,
# And often thro' my curtains peep,
# For you never shut your eye,
# Till the sun is in the sky.
# 'Tis your bright and tiny spark,
# Lights the trav'ller in the dark:
# Tho' I know not what you are,
# Twinkle, twinkle, little star.
# ''')
# using pyttsx3 for text to speech
# import pyttsx3
# jarvis = pyttsx3.init()
# voices = jarvis.getProperty('voices')
# jarvis.setProperty('voice', voices[1].id)
# jarvis.say("Hey Rishav how are you")
# jarvis.runAndWait()
# import os
# path = '/Games'
# contents = os.listdir(path)
# for item in contents:
# print(item)