Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit fdb5f69

Browse files
Added python tkinter snippets
1 parent e7cb7b5 commit fdb5f69

File tree

2 files changed

+16
-0
lines changed

2 files changed

+16
-0
lines changed
Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
---
2+
title: Hello, World!
3+
description: Creates a basic Tkinter window with a "Hello, World!" label.
4+
author: Legopitstop
5+
tags: app,hello-world
6+
---
7+
8+
```py
9+
from tkinter import Tk, Label
10+
11+
root = Tk()
12+
root.geometry("100x100")
13+
Label(root, text="Hello, World!").pack()
14+
root.mainloop()
15+
```

‎snippets/python/[tkinter]/icon.svg‎

Lines changed: 1 addition & 0 deletions
Loading[フレーム]

0 commit comments

Comments
(0)

AltStyle によって変換されたページ (->オリジナル) /