python – Ashwin Sinha

Python Youtube MP3 Splitter

Python Youtube MP3 Splitter A Python program that splits mp3 files from YouTube albums into individual songs. Dependencies Python 2.7+ ffmpeg Getting Started You need to have Python 2.7+ and ffmpeg installed. Useful links: Install FFMPEG on Windows How to install FFmpeg on Ubuntu 14.04 Usage Install Python and ffmpeg. Download the album from Youtube […]

Super Simple Python Timer

Super Simple Python Timer Timer module for python to measure elapsed time. Import Copy Timer.py to the same folder as your python files. Linux wget “https://gist.githubusercontent.com/Ashwinning/313a4bed6af3f7599ac168c4de82b555/raw/Timer.py” Windows Invoke-WebRequest https://gist.githubusercontent.com/Ashwinning/313a4bed6af3f7599ac168c4de82b555/ raw/Timer.py -OutFile Timer.py Usage from Timer import Timer timer = Timer() #Initialize the timer #wash clothes for 5 seconds timer.print_time() #Print the time elapsed since Initialization […]