View change_color_on_hover.py
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import tkinter | |
class ChangeColorOnHoverButton(tkinter.Button): | |
""" | |
button class which changes its background color on hover | |
""" | |
def __init__(self, root): | |
super().__init__( |
View input_dialog.py
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import tkinter | |
class InputDialog(tkinter.Toplevel): | |
""" | |
show a dialog which asks user to input something | |
""" | |
def __init__(self, root): | |
super().__init__(root) |
View move_to_display_edge.py
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import ctypes | |
import tkinter | |
"""Note | |
Tkinter main window has invisible frame around it. | |
When you want to just fit the main window to the edge of display, | |
you have to consider the width of the invisible frame. | |
For example, when you use root.geometry("+0+100"), |
View Pipfile
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[[source]] | |
url = "https://pypi.org/simple" | |
verify_ssl = true | |
name = "pypi" | |
[packages] | |
[dev-packages] | |
[requires] |
View pandas_test1.ipynb
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.