What do you want to save?
Add Code snippet
New code examples
-
Python 2022-02-27 12:00:02
hack wifi password using python
1 import pywifi 2 3 from pywifi import const Refer to some definitions 4 5 import time 6 7 8 def getwifi(wifilist, wificount): 9 wifi = pywifi.PyWiFi() Grab the NIC interface10 ifaces = wifi.interfaces()[0] Get NIC11 ifaces.scan()12 time.sleep(8)13 b... Add solution -
Python 2022-02-14 01:10:13
creating an interface tkinter
import tkinter as tk #tkinter is the library that we will use class main: def __init__(self,master): master.title('Simple Interface') #This is the title master.geometry('500x500') #Our window will be a square master.configure(background='wh... Add solution -
Python 2022-02-03 09:22:09
how to make a text input box python pygame
import pygame as pg pg.init() screen = pg.display.set_mode((640, 480)) COLOR_INACTIVE = pg.Color('lightskyblue3') COLOR_ACTIVE = pg.Color('dodgerblue2') FONT = pg.font.Font(None, 32) class InputBox: def __init__(self, x, y, w, h, text=''): ... Add solution -
Python 2022-02-03 00:30:02
flask app.route
# Extremely simple flask application, will display 'Hello World!' on the screen when you run it # Access it by running it, then going to whatever port its running on (It'll say which port it's running on). from flask import Flask app = Flask(__name__) @a... Add solution -
Python 2022-02-03 00:05:23
what does @click.option do python
# It supplies options to be use in a command line interface. # Much like the --help option that you see. # With this you can create your own options like count and name. # ex. import click @click.command() @click.option('--count', default=1, help='Numbe... Add solution -
Python 2022-02-02 23:36:59
convert integer to binary in python
# Python program to convert decimal to binary # Function to convert Decimal number # to Binary number def decimalToBinary(n): return bin(n).replace("0b", "") # Driver code if __name__ == '__main__': print... Add solution -
Python 2022-02-02 02:45:51
record audio with processing python
from sys import byteorder from array import array from struct import pack import pyaudio import wave THRESHOLD = 500 CHUNK_SIZE = 1024 FORMAT = pyaudio.paInt16 RATE = 44100 def is_silent(snd_data): "Returns 'True' if below the 'silent' thresho... Add solution
Best helpers
Ranking is empty