I'm creating a program that gets a date from users and now I need to convert to string 'cause I need to put this data into a command shell that I'm implementing, with tkinter and tkcalendar (that lib provides me to get entry). How can I do that?
Here the code that I'm building to run on git:
cal = Calendar(top, font='Arial 14', selectmode='day', cursor='hand1')
subprocess.call('git log --pretty='"format: % h"' --after=' +cal+' --before='+cal, shell=True)