You can get a python program below which will take two arguments year (eg. 2019) and month (eg. 6) in integer format and will display complete calendar of the month from that year you will enter from console.
year = int(input("Please enter year:"))
month = int(input("Please enter month:"))
Just paste the above code in a python file and execute.