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
| 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
| 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 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 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
| #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
| # 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
| 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
| #letter dividing | |
| canRun=1 | |
| while canRun == 1: | |
| word=raw_input("Type in a word: ") | |
| for letter in word: | |
| print("Current letter: " + letter) | |
| print(" ") |
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 | |
| #To do: Make it multiplayer LAN version! | |
| print("\n"*50) | |
| print("Welcome to guess the it!") | |
| print("") | |
| print("") | |
| player1name=raw_input("Enter your name player 1: ") |