Search Results
|
Post |
Author |
Forum |
Replies |
Views |
Posted
[asc]
|
|
|
Thread: How to edit Tkinter Minimize, Maximize, and Close Buttons
Post: RE: How to edit Tkinter Minimize, Maximize, and Cl...
Ok i found out all
1.Top.attributes('-toolwindow', True)2. def wd():
Top.withdraw()
Top.protocol("WM_DELETE_WINDOW", wd)3.try:
top.winfo_exists()
except:
print("Top Do not exist") |
|
kucingkembar |
General Coding Help |
7 |
420 |
Apr-26-2024, 11:36 AM |
|
|
Thread: How to edit Tkinter Minimize, Maximize, and Close Buttons
Post: RE: How to edit Tkinter Minimize, Maximize, and Cl...
(Apr-26-2024, 10:44 AM)menator01 Wrote: From the link I provided, I don't think you can directly edit the titlebar as it's managed by the systems window manager.
Probably best option is to use root... |
|
kucingkembar |
General Coding Help |
7 |
420 |
Apr-26-2024, 10:51 AM |
|
|
Thread: How to edit Tkinter Minimize, Maximize, and Close Buttons
Post: RE: How to edit Tkinter Minimize, Maximize, and Cl...
(Apr-26-2024, 10:11 AM)menator01 Wrote: This will remove the titlebar
import tkinter as tk
root = tk.Tk()
root.overrideredirect(True) # This removes the title bar.
root.mainloop()More can be found ... |
|
kucingkembar |
General Coding Help |
7 |
420 |
Apr-26-2024, 10:24 AM |
|
|
Thread: How to edit Tkinter Minimize, Maximize, and Close Buttons
Post: RE: How to edit Tkinter Minimize, Maximize, and Cl...
ah sorry
from tkinter import *
root = Tk()
root.title("Main Window")
root.geometry("200x200")
def show():
Top.deiconify()
def hide():
Top.withdraw()
Top = Toplevel()
Top.title("Child ... |
|
kucingkembar |
General Coding Help |
7 |
420 |
Apr-26-2024, 09:33 AM |
|
|
Thread: How to edit Tkinter Minimize, Maximize, and Close Buttons
Post: How to edit Tkinter Minimize, Maximize, and Close ...
sorry for my bad English,
1. in tkinter I tried to hide Minimize,
maximize button, but I only found :
Top.resizable(0,0)what command to disable them?
2. I tried to edit the close button with
Top.... |
|
kucingkembar |
General Coding Help |
7 |
420 |
Apr-26-2024, 08:35 AM |
|
|
Thread: how to edited Tkinter Toplevel from main form?
Post: RE: how to edited Tkinter Toplevel from main form?
thank you menator01 for the answer, i will give you a reputation point |
|
kucingkembar |
General Coding Help |
7 |
407 |
Apr-24-2024, 12:54 PM |
|
|
Thread: how to edited Tkinter Toplevel from main form?
Post: RE: how to edited Tkinter Toplevel from main form?
(Apr-24-2024, 12:07 PM)menator01 Wrote: Are you trying to do something like this?
from tkinter import Button, Label, Toplevel, Tk
def edit(window):
window.title('Edited Top Window Title')
def ... |
|
kucingkembar |
General Coding Help |
7 |
407 |
Apr-24-2024, 12:21 PM |
|
|
Thread: how to edited Tkinter Toplevel from main form?
Post: how to edited Tkinter Toplevel from main form?
i tried to edited Toplevel title, but after 2 hours i failed, please help
from tkinter import *
def editedtoop(top):
top.title("Edited")
def toop():
global root
top = Toplevel(root)
t... |
|
kucingkembar |
General Coding Help |
7 |
407 |
Apr-24-2024, 10:29 AM |
|
|
Thread: convert to bin problem
Post: RE: convert to bin problem
ok, i solve it by split it by chars
for i in range(2,len(str(a))):
print(str(a)[i]) |
|
kucingkembar |
General Coding Help |
3 |
343 |
Apr-19-2024, 12:53 PM |
|
|
Thread: convert to bin problem
Post: RE: convert to bin problem
(Apr-19-2024, 05:21 AM)Gribouillis Wrote: Conversion to int removed the zeros at the beginning. You could simply add a 1 at the beginning
s = '1'+ a[2:]
c = int(s)thank you for the reply,
the main p... |
|
kucingkembar |
General Coding Help |
3 |
343 |
Apr-19-2024, 06:12 AM |
|
|
Thread: convert to bin problem
Post: convert to bin problem
hi, sorry for my bad english,
i tried to create phash compare using "VideoHash"
#pip install videohash
from videohash import VideoHash
import time
start_time = time.time()
path = "input.mp4"
a = Vide... |
|
kucingkembar |
General Coding Help |
3 |
343 |
Apr-19-2024, 02:50 AM |
|
|
Thread: m3u8 using build-in browser downloader?
Post: RE: m3u8 using build-in browser downloader?
Update :
i tried to download the m3u8, but it failed,
downloading m3u8 counted as opening a new page,
the best result is using the m3u8 browser extension that does not open a new page |
|
kucingkembar |
Web Scraping & Web Development |
3 |
559 |
Mar-29-2024, 01:47 AM |
|
|
Thread: m3u8 using build-in browser downloader?
Post: RE: m3u8 using build-in browser downloader?
(Mar-28-2024, 04:40 PM)Axel_Erfurt Wrote: What's the address of the m3u8?
1. is allowed to show a link?
2. as i said before : My PC is blocked from a video streamer site, yours probably not blocked |
|
kucingkembar |
Web Scraping & Web Development |
3 |
559 |
Mar-28-2024, 11:04 PM |
|
|
Thread: m3u8 using build-in browser downloader?
Post: m3u8 using build-in browser downloader?
My PC is blocked from a video streamer site,
previously I could do this:
using selenium to extract the m3u8 file, Then using FFmpeg to download and convert the m3u8 file to mp4
now, if I access m3u8 ... |
|
kucingkembar |
Web Scraping & Web Development |
3 |
559 |
Mar-27-2024, 10:50 PM |
|
|
Thread: remove gilberishs from a "string"
Post: RE: remove gilberishs from a "string"
(Mar-15-2024, 08:06 AM)deanhystad Wrote: Is every line of dialogue preceeded by a2b'v6?using
for i in f.readlines:to check line by line |
|
kucingkembar |
General Coding Help |
2 |
321 |
Mar-15-2024, 08:51 AM |
|
|
Thread: remove gilberishs from a "string"
Post: remove gilberishs from a "string"
sorry for my bad English,
I got stuck on this problem from 2 day ago,
i tried to extract all of the dialogues from the PS1 game
this is the parts of it:
Quote:[v1s9jiue]
[a ;]
[a2b'v6]
[my father... |
|
kucingkembar |
General Coding Help |
2 |
321 |
Mar-15-2024, 07:24 AM |
|
|
Thread: dict table
Post: RE: dict table
(Sep-30-2023, 11:06 AM)Pedroski55 Wrote: Don't worry about your English, it is good enough!
What is JA3?
Pandas can read a dictionary. What is the problem?
import pandas as pd
data = {'id': [1, ... |
|
kucingkembar |
General Coding Help |
4 |
809 |
Sep-30-2023, 11:16 AM |
|
|
Thread: dict table
Post: dict table
sorry for my bad English,
i have this problem, I have this data from JA3
Error:Id : AA12
Group : Firearm - Shotgun
object_class : Shotgun
RepairCost : 50
Id : AK47
Group : Firearm - Assault
Com... |
|
kucingkembar |
General Coding Help |
4 |
809 |
Sep-30-2023, 10:49 AM |
|
|
Thread: how to move pip
Post: RE: how to move pip
(Sep-04-2023, 07:50 PM)snippsat Wrote: (Sep-04-2023, 06:40 PM)kucingkembar Wrote: I know it is correct, but my empty space is under 6 GB, and pip folder in C:\Users\PcUserName\AppData\Local have 1... |
|
kucingkembar |
General Coding Help |
6 |
1,409 |
Sep-05-2023, 08:51 AM |
|
|
Thread: how to move pip
Post: RE: how to move pip
(Sep-04-2023, 02:48 PM)snippsat Wrote: (Sep-04-2023, 01:25 PM)kucingkembar Wrote: so it save to delete from
C:\Users\PcUserName\AppData\Local
???Not at all Local is folder with lot of sub folders,... |
|
kucingkembar |
General Coding Help |
6 |
1,409 |
Sep-04-2023, 06:40 PM |