[Python] Kill Process By Port
Kill process by port from psutil import process_iter from signal import SIGTERM # or SIGKILL for …
Kill process by port from psutil import process_iter from signal import SIGTERM # or SIGKILL for …
Function to check if a folder exists or not. import os if os . path . isdir ( 'path_to_folder' ) : pr…
Convert mp3 to flac 16 bit dep and 48k: ffmpeg -y -i "input.mp3" -c:a flac -sample_fmt s16…
Create Avi Video: ffmpeg -loop 1 -y -i image8.jpg -i sound11.amr -shortest -acodec copy -vcodec mjpe…
Random choice a User Agent from list import random def get_ua_rand(): user_agent_list=["Moz…
Function: create random string and number with length: import random import string len=10 #length …
install python3.7.8, pip21: https://www.python.org/downloads/release/python-378/ install tensorflow…