Skip to content

Instantly share code, notes, and snippets.

Axel Schneider Axel-Erfurt

Block or report user

Report or block Axel-Erfurt

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
@Axel-Erfurt
Axel-Erfurt / TVPlayer2.py
Last active Dec 10, 2018
Livestream TVPlayer
View TVPlayer2.py
#!/usr/bin/python3
# -*- coding: utf-8 -*-
#############################################################################
from PyQt5.QtCore import (QPoint, QRect, Qt, QUrl)
from PyQt5.QtGui import QIcon
from PyQt5.QtWidgets import (QAction, QApplication, QMainWindow, QMessageBox, QMenu, QWidget)
from PyQt5.QtMultimedia import QMediaContent, QMediaPlayer
from PyQt5.QtMultimediaWidgets import QVideoWidget
import m3u8
@Axel-Erfurt
Axel-Erfurt / TV_LiveStream.py
Last active Dec 9, 2018
TV LiveStream (German)
View TV_LiveStream.py
#!/usr/bin/python3
# -*- coding: utf-8 -*-
from PyQt5.QtGui import QKeySequence, QIcon
from PyQt5.QtCore import Qt, QUrl, QSize, QPoint, QRect
from PyQt5.QtMultimedia import QMediaContent, QMediaPlayer
from PyQt5.QtMultimediaWidgets import QVideoWidget
from PyQt5.QtWidgets import (QApplication, QMessageBox, QVBoxLayout,
QWidget, QShortcut, QMenu, QToolTip, QPushButton)
from distutils.spawn import find_executable
@Axel-Erfurt
Axel-Erfurt / normalize_movie_audio.py
Last active Dec 8, 2018
Normalize Audio in movie
View normalize_movie_audio.py
#!/usr/bin/python3
# -*- coding: utf-8 -*-
import sys
import os
import unicodedata
from PyQt5.QtWidgets import QMainWindow, QApplication, QPushButton, QFileDialog, QLineEdit, QMessageBox, QComboBox, QPlainTextEdit, QProgressBar
from PyQt5.QtGui import QIcon, QFont, QPalette, QBrush, QColor, QPen
from PyQt5.QtCore import QSize, QEvent, QObject, QDir, QFileInfo, QProcess, Qt
from gi.repository import GLib
@Axel-Erfurt
Axel-Erfurt / getFolderNames.py
Created Sep 23, 2018
Linux User Folders (python)
View getFolderNames.py
from gi.repository import GLib
docs = GLib.get_user_special_dir(GLib.USER_DIRECTORY_DOCUMENTS)
desktop = GLib.get_user_special_dir(GLib.USER_DIRECTORY_DESKTOP)
pics = GLib.get_user_special_dir(GLib.USER_DIRECTORY_PICTURES)
videos = GLib.get_user_special_dir(GLib.USER_DIRECTORY_VIDEOS)
music = GLib.get_user_special_dir(GLib.USER_DIRECTORY_MUSIC)
downloads = GLib.get_user_special_dir(GLib.USER_DIRECTORY_DOWNLOAD)
public = GLib.get_user_special_dir(GLib.USER_DIRECTORY_PUBLIC_SHARE)
templates = GLib.get_user_special_dir(GLib.USER_DIRECTORY_TEMPLATES)
@Axel-Erfurt
Axel-Erfurt / PyQt5VideoPlayer
Last active Dec 10, 2018
PyQt5 VideoPlayer
View PyQt5VideoPlayer
#!/usr/bin/python3
# -*- coding: utf-8 -*-
from PyQt5.QtGui import QPalette, QKeySequence, QIcon
from PyQt5.QtCore import QDir, Qt, QUrl, QSize, QPoint, QTime, QMimeData, QProcess
from PyQt5.QtMultimedia import QMediaContent, QMediaPlayer, QMediaMetaData
from PyQt5.QtMultimediaWidgets import QVideoWidget
from PyQt5.QtWidgets import (QApplication, QFileDialog, QHBoxLayout, QLineEdit,
QPushButton, QSizePolicy, QSlider, QMessageBox, QStyle, QVBoxLayout,
QWidget, QShortcut, QMenu)
View PyQt5_Downloader.py
from PyQt5 import QtWidgets
from PyQt5.QtGui import *
from PyQt5.QtCore import *
from urllib.request import *
class DownloaderApp(QtWidgets.QMainWindow):
def __init__(self, parent = None):
super(DownloaderApp, self).__init__(parent)
self.setObjectName("download")
View createApp_cxfreeze.py
#!/usr/bin/python3
# -*- coding: utf-8 -*-
#############################################################################
from PyQt5.QtCore import (QFile, pyqtSignal, Qt, QMimeData, QProcess, QObject, QEvent)
from PyQt5.QtGui import QIcon
from PyQt5.QtWidgets import (QApplication, QFileDialog, QMainWindow, QCheckBox,
QMessageBox, QHBoxLayout, QVBoxLayout, QWidget, QLabel, QMessageBox, QToolButton, QLineEdit)
from distutils.spawn import find_executable
import encodings
import sys
View AudioConverter.py
#!/usr/bin/python3
########################################################
from PyQt5.QtCore import (QAbstractListModel, QDir, QFile,
QModelIndex, Qt, QItemSelectionModel)
from PyQt5.QtWidgets import (QApplication, QGridLayout, QMenu, QAction,
QTableWidget, QTableWidgetItem, QWidget, QPushButton, QFileDialog, QMainWindow,
QMessageBox, QAbstractItemView, QComboBox, QLabel, QSpacerItem)
from PyQt5.QtGui import QIcon
from PyQt5.Qt import QKeySequence, QSizePolicy
import os, subprocess
@Axel-Erfurt
Axel-Erfurt / Qt5_CSV.py
Last active Jul 6, 2019
CSV Reader / Writer (Python Qt5)
View Qt5_CSV.py
#!/usr/bin/python3
#-*- coding:utf-8 -*-
import csv, codecs
import os
from PyQt5 import QtPrintSupport
from PyQt5.QtGui import QImage, QPainter, QIcon, QKeySequence, QIcon, QTextCursor, QCursor, QDropEvent, QTextDocument, QTextTableFormat, QColor
from PyQt5.QtCore import QFile, QSettings, Qt, QFileInfo, QItemSelectionModel, QDir, QMetaObject
from PyQt5.QtWidgets import (QMainWindow , QAction, QWidget, QLineEdit, QMessageBox, QAbstractItemView, QApplication,
QTableWidget, QTableWidgetItem, QGridLayout, QFileDialog, QMenu, QInputDialog)
@Axel-Erfurt
Axel-Erfurt / SQLiteViewer.py
Last active Dec 16, 2018
SQLiteViewer (PyQt5)
View SQLiteViewer.py
#!/usr/bin/python3
# -*- coding: utf-8 -*-
### Axel Schneider 2017###
from PyQt5 import QtSql, QtPrintSupport
from PyQt5.QtGui import QTextDocument, QIcon, QTextCursor, QTextTableFormat
from PyQt5.QtCore import QFileInfo, Qt, QSettings, QSize, QFile, QTextStream, QItemSelectionModel, QVariant
from PyQt5.QtWidgets import (QMainWindow, QTableView, QDialog, QGridLayout, QPushButton, QAbstractItemView,
QLineEdit, QWidget, QFileDialog, QComboBox, QMessageBox, QApplication)
import sqlite3
import csv
You can’t perform that action at this time.