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
#!/usr/local/bin/python3 | |
from tkinter import * | |
def donothing(): | |
filewin = Toplevel(root) | |
button = Button(filewin, text="Do nothing button") | |
root = Tk() | |
menubar = Menu(root) |
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
s = 0 | |
def fib(x,y): | |
if y < 4000000: | |
if y % 2 == 0: | |
global s | |
s = s + y | |
v = fib(y, x + y) | |
return v |
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
s = 0 | |
def fib(x,y): | |
if y < 4000000: | |
if y % 2 == 0: | |
global s | |
s = s + y | |
v = fib(y, x + y) | |
return v |
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
<?xml version="1.0"?> | |
<JWM> | |
<!-- The root menu. --> | |
<RootMenu onroot="12"> | |
<Program icon="terminal.png" label="urxvt">urxvt</Program> | |
<Program icon="terminal.png" label="emacs">emacsclient -c</Program> | |
<Program icon="terminal.png" label="chromium">chromium</Program> | |
<Program icon="terminal.png" label="icecat">icecat</Program> | |
<Program icon="terminal.png" label="gimp">gimp</Program> |