- Download tinytag
- Use tiny tag.duration
This file contains 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
# -*- coding: UTF-8 -*- | |
from urllib2 import urlopen | |
from urllib2 import Request | |
from json import loads | |
from datetime import date | |
from os.path import expanduser | |
from os.path import isdir | |
from os import chdir | |
from os import makedirs |
def indent(num):
stringy = ""
for x in range(0, num):
stringy += " "
return stringy
funcName = "introCredit"
lines = """
This file contains 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
def indent (O0O0O0OOO0OO0OOOO ): | |
OOOO0O0O00O0O00OO ="" | |
for OOOOO0O00OOO0O00O in range (0 ,O0O0O0OOO0OO0OOOO ): | |
OOOO0O0O00O0O00OO +=" " | |
return OOOO0O0O00O0O00OO | |
funcName ="introCredit" | |
lines ="""By Alexios Angel | |
""" | |
startOfLineThingToAdd ="return \"" | |
endOfLineThingToAdd ="\";" |
Below is a program to test the speed of certian io functions -- fwrite wins most of the time
#include <iostream>
#include <stdio.h>
#include <chrono>
// Check windows
#if _WIN32 || _WIN64
#if _WIN64
#define ENVIRONMENT64
sudo apt install libjpeg9-dev libwebp-dev libtiff5-dev libmikmod-dev libfishsound1-dev libsmpeg-dev liboggz2-dev libflac-dev libfluidsynth-dev libxcb-image0-dev libfreetype6-dev -y;
What you need to do to install SDL is:
#install sdl2
sudo apt install libsdl2-dev libsdl2-2.0-0 -y;
#install sdl image - if you want to display images
sudo apt install libjpeg-dev libwebp-dev libtiff5-dev libsdl2-image-dev libsdl2-image-2.0-0 -y;
#install sdl mixer - if you want sound