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
#!/usr/bin/env python | |
#WebCam Test | |
import pygame,sys | |
import pygame.camera | |
from pygame.locals import * | |
pygame.init() | |
pygame.camera.init() | |
screen = pygame.display.set_mode((640,480)) | |
cam = pygame.camera.Camera("/dev/video0",(640,480)) |
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
#!/usr/bin/env python | |
# -*- coding: utf-8 -*- | |
import cv | |
from datetime import datetime | |
if __name__ == '__main__': | |
capture = cv.CaptureFromCAM(0) | |
cv.NamedWindow('Webcam') |
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
#!/usr/bin/env python3 | |
#GUI Gmail Sender! | |
from tkinter import messagebox,Label,Entry,Tk,StringVar,E,W,Menu,ttk | |
import smtplib | |
''' | |
License: | |
This program is free software: you can redistribute it and/or modify | |
it under the terms of the GNU General Public License as published by | |
the Free Software Foundation, either version 3 of the License, or | |
(at your option) any later version. |
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
#!/usr/bin/env Python3 | |
import tkinter.ttk | |
from tkinter import * | |
import tkinter.messagebox as msgbx | |
import praw | |
''' | |
License: | |
This program is free software: you can redistribute it and/or modify | |
it under the terms of the GNU General Public License as published by |
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
#!/usr/bin/env python3 | |
import random | |
import time | |
import sys | |
class MyAdventure: | |
def loseGame(self): | |
print( | |
""" | |
[ GameOver! ] |
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
echo FFMPEG MP3 To WAV Converter | |
echo ----------------------------- | |
echo Usage: ./ffmpeg mp3 newfile | |
echo ----------------------------- | |
mp3=$1 | |
wav=$2 | |
ffmpeg -i $mp3 -acodec pcm_u8 -ar 22050 $wav.wav |
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
#!/usr/bin/env python3 | |
''' | |
This Script Is Mainly From A Youtube User, | |
I Only Modified It Slightly To Make It Python3 Compatable, | |
And Added Custom Microphone Recording Support | |
Original Source Code: http://pastebin.com/BY1t5AcC | |
Thanks To Youtube User NoBeansJose | |
License: |
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
import sys | |
import PyQt4.QtGui as QtGui | |
import socket | |
''' | |
Qt4 Version Of Python PortScanner (https://gist.github.com/T31337/93cf239fff8314b182e2) | |
License: | |
This program is free software: you can redistribute it and/or modify | |
it under the terms of the GNU General Public License as published by |
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
import sys | |
import PyQt4.QtGui as QtGui | |
class Template: | |
def __init__(self): | |
app = QtGui.QApplication(sys.argv) | |
self.gui() | |
sys.exit(app.exec_()) | |
def doStuff(self): |
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
#FFPMEG Converter GUI | |
import tkinter,subprocess,os | |
from tkinter import filedialog,messagebox | |
from tkinter import * | |
class FFConvert: | |
def convert(self): | |
self.btnConvert['state'] = 'disabled' | |
self.btn['state']='disabled' |
OlderNewer