Skip to content

Instantly share code, notes, and snippets.

View arkan-leki's full-sized avatar

arkan-leki arkan-leki

View GitHub Profile
@arkan-leki
arkan-leki / main.py
Created February 19, 2018 20:48
Python Download_YouTube_Video_Playlist by pytube and pyqt5
from pytube import YouTube, Playlist
class downloader:
@staticmethod
def start_downloader(url, video_type, fielext, place, audio):
try:
yt = YouTube(url)
print(yt.streams.all())
if not audio:
@arkan-leki
arkan-leki / CaesarCipher.py
Last active January 20, 2018 20:41
simple code of Caesar Cipher in python
arr = "abcdefghijklmnopqrstuwxyz"
key = 3
plain = "hello world 2day"
cyper = "";
for c in plain:
if c.isalpha() : cyper += arr[(arr.index(c)+3)%26]
else: cyper += c
print(cyper)