What do you want to save?
Add Code snippet
New code examples
-
Python 2022-03-27 15:15:40
button tkinter
from tkinter import * #Creating a win win = Tk() #Giving a Function To The Button def btn1(): print("I Don't Know Your Name") #Creating The Button button1 = Button(win, text="Click Me To Print SomeThing", command=btn1) #put on scree... Add solution -
Python 2022-03-27 11:25:12
chech box in tkinter
from tkinter import * master = Tk() var1 = IntVar() Checkbutton(master, text="male", variable=var1).grid(row=0, sticky=W) var2 = IntVar() Checkbutton(master, text="female", variable=var2).grid(row=1, sticky=W) mainloop() Add solution -
Other 2022-03-25 02:10:02
sftp node typescript
import * as Client from 'ssh2-sftp-client'; var client = new Client(); client.connect({ host: 'asdb', port: 1234, privateKey: 'my private key rsa in openssh format', readyTimeout: 1000, }).then(() => null); client.list('/remote/path')... Add solution -
Python 2022-03-25 00:20:06
Function to a button in tkinter
from tkinter import * #Creating a win win = Tk() #Giving a Function To The Button def btn1(): print("I Don't Know Your Name") #Creating The Button button1 = Button(win, text="Click Me To Print SomeThing", command=btn1) #put on scree... Add solution -
Python 2022-03-17 08:15:25
python tkinter focus on entry
from Tkinter import * root = Tk() frame=Frame(root,width=100,heigh=100,bd=11) frame.pack() label = Label(frame,text="Enter a digit that you guessed:").pack() entry= Entry(frame,bd=4) entry.pack() entry.focus() button1=Button(root,width=4,height=... Add solution -
Python 2022-03-17 06:25:01
matplotlib embedded in tkinter
# Creates simple Graph embedded in tkinter import tkinter from tkinter import * import numpy as np from matplotlib.backends.backend_tkagg import FigureCanvasTkAgg, NavigationToolbar2Tk from matplotlib.figure import Figure tkFenster = Tk() tkFenster.geom... Add solution -
Python 2022-03-17 05:40:25
raylib python
from raylib.static import * InitWindow(800, 450, b"Hello Raylib") SetTargetFPS(60) camera = ffi.new("struct Camera3D *", [[18.0, 16.0, 18.0], [0.0, 0.0, 0.0], [0.0, 1.0, 0.0], 45.0, 0]) SetCameraMode(camera[0], CAMERA_ORBITAL) while... Add solution -
Python 2022-03-14 09:40:01
hazm
#Python library for digesting Persian text. from hazm import * Add solution