# #FileNotFoundError : [Errno 2] No such file or directory: 'a_file.txt' # with open("a_file.txt")as file: # file.read() # #KeyError : 'not_existent_key' # a_dictionary={"key":"value"} # value=a_dictionary["not_existent_key"] # #IndexError : list index out of range # fruit_list = ["Apple","Banana","Pear"] # fruit = fruit_list[3] # print(fruit) # #TypeError : can only concatenate str (not "int") ..
tkinter를 통해 ui 프로그램 작성 입력한 웹싸이트의 패스워드를 data.txt 파일로 저장 패스워드 생성을 자동화하고, 생성한 패스워드를 생성 시점에 클립보드에 저장 from tkinter import * from tkinter import messagebox from random import choice, randint, shuffle import pyperclip # -----------------gen password----------------------# def gen(): password_entry.delete(0,20) #생성 전에 화면의 패스워드 엔트리엣 삭제 letters = ['a', 'b', 'c', 'd', 'e', 'f', 'g', 'h', 'i', 'j', 'k', 'l'..
A 학교에서는 단체 티셔츠를 주문하기 위해 학생별로 원하는 티셔츠 사이즈를 조사했습니다. 선택할 수 있는 티셔츠 사이즈는 작은 순서대로 "XS", "S", "M", "L", "XL", "XXL" 총 6 종류가 있습니다. 학생별로 원하는 티셔츠 사이즈를 조사한 결과가 들어있는 리스트 shirt_size 가 매개변수로 주어질 때, 사이즈별로 티셔츠가 몇 벌씩 필요한지 가장 작은 사이즈부터 순서대로 리스트에 담아 return 하도록 solution 함수를 완성해주세요. ##### 매개변수 설명 학생별로 원하는 사이즈를 조사한 결과가 들어있는 리스트 shirt_size 가 solution 함수의 매개변수로 주어집니다. * shirt_size 의 길이는 1 이상 100 이하입니다. * shirt_size 에는 치..
# ---------------------------- PASSWORD GENERATOR ------------------------------- # # ---------------------------- SAVE PASSWORD ------------------------------- # # ---------------------------- UI SETUP ------------------------------- # from tkinter import * def gen_pass(): #do someting def add_pass(): #do something window = Tk() window.title("Password Manager by kio(20220521)") window.config(pa..
https://tkdocs.com/tutorial/canvas.html TkDocs Tutorial - Canvas This tutorial will quickly get you up and running with the latest Tk from Python, Tcl, Ruby, and Perl on macOS, Windows, or Linux. It provides all the essentials about core Tk concepts, the various widgets, layout, events and more that you need for your ap tkdocs.com # ---------------------------- PASSWORD GENERATOR ---------------..
from tkinter import * import math # ---------------------------- CONSTANTS ------------------------------- # PINK = "#e2979c" RED = "#e7305b" GREEN = "#9bdeac" YELLOW = "#f7f5dd" FONT_NAME = "Courier" WORK_MIN = 25 SHORT_BREAK_MIN = 5 LONG_BREAK_MIN = 20 reps = 0 timer = None # ---------------------------- TIMER RESET ------------------------------- # def reset_timer(): window.after_cancel(timer..
https://stackoverflow.com/questions/11328920/is-python-strongly-typed Is Python strongly typed? I've come across links that say Python is a strongly typed language. However, I thought in strongly typed languages you couldn't do this: bob = 1 bob = "bob" I thought a strongly typed language ... stackoverflow.com from tkinter import * import math # ---------------------------- CONSTANTS -----------..
- Total
- Today
- Yesterday
- 부동없이
- 변수화
- virt-sysprep
- artandculture
- cloud-init
- LIST
- 중복제거
- 스토리지
- 읽어오기
- oracle
- 대소문자
- 차집합
- Join
- dp-2
- exadata
- insert
- vmware
- storage
- sysprep
- powercli
- 3par
- fromkeys
- set()
- dp-1
- dezoomify
- 배열
- powershell
- EXA
- 정렬
- vmware.powercli
| 일 | 월 | 화 | 수 | 목 | 금 | 토 |
|---|---|---|---|---|---|---|
| 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 | 31 |