Skip to content

Instantly share code, notes, and snippets.

View HighSoftWare96's full-sized avatar
🐢
Working

Giovanni Bertoncelli HighSoftWare96

🐢
Working
View GitHub Profile
@HighSoftWare96
HighSoftWare96 / main.py
Last active September 5, 2017 14:53 — forked from anonymous/main.py
Objs, special methods, imports, files
# import di classi esterne al mio file principale
from module import Book
from module import Dictionary
book = Book("Moby Dick", "Loomings. \
Call me Ishmael. Some years ago—never mind how\
long precisely...", 500)
book.read()
print("Implementation of special method __len__:")
@HighSoftWare96
HighSoftWare96 / KaAo-19.py
Created August 31, 2017 16:35 — forked from anonymous/KaAo-19.py
null created by anonymous - https://repl.it/KaAo/19
import math # learn more: https://python.org/pypi/Math
class Email:
sender = "me"
destination = "other"
def send(self):
print("Sent!")
host = "host"
newMail = Email()
print(newMail.sender)