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
Verifying my Blockstack ID is secured with the address 1EKvJs1dsqKXJaoLbLeQfRALnXWNgS5RgR https://explorer.blockstack.org/address/1EKvJs1dsqKXJaoLbLeQfRALnXWNgS5RgR |
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
*** Error in `python3': double free or corruption (top): 0x0000000000f20d90 *** | |
======= Backtrace: ========= | |
/lib/x86_64-linux-gnu/libc.so.6(+0x777e5)[0x7f430a5b07e5] | |
/lib/x86_64-linux-gnu/libc.so.6(+0x7fe0a)[0x7f430a5b8e0a] | |
/lib/x86_64-linux-gnu/libc.so.6(cfree+0x4c)[0x7f430a5bc98c] | |
/lib/x86_64-linux-gnu/libc.so.6(fclose+0x103)[0x7f430a5a6363] | |
/usr/local/lib/python3.5/dist-packages/pygame/.libs/libSDL-1-9a9431b0.2.so.0.11.4(+0xf539)[0x7f4308b18539] | |
/usr/local/lib/python3.5/dist-packages/pygame/.libs/libSDL_mixer-1-ec459934.2.so.0.12.0(Mix_LoadWAV_RW+0xe6)[0x7f4304288da6] | |
/usr/local/lib/python3.5/dist-packages/pygame/mixer.cpython-35m-x86_64-linux-gnu.so(+0x4626)[0x7f4301762626] | |
python3[0x55d17c] |
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 sys, pygame | |
from pygame.locals import * | |
class game(): | |
def __init__(self): | |
pygame.init() | |
pygame.font.init() |
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
>>> class Foo(): | |
... def __init__(self, out): | |
... self.out = out | |
... def put(self): | |
... return self.out | |
... | |
>>> test = Foo("something") | |
>>> print test.put | |
<bound method Foo.put of <__main__.Foo instance at 0x7fa0bf780dd0>> | |
>>> print test.put() |
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
Nitrogen = { | |
'Tree':[ | |
('Ainus cordata', 'Italian Alder'), | |
('Ainus incana', 'Gray Alder'), | |
('Maackia amurensis', 'Amur Maackia'), | |
('Robinia pseudoacacia', 'Black Locus'), | |
('Sophora japonica', 'Pagoda'), | |
], | |
'Shrub_large':[ |
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
"""!!!!!!Infinite loop!!!!! | |
Calculator takes input from user and calculates materials for building garden beds | |
of a particular demension. User inputs demensions, width length and height | |
of garden bed in feet, as well as the number of beds to be built. All | |
outputs are in feet. Outputs include the total number feet needed of 2 by | |
six lumber to build the beds, and calculates the most effecient use of the | |
lumber by iterating through a list of standard board lengths.""" | |
import Tkinter as tkinter |
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
"""Takes input from user and calculates materials for building garden beds | |
of a particular demension. User inputs demensions, width length and height | |
of garden bed in feet, as well as the number of beds to be built. All | |
outputs are in feet. Outputs include the total number feet needed of 2 by | |
six lumber to build the beds, and calculates the most effecient use of the | |
lumber by iterating through a list of standard board lengths.""" | |
# calculates total amount of wood per bed | |
def amount_wood(length, width, height): |