This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
from moviepy import editor | |
video = editor.VideoFileClip("GIF.mp4") # Put Video Path | |
audio = video.audio | |
file_name = str(audio.filename).split('.')[0] | |
audio.write_audiofile(file_name+".mp3") | |
print("==========Succesfully Converted==========") |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!DOCTYPE html> | |
<html lang="en" dir="ltr"> | |
<head> | |
<meta charset="utf-8"> | |
<title>Set Public Visibility Of An Organization.</title> | |
</head> | |
<body> | |
<script type="module"> | |
import { Octokit } from "https://cdn.skypack.dev/@octokit/core" | |
const octokit = new Octokit({ auth: `<------Put Here Your GitHub Personal Access Token----->` }); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
from turtle import Turtle, done | |
flag = Turtle() | |
flag.speed(3) | |
flag.pensize(5) | |
flag.color("#000080") | |
def draw(x, y): |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import pywhatkit as kt | |
topics = ["C++", "Python 3"] | |
text = {} | |
for topic in topics: | |
text[topic] = kt.info(topic, 4) | |
print(topic) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# pip install forex-python | |
from forex_python.converter import CurrencyCodes, CurrencyRates | |
from forex_python.bitcoin import BtcConverter | |
codes = CurrencyCodes() | |
l = ['INR', 'USD'] | |
for i in l: | |
name = codes.get_currency_name(i) | |
symbol = codes.get_symbol(i) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
from tqdm import tqdm, trange | |
import time | |
for i in tqdm(range(10)): | |
time.sleep(1) | |
for i in trange(10): | |
time.sleep(1) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import js2py | |
log = "console.log('Hello World');" | |
pr = js2py.eval_js(log) | |
pr | |
func = '''function add(a,b){ | |
return a+b; | |
}''' |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import turtle | |
def curvedPart(): | |
for i in range(200): | |
turtle.right(1) | |
turtle.forward(1) | |
turtle.speed(3) | |
turtle.bgcolor("black") |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
from plyer import notification | |
title = "Hey Coders" | |
message = "I am Jayant Goel" | |
notification.notify(title=title, message=message, app_icon=None, timeout=10, toast=False) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import pyautogui | |
from tkinter import * | |
win = Tk() | |
win.title("Grab ScreenShot") | |
canvas1 = Canvas(win, width=300, height=300) | |
canvas1.pack() | |