-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathbot.py
123 lines (91 loc) · 8.24 KB
/
bot.py
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
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
"""
1.introduce about bot to user
2.ask user name
3.wish user with his name
4.give list of courses from vedic with coach name and info of that course and ask user to select course
5.give sessions names realated to users selection and ask user to select the session number
6.privode session link to user
7.print-if u want any other info plase contact me i will be alwas there for u
"""
#defining a function which will give information
def course_info(course_num):
classname=[]
link=[]
#WEB DEVELOPMENT BOOTCAMP
if course_num==2:
print("* Welcome to Become a Web development pro with these skills...!* - by Prashanth")
print()
print("You can get all about HTML,CSS,Bootstrap,Javascript ")
print()
classname=["Class 1: Introducing the web development and HTML(tags) from roots.","Class 2: Introducing CSS by styling the web pages by making a web page as assignment","Class 3: Introducing Bootstrap by building a responsive web pages and an assignment","Class 4: Practicing building webpages by using HTML,CSS,Bootstrap.","Class 5: Getting excited to learn new things in HTML,CSS,Bootstrap.","Class 6: Introducing Javascript with a calculator working assignment."]
link=["https://youtu.be/UxoX5fGQeiY","https://youtu.be/yyFxGoxyLQM","https://youtu.be/xUmM1ucWnJM","https://youtu.be/UcHg0KPWNkY","https://youtu.be/k2XJcSpUfbM","https://youtu.be/1Y8rKnPTzPc"]
#Building Chatbots with Google Assistant Workshop
elif course_num==4:
print("**Welcome to building chatbots! workshop ** -by Prashanth")
print()
print("Chatbots have developed significantly with the introduction of products such as Siri, Cortana, and Google Assistant.")
print()
classname=["Class 1: Introduction to Chatbots Your first Chatbot","Class 2: Building Chatbots with DialogFlow and Deploying to Google Assistant"]
link=["https://teams.microsoft.com/l/meetup-join/19%3ameeting_NTFkNjM0M2UtY2ZiZC00YTViLWJiMTAtZDk3NDg5YmE3NjYw%40thread.v2/0?context=%7b%22Tid%22%3a%2283187130-08a6-47ca-9d15-94facab49d99%22%2c%22Oid%22%3a%22582ccf99-7f9c-444d-a5c6-eacab40021b0%22%2c%22IsBroadcastMeeting%22%3atrue%7d","https://teams.microsoft.com/l/meetup-join/19%3ameeting_ZGI5N2ZjNGUtYzhiNy00ZWZhLTg2YzgtNjdmNTM5YTE5NTE4%40thread.v2/0?context=%7b%22Tid%22%3a%2283187130-08a6-47ca-9d15-94facab49d99%22%2c%22Oid%22%3a%22582ccf99-7f9c-444d-a5c6-eacab40021b0%22%2c%22IsBroadcastMeeting%22%3atrue%7d"]
#Full Stack Web Development with Node js
elif course_num==3:
print("* Welcome to Full Stack development with node js * - by prashanth")
print()
print("Full stack development includes pretty much any project where you're working on (or building) both the front and back end of a site or app at the same time.")
print()
classname=["Class 1: Course Introduction and Revision","Class 2: Introduction to Javascript","Class 3: Introduction to Node Js","Class 4: Understanding Node Js CAll back functions","Class 5: Understanding API's","Class 6: Introduction to Chatbots","Class 7: Building Telegram Chatbots with API's","Class 8: Getting Started with No SQL Database","Class 9: Connecting MongoDB in Telegram Chatbots","Class 10: Building Web Applications with Express Js","Class 11: Building Web Applications with Node Js"]
link=["https://teams.microsoft.com/l/meetup-join/19%3ameeting_MDc3Y2QwZTctOTQ5ZS00ZjhhLTk2ODMtNGJhNTI4MWZlNjYy%40thread.v2/0?context=%7b%22Tid%22%3a%2283187130-08a6-47ca-9d15-94facab49d99%22%2c%22Oid%22%3a%22582ccf99-7f9c-444d-a5c6-eacab40021b0%22%2c%22IsBroadcastMeeting%22%3atrue%7d","https://youtu.be/BcFb8HWKupI","https://youtu.be/dTSPbW-FCRE","https://youtu.be/C5FFsBLWcME","https://youtu.be/uwAsEB6AegU","https://youtu.be/TE8N9M_KnFc","https://youtu.be/V9yrSVkAUks","https://youtu.be/YxWZhTUGkCk","https://youtu.be/TAwcv9x1T28","https://youtu.be/Qi7SV2nWjOU","https://teams.microsoft.com/l/meetup-join/19%3ameeting_YzQ1NmIzYTUtY2M4MC00ODY1LTk0YzctZjE2ODllZmYxNDA3%40thread.v2/0?context=%7b%22Tid%22%3a%2283187130-08a6-47ca-9d15-94facab49d99%22%2c%22Oid%22%3a%22582ccf99-7f9c-444d-a5c6-eacab40021b0%22%2c%22IsBroadcastMeeting%22%3atrue%7d"]
#Python for Engineers
elif course_num==5:
print(" * Welcome to learning Python for ML * - by Abhinav Dayal")
print()
print("Python Skills. If we intend to leverage Python in order to perform machine learning, having some base understanding of Python is crucial.")
print()
classname=["Class 1: ML Introduction","Class 2: Python-Getting Acquainted","Class 3: Designing our first Python Project","Class 4: Design Thinking-Industry Expert Perspective"]
link=["https://www.youtube.com/watch?v=1zz5VAizJEE","https://www.youtube.com/watch?v=25uW13yKZmE","https://www.youtube.com/watch?v=C6X71gjB9pA","https://youtu.be/hxc7SibPbW8"]
#PCB Design Workshop
else:
print("* Welcome to PCB Design * - by Teja")
print()
print("PCB design includes how to design a PCB by including different electonic materials like sensors")
print()
classname=["Class 1: Information about PCB and it's uses","Class 2: Steps involved in circuit design","Class 3: Reading Datasheet and Start to draw a simple Schematic using some sensors","Class 4: Pullup resistors,Decoupling capacitors,PCB Power,Adafruit,EEVBlog"]
link=["https://teams.microsoft.com/l/meetup-join/19%3ameeting_YjEyNWJkMGItMmVmNS00M2YzLTg3YTAtMWRiZTA3MmMzOWFi%40thread.v2/0?context=%7b%22Tid%22%3a%2283187130-08a6-47ca-9d15-94facab49d99%22%2c%22Oid%22%3a%22582ccf99-7f9c-444d-a5c6-eacab40021b0%22%2c%22IsBroadcastMeeting%22%3atrue%7d","https://teams.microsoft.com/l/meetup-join/19%3ameeting_ZGJiYmE2YzUtNjAzNS00YmQ1LTk2NTctZjcyMzhkMTgxOWQ0%40thread.v2/0?context=%7b%22Tid%22%3a%2283187130-08a6-47ca-9d15-94facab49d99%22%2c%22Oid%22%3a%22582ccf99-7f9c-444d-a5c6-eacab40021b0%22%2c%22IsBroadcastMeeting%22%3atrue%7d","https://teams.microsoft.com/l/meetup-join/19%3ameeting_N2JjNGUxMzAtNjU4Yy00MzdkLWFkN2UtMjJlODg5NmM4OGZh%40thread.v2/0?context=%7b%22Tid%22%3a%2283187130-08a6-47ca-9d15-94facab49d99%22%2c%22Oid%22%3a%22582ccf99-7f9c-444d-a5c6-eacab40021b0%22%2c%22IsBroadcastMeeting%22%3atrue%7d","https://teams.microsoft.com/l/meetup-join/19%3ameeting_YTJkZGIzZDYtNTFlYi00MWIyLTljM2MtYzFkZjQ3NDM1ZmIw%40thread.v2/0?context=%7b%22Tid%22%3a%2283187130-08a6-47ca-9d15-94facab49d99%22%2c%22Oid%22%3a%22582ccf99-7f9c-444d-a5c6-eacab40021b0%22%2c%22IsBroadcastMeeting%22%3atrue%7d"]
for i in range(len(classname)):
print(classname[i])
print()
# # #ask user to select a class number to get session link
class_num=int(input("Please select a class number which you want to go through ::> "))
print()
# # #it will give the link for user selected class
try:
class_link=link[class_num-1]
print("Recorded video link of class you have selected is here :")
print(" "+class_link)
print()
print("If you want any other information plase contact me i am available always for u")
except:
print("Sorry you have choosen a wrong class number :(")
#introduction of bot user
print(" ***Welcome to learningbot I can provide information related to all the courses in vedic along with their sessions links :) ***")
print()
#asking user name and greeting him
name=input("May I know your name? please! ::> ")
print()
print("Hi! "+name.upper()+" a very warm welcome to you")
print()
print("It is a great opportunity to learn new courses! These are courses provide by the vedic platform :)")
print()
#giving list of courses from vedic
d=["Course-1:PCB Design Workshop","Course-2:Web Development Bootcamp","Course-3:Full Stack Web Development with Node js","Course-4:Building Chatbots with Google Assistant Workshop","Course-5:Python for Engineers"]
for i in range(len(d)):
print(d[i])
print()
#ask user to select a course
course_num=int(input("Please select a course number that you want to learn ::> "))
print()
#it will give info related to user's selected course and classes info
if course_num<=5 and course_num>=1:
course_info(course_num)
else:
print("Sorry you have selected a wrong course number :(")