By default, current month is used , you can change the below code to any month and year.
from datetime import date
year=date.today().year # change this to use year as input
month=date.today().month # change this to use month as input
dt=date(year,month,1) # first day of month
first_w=dt.isoweekday() # weekday of 1st day of the month
To display 4th Satruday, add this code at the end.