This file contains hidden or 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
Your email content here. |
This file contains hidden or 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
# telnet program example | |
import socket, select, string, sys | |
def prompt() : | |
sys.stdout.write('<You> ') | |
sys.stdout.flush() | |
#main function | |
if __name__ == "__main__": | |
This file contains hidden or 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
#Made by VOX, on gist. (TheVoxcraft) | |
#Still has a few bugs. | |
#Python 2.7 | |
print("Loading...\n\n") | |
import random | |
line1="" | |
line2="" | |
line3="" |
This file contains hidden or 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 socket # Import socket module | |
host = raw_input("Host IP: ") # Get local machine name | |
port = 12345 # Reserve a port for your service. | |
while True: | |
s = socket.socket() # Create a socket object | |
s.connect((host, port)) | |
print s.recv(1024) |
This file contains hidden or 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 pygame | |
import random | |
#Initialization | |
pygame.init() | |
print("> Snake Debug Console") | |
print("") | |
#Defining colors | |
white = (255,255,255) |
This file contains hidden or 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 pygame | |
#Initialization | |
pygame.init() | |
print("> SuperGGPaint Debug Console") | |
print("") | |
#Defining colors | |
white = (255,255,255) |
This file contains hidden or 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 random | |
import re | |
alphabet1 = ("a","b","c","d","e","f","g","h","i","j","k","l","m","n","o","p","q","r","s","t","u","v","w","x","y","z") | |
alphabet2 = ("b","c","d","f","g","h","j","k","l","m","n","p","q","r","s","t","v","w","x","z") | |
alphabet3 = ("a","e","i","o","u","y") | |
length = 7 # Length of word. | |
c_length = 0 |
This file contains hidden or 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 -*- | |
print("Loading OS...") | |
from datetime import datetime | |
import os | |
import re | |
import sys | |
import cl_apps | |
current_time = datetime.now().time() |
This file contains hidden or 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
#Python 3.4 | |
import pickle | |
pupil = [] | |
def menu(): | |
print("\n*****************CLASS REGISTER*****************") | |
print("Press 1 See The List Of Pupils") | |
print("Press 2 To Add New Pupils") | |
print("Press 3 To Remove Pupils") |
This file contains hidden or 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
#Python 3.4 | |
import requests | |
from bs4 import BeautifulSoup | |
def spider(max_refresh): | |
file = open("names_generated.txt","w") | |
file.close() | |
file = open("names_generated.txt","a") |