What do you want to save?
Add Code snippet
New code examples
-
Python 2021-10-12 12:05:07
set python 3 as default mac
#install or update brew $ brew install pyenv #install $ pyenv install 3.7.3 #make default $ pyenv global 3.7.3 # and verify $ pyenv version 3.7.3 (set by /Users/mbbroberg/.pyenv/version) $ echo -e 'if command -v pyenv 1>/dev/null 2>&1; then\n &n... Add solution -
Python 2021-10-07 06:09:03
Update label text after pressing a button in Tkinter
#tested and working on PYTHON 3.8 AND ADDED TO PATH import tkinter as tk win = tk.Tk() def changetext(): a.config(text="changed text!") a = tk.Label(win, text="hello world") a.pack() tk.Button(win, text="Change Label Text&q... Add solution -
Python 2021-10-07 01:55:05
fast comand exit python windows
#Python 3.7.7 ctrl+Z then Return Add solution -
Shell/Bash 2021-10-04 08:03:02
how to host a discord bot on a raspberry pi
#how to create and host a Discord Bot on a rasberry pi 1. Navigate to the Discord Developer Console 2. Click "New App" 3. Give it a name, and then click "Create App" 4. Click "Create a Bot User" 5. Keep note of the Token, as... Add solution