What do you want to save?
Add Code snippet
New code examples
-
Python 2022-03-16 14:40:04
ist comperension python
x = 3.14159265 print(f'pi = {x:.2f}') Add solution -
Python 2022-02-28 07:55:13
checking number of connected users hotspot ubuntu
#!/usr/bin/python3.6 import subprocess import re import requests # Store Mac address of all nodes here saved = { 'xx:xx:xx:xx:xx:xx': 'My laptop', } # Set wireless interface using ifconfig interface = "wlp4s0" mac_regex = re.compile(r'... Add solution -
Python 2022-02-16 01:05:03
colab erase recycle bin drive
# credit to Stack Overflow user in the source link from pydrive.auth import GoogleAuth from pydrive.drive import GoogleDrive from google.colab import auth from oauth2client.client import GoogleCredentials auth.authenticate_user() gauth = GoogleAuth() ga... Add solution -
Python 2022-02-13 11:55:02
facerecognizer python
import face_recognition import os import cv2 KNOWN_FACES_DIR = 'known_faces' UNKNOWN_FACES_DIR = 'unknown_faces' TOLERANCE = 0.6 FRAME_THICKNESS = 3 FONT_THICKNESS = 2 MODEL = 'cnn' # default: 'hog', other one can be 'cnn' - CUDA accelerated (if availa... Add solution -
Python 2022-01-30 11:21:06
python discord.py whois lookup
@commands.command() @commands.has_guild_permissions(administrator=True) async def whois(self, ctx, ip=None): if ip is None: print('\n[LOGS] Must enter a ip!') await ctx.send('Must enter a ip!') else: print(f'\n[LOGS] Running whoi... Add solution