Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions custom/b17076_script.p
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
print("Finished Running my Script")
26 changes: 26 additions & 0 deletions custom/infob17076.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
from plugin import plugin
import os

@plugin("infob17076")
def infob17076(jarvis, s):
jarvis.say("Welcome to the info plugin of Aniket roll num B17076. Please select one of the options below:")
jarvis.say("[F]ull name")
jarvis.say("[H]ometown")
jarvis.say("Favourite [M]ovie")
jarvis.say("Favourite [S]portsperson")
jarvis.say("Launch [P]ython program written by me")
s = input();
if(s == "F"):
jarvis.say("Aniket Sahu")
elif(s == "H"):
jarvis.say("Lucknow")
elif(s == "M"):
jarvis.say("Dark Knight")
elif(s == "S"):
jarvis.say("Cristiano Ronaldo")
elif(s == "P"):
cwd = os.getcwd()
path = cwd + "/custom/b17076_script.p"
os.system("python "+path)
else:
jarvis.say("Wrong Input");