-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathmain.py
More file actions
54 lines (34 loc) · 1.37 KB
/
main.py
File metadata and controls
54 lines (34 loc) · 1.37 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
import random
import pandas as pd
import functions
artistData = r'/Users/sanjith/Personal/Development/VSCodeProjects/RandomSongIdeaGenerator/SongGenData.xlsx'
songGenres = ['Trap', 'Rock', 'Lofi', 'Orchestral', 'EDM', 'Cinematic Modern Music']
artists = pd.read_excel(artistData)
artists.AnirudhMovies[1]
q1 = input('Do you need a song idea? y/n: ')
if q1 == 'n':
print('Ok have a good day.')
elif q1 == 'y':
genre = random.choice(songGenres)
q2 = input('Choose a reference artist: \nA:Anirudh \nB:A.R.Rahman \nC:Yuvan \nD:MetroBoomin \nE:Kendrick Lamar: \n')
else:
print('Please enter either y/n')
q1 = input('Do you need a song idea? y/n')
if q2 == 'A':
AnirudhChoice = functions.Anirudh()
print('Your Reference is the Anirudh Scored Movie:', AnirudhChoice)
elif q2 == 'B':
ARRCHoice = functions.ARR()
print('Your reference is the ARR Scored Movie:', ARRCHoice)
elif q2 == 'C':
YuvanChoice = functions.Yuvan()
print('Your reference is the Yuvan Scored Movie:', YuvanChoice)
elif q2 == 'D':
MetroChoice = functions.Metro()
print('Your reference is the Metro Boomin Album:', MetroChoice)
elif q2 == 'E':
KendrickChoice = functions.Kendrick()
print('Your reference is the Kendrick Lamar Album:', KendrickChoice)
else:
print('please enter a capial letter of either A,B,C or D')
print('Your genre is:', genre)