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
# coding: utf-8 | |
import ui | |
class accountField (ui.View): | |
'''Each account display of current balance. associated button for adding transactions. editable field for balance update | |
''' | |
def __init__ (self,frame_loc=(0,0)): | |
self.acc_field= ui.TextView(frame=frame_loc+(150,64),bg_color=(1.0, .0, .0,0.5),text_color=('white'),font=('AmericanTypewriter-Bold',17), text=('text'),border_color=('#412190'),border_width=3,border_radius=20,alignment=ui.ALIGN_LEFT,alpha=0.5,selected=(False),editable=False) | |
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
# coding: utf-8 | |
import datetime as dt | |
from calView3 import * | |
from textField import * | |
import console, time | |
import sys | |
def main(): | |
'''Moneist: Money Atheist: monitor your daily balance based on instantaneous and sliding days. Balances are 'real', 'theoretical extended', and 'real extended' |
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
# coding: utf-8 | |
# https://gist.github.com/Phuket2/1430ac7f8eba11fdaff5 | |
# https://forum.omz-software.com/topic/2953/calendar-view-class/2 | |
import calendar | |
import datetime as dt | |
import ui |
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 | |
import ui | |
from time import sleep | |
import console | |
import sys | |
#turn button to "on" state | |
def turn_on(sender): | |
sender.title = 'on' |
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
# coding: utf-8 | |
import math | |
import dialogs | |
import time | |
#from game_menu import MenuScene | |
import sound | |
# print fibanoci sequence up to n | |
##==========MODULES=======## | |
def fib(n): |
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 os | |
import sys | |
import pickle | |
import console | |
import glob | |
import string | |
# I moved 'dropboxlogin' into a sub folder so it doesn't clutter my main folder | |
#sys.path += [os.path.join(os.path.dirname(os.path.abspath(__file__)), 'lib')] | |
import dropboxlogin # this code can be found here https://gist.github.com/4034526 |
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
# coding: utf-8 | |
#TODO: Adjust size to screen size (iPhone) | |
#DONE: Adjusted to rect(x * 47, y * 42, 46, 41) | |
# - decr y * val to accomodate new buttons | |
#DONE: Clear : added 16th row: column 1 clears data | |
#DOME: Random: row 16 column 2 uses randint() to generate random data | |
#TODO: have a random for just column 16 pushed (exc clear button) | |
#TODO: play/pause buttons |
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 math | |
import dialogs | |
import time | |
from game_menu import MenuScene | |
import sound | |
# print fibanoci sequence up to n | |
def fib(n): | |
a,b=0,1 | |
while a < n: | |
print a |
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 math | |
import dialogs | |
import time | |
from game_menu import MenuScene | |
import sound | |
# print fibanoci sequence up to n | |
def fib(n): | |
a,b=0,1 | |
while a < n: | |
print a |