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 smtplib | |
usr = 'your_user@gmail.com' | |
pwd = 'your password' | |
dst = 'destination email' | |
server = smtplib.SMTP('smtp.gmail.com:587') | |
server.starttls() | |
server.login(usr, pwd) |
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.3 | |
# -*- coding: utf-8 -*- | |
"""A Simple Hangman Demo for Python3. | |
""" | |
#### | |
import random as rand |
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 tkinter | |
from time import strftime | |
#by Luciano Ramalho | |
clock = tkinter.Label() | |
clock.pack() | |
clock['font'] = 'Helvetica 120 bold' | |
clock['text'] = strftime('%H:%M:%S') | |
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 turtle | |
import random | |
turtle.setup(1400,800) | |
peter=turtle.Turtle() | |
peter.pencolor("blue") | |
peter.pensize(3) | |
peter.fillcolor("red") |
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
# program template for Spaceship | |
import simplegui | |
import math | |
import random | |
# globals for user interface | |
WIDTH = 800 | |
HEIGHT = 600 | |
score = 0 | |
lives = 3 |
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 random | |
class Boat: | |
'''all ships are part of the boat class''' | |
def __init__(self, length): | |
'''chooses random location & direction for ship for a given length''' | |
# print('\n', 'ship size: ', length, sep='') | |
self.direction = random.randint(0, 3) | |
# print('direction:', self.direction) |
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
abandoned | |
able | |
absolute | |
adorable | |
adventurous | |
academic | |
acceptable | |
acclaimed | |
accomplished | |
accurate |
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/python3 | |
# resources https://revealjs.com/ | |
# resources https://spielend-programmieren.at/en/ | |
import csv | |
import sys | |
import textwrap | |
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
- Arts: | |
- Design | |
- Fashion & Beauty | |
- Food | |
- Literature | |
- Performing Arts | |
- Spoken Word | |
- Visual Arts | |
- Business: | |
- Business News |
OlderNewer