All Questions
526 questions
0
votes
1
answer
56
views
Google Calendar - get an event by ID in python script
I have created an event on Google calendar in python using these lines:
service = build('calendar', 'v3', credentials=credentials)
now = datetime.datetime.utcnow().isoformat() + 'Z'
events_result = ...
1
vote
1
answer
68
views
Why is the current date number not showing on a tkcalendar restricted to only select Monday weekdays?
I have created a tkcalendar to restrict the user by only enabling the selection of Mondays. (The code is based on code previously submitted by j_4321 that allowed the selection of Wednesdays and ...
-1
votes
2
answers
113
views
Compare tkinter calendar get_date() Date with datetime field in Oracle db : [closed]
I´m trying to extract data within two tkinter calendar dates from an Oracle DB, Date in calendar is format date_pattern='yyyy-mm-dd'
Date in Oracle DB is datetime yyyy-mm-dd hh:mm:dd, but I keep ...
0
votes
1
answer
50
views
QDateEdit restrictions for impossible georgian dates (2024/06/31)
I'm trying to use a QDateEdit for my program but I want it to work with Jalali (Persian/Solar Hijri) calender in this type of calenders for the first 6 months we have 31 days and for the next 5 month ...
2
votes
1
answer
133
views
Python pandas-market-calendars
Question on calendar derivation logic in the Python module https://pypi.org/project/pandas-market-calendars/.
Does this module depend on any third party API's to get the calendars or the calendars are ...
1
vote
1
answer
154
views
Streamlit_Calender Update Issue
I've been working on a project, and I need to create an updatable calendar module for it. I found this thing called streamlit_calendar, and it works pretty well for pre-set events in a list of ...
0
votes
0
answers
97
views
aioGoogle not running asynchronously
I'm trying to send requests to Google Calendar asynchonously using aiogoogle but they're running synchonously, here's the code:
import asyncio
from datetime import datetime
from aiogoogle.auth.creds ...
1
vote
2
answers
208
views
Display calendar with week numbers
I would like to display a calendar with week numbers.
Python provides a nice calendar module that can generate such a calendar, but I can’t find a way to display week numbers.
Here is an example of ...
1
vote
1
answer
37
views
Analyse historical data: average of every hour of every day over a number of years
I have historical data from 2012 to 2023. I am trying to calculate the average for every hour in every day over these years to build a 'reference year' or 'baseline'. My DataFrame (final_df) looks ...
0
votes
1
answer
59
views
Why is my tkcalendar taking the wrong year?
My tkcalendar Entry is setting 2000 for years before 2000, example if you answer your bithdate is 1986 it consider you being born in 2086.
birthDateEntry = DateEntry(root, width=12,background='...
0
votes
0
answers
41
views
How to change the colour of a boolean (background green) in a html calendar using Jupyter?
I currently have a working calendar, which pulls information from a JSON file, and displays key information on the established day. Everything it pulls is a string except for a section I have called '...
0
votes
0
answers
51
views
Splitting and bracketing months based on number of weeks and determine the beginning of the month
I want to define each month of the year based on the number of weeks so as to avoid the confusion due to some months having 30 or 31 days.
For example, Jan to Dec would be have weeks of the following ...
0
votes
1
answer
114
views
Python Django HTMLCalendar How To Set First Weekday To Sunday
Like title states goal is to get the weeks in the calendar to lead with Sunday as opposed to Monday like the below shows. I know calendar.setfirstweekday(calendar.SUNDAY) should be able to do the ...
0
votes
1
answer
109
views
download recurring appointments but all appointments start date show 1st same date
I am trying to get all appointments from client outlook with python and win32com. client,
there are several recurring appointments in calendar A. however, when I download these recurring appointments ...
0
votes
1
answer
43
views
How to stop window.read() from firing again?
task_adding = [
[
pg.Text("Enter name of the task: ", size=(10, 1)),
pg.InputText(key='-NAME-', do_not_clear=False)
],
[
pg.Text("Enter prio: ")...