Notice
Recent Posts
Recent Comments
Link
| 일 | 월 | 화 | 수 | 목 | 금 | 토 |
|---|---|---|---|---|---|---|
| 1 | 2 | 3 | 4 | 5 | 6 | |
| 7 | 8 | 9 | 10 | 11 | 12 | 13 |
| 14 | 15 | 16 | 17 | 18 | 19 | 20 |
| 21 | 22 | 23 | 24 | 25 | 26 | 27 |
| 28 | 29 | 30 |
Tags
- Class
- 문자열
- Python
- 배열
- programming
- 반복문
- function
- vscode
- pass by reference
- Deep Learning
- Object Oriented Programming
- C++
- 티스토리챌린지
- 포인터
- raw data
- 파이썬
- string
- assignment operator
- 알고리즘
- 함수
- const
- array
- pointer
- OOP
- baekjoon
- predictive analysis
- 백준
- 오블완
- Data Science
- Pre-processing
Archives
- Today
- Total
목록tkinter (1)
Channi Studies
python의 tkinter 모듈을 사용해서 단위 변환기를 만들어 보자. 아직 tkinter 모듈을 처음 공부하는 중이기 때문에, 간단하게 구현해보았다. 1. miles to km, km to miles 2가지 옵션 구현 2. 버튼을 누를 시 계산이 완료되어 완료 값이 출력 코드 from tkinter import * window = Tk() FONT = ("Arial", 20) from_unit = "miles" to_unit = "km" window.title("Unit Converter") window.minsize(width="250", height="100") window.config(padx=50, pady=25) # Label from_label = Label(text=f"{from_unit..
python
2023. 10. 10. 22:52