I have two games created in pyglet(python),in twodifferent files on PyScripter saved in same location on desktop,Iwant to create a new file in which I may allow option from whichuser can choose between the games and then according to his way ofchosing(keyboard or mouse selection based)the selected game filewill execute.
Solution
Since, you didn’t provide code for your two games so I createdsample of those 2 games as Game1.py and Game2.py to portray theidea of how you can carry out what you want to-
Sample code of Game1.py-
Sample
OR
OR