Skip to content

Instantly share code, notes, and snippets.

View RedExplosives's full-sized avatar

RedExplosives RedExplosives

View GitHub Profile
from tkinter import *
global widgets # this list will contain widgets to be deleted
widgets = []
def square():
global widgets
for widget in widgets[:]:
widget.destroy()
widgets.remove(widget)
@RedExplosives
RedExplosives / fcorcf.py
Created November 8, 2014 19:52
Fahrenheit to Celsius or Celsius to Fahrenheit python
# 11/1/14 Python 3.2
__version__ = '0.1'
# main.py
import time
# Main
def main():
print("This program will convert Fahrenheit to Celsius or Celsius to Fahrenheit")
time.sleep(1)