window

Manipulate an application window frame using Python

Manipulate an application window frame using Python Question: TLDR: Is there a Python library that allows me to get a application window frame as an image and rewrite it to the said application? So the whole story is that I want to write an application using Python that does something similar to Lossless Scaling and …

Total answers: 1

How to disable tkinter Menu

How to disable tkinter Menu Question: This is my code below. I want a tkinter window which does not have option to close at the top right. It should either be hidden or disabled. I tried multiple things online but it was all in vein. If someone could help, will be very glad. Thank You. …

Total answers: 1

Python Tkinter and loops

Python Tkinter and loops Question: I am trying to write a program that would help me practice my vocabulary. Basically I want to have it display a window once every 30 minutes which contains the words i’m currently learning. Here’s my code: import time from tkinter import * window = Tk() date = time.ctime() text …

Total answers: 1

TKINTER get the position of LABEL in TEXT FRAME

TKINTER get the position of LABEL in TEXT FRAME Question: I have a TEXT Widget as a FRAME und add LABELS to it. Any way to get the position of the LABEL by clicking it? Not coordinates but rather position. Example: These are 15 different LABELS and I need the position of the LABEL ‘different …

Total answers: 1

How to create hyperlink in order to open new window from tkinter?

How to create hyperlink in order to open new window from tkinter? Question: I want to create hyperlink in order to open new window. Is it possible to make hyperlink to open new window in tkinter? And if it’s possible, how to create it? Below this are my codes. guidelines = Label(self, text="You can check …

Total answers: 2

Finding a next lowest number from a List in python

Finding a next lowest number from a List in python Question: I have a list of arrays as follows: Array =[3, 6, 5, 7, 2, 4, 3, 5, 4, 5, 4, 7, 6, 7, 1, 7, 4, 6, 3] example: Value = 3, 6, 5, 7, 2, 4, 3, 5, 4, 5, 4, 7, 6, …

Total answers: 2

Can't use PIL in Python when the script is inside of the Windows Startup-folder

Can't use PIL in Python when the script is inside of the Windows Startup-folder Question: I am trying to make a simple python script that is not working when it is in the folder: "C:/Users/UserName/AppData/Roaming/Microsoft/Windows/Start Menu/Programs/Startup" in windows 10 So I have made a python script without console (.pyw), which is run when the pc …

Total answers: 3

PySpark – Cumulative sum with limits

PySpark – Cumulative sum with limits Question: I have a dataframe as follows: +——-+———-+—–+ |user_id| date|valor| +——-+———-+—–+ | 1|2022-01-01| 0| | 1|2022-01-02| 0| | 1|2022-01-03| 1| | 1|2022-01-04| 1| | 1|2022-01-05| 1| | 1|2022-01-06| 0| | 1|2022-01-07| 0| | 1|2022-01-08| 0| | 1|2022-01-09| 1| | 1|2022-01-10| 1| | 1|2022-01-11| 1| | 1|2022-01-12| 0| | 1|2022-01-13| …

Total answers: 2

How to make a window' size can be decreased to a certain size using Tkinter?

How to make a window' size can be decreased to a certain size using Tkinter? Question: I want to make a window can be decreased to a certain size (for example 200×200) using Tkinter, but I only found that either can be resizable (using resizable() method) or not. For example from tkinter import * v …

Total answers: 2