Skip to content

Instantly share code, notes, and snippets.

View T31337's full-sized avatar

Trenton T31337

  • 1337 Software
  • In The Interwebz, For All To See And Access Equally
View GitHub Profile
#!/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
@T31337
T31337 / GmailSender.py
Last active August 29, 2015 14:05
EmailSender GUI
#!/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.
#!/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))
#!/usr/bin/env python
# -*- coding: utf-8 -*-
import cv
from datetime import datetime
if __name__ == '__main__':
capture = cv.CaptureFromCAM(0)
cv.NamedWindow('Webcam')