What do you want to save?
Add Code snippet
New code examples
-
Python 2021-11-10 00:27:14
extract audio from .mp4 python .mp3
#!/usr/bin/env python3 """ video_to_mp3.py Description: Simple script to extract MP3 audio from videos using Python. Requirements: - "lame" - "ffmpeg" If the libraries are not installed j... Add solution -
Python 2021-11-09 12:24:23
Create Wi-Fi QR code generator using Python
import os try: import pyqrcode import cv2 except Exception: os.system("pip install pyqrcode") os.system("pip install opencv-python") ssid = input("\nEnter WiFi SSID: ") authtypes = ["WEP", "WPA... Add solution -
Other 2021-10-26 18:36:16
run cmd through sublime
import os, sublime_plugin class CmdCommand(sublime_plugin.TextCommand): def run(self, edit): file_name=self.view.file_name() path=file_... Add solution -
Python 2021-10-26 10:22:11
run file as administrator python
# Run file as administrator on Windows 7, 8, 10 # Tested for Python 3.8.5 import os def RunAsAdmin(path_to_file,*args): os.system(r'Powershell -Command "Start-Process "'+path_to_file+'"'+ # CMD running Powershell ' -ArgumentList @('+s... Add solution -
Other 2021-10-25 02:26:08
web scraping
#pip install beautifulsoup4 #python : import os import requests from bs4 import BeautifulSoup url = "https://www.google.com/" reponse = requests.get(url) if reponse.ok: soup = BeautifulSoup(reponse.text, "lxml") title = str(soup.f... Add solution
Best helpers
+5
+5
+5
+5
+5
+5
+5
+5
+5
+5
+5