Skip to content

Tag: python

How to save a tkinter canvas as an image

I would like to save my drawing on a tkinter canvas as an image so I can open it for later use. I currently use this save system from this post however this is not a good way for me. First I would need to add an offset and second if i set the application so only some part of

for loop count monthly total python

I have a data and here has some date time. like this: I need to count monthly total so I do something like this my code is: And her is my output: But I need the total count month by month now. expected output: Thanks in advance Answer this is not the exact solution you want but hope this will