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
| # coding: utf-8 | |
| # coding: utf-8 | |
| from collections import OrderedDict | |
| import sqlite3 | |
| from random import randint | |
| from faker import Faker | |
| fake = Faker() |
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
| # coding: utf-8 | |
| import dbdef | |
| from dbdef import get_SQL | |
| # only testing modes | |
| from faker import Faker | |
| fake = Faker() |
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
| # coding: utf-8 | |
| ''' | |
| the rules are not so clear to me about making your own application id. | |
| will look into it more... | |
| ''' | |
| import sqlite3 |
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
| # coding: utf-8 | |
| # *** DISCLAIMER PLEASE READ *** | |
| # please understand, i am a newbie. being a newbie, | |
| # my code may be crap or worse buggy | |
| # i still like to share. it could be useful code. | |
| # or parts of could be useful | |
| # but i like the feedback |
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
| # coding: utf-8 | |
| # *** DISCLAIMER PLEASE READ *** | |
| # please understand, i am a newbie. being a newbie, | |
| # my code may be crap or worse buggy | |
| # i still like to share. it could be useful code. | |
| # or parts of could be useful | |
| # but i like the feedback |
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
| # coding: utf-8 | |
| # *** DISCLAIMER PLEASE READ *** | |
| # please understand, i am a newbie. being a newbie, | |
| # my code may be crap or worse buggy | |
| # i still like to share. it could be useful code. | |
| # or parts of could be useful | |
| # but i like the feedback |
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
| # coding: utf-8 | |
| # *** DISCLAIMER PLEASE READ *** | |
| # please understand, i am a newbie. being a newbie, | |
| # my code may be crap or worse buggy | |
| # i still like to share. it could be useful code. | |
| # or parts of could be useful | |
| # but i like the feedback |
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
| # coding: utf-8 | |
| # *** DISCLAIMER PLEASE READ *** | |
| # please understand, i am a newbie. being a newbie, | |
| # my code may be crap or worse buggy | |
| # i still like to share. it could be useful code. | |
| # or parts of could be useful | |
| # but i like the feedback |
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
| # coding: utf-8 | |
| ''' | |
| code copied from dialogs.py Pythonista 1.6 beta, @omz (Ole Zorn) | |
| specially the parts of the code that present a datepicker | |
| in a dialog with animation and a shield of the dialogs contents | |
| a few mods made | |
| ''' | |
| _country_list = ['Afghanistan', 'Albania', 'Algeria', 'American Samoa', 'Andorra', 'Angola', 'Anguilla', 'Antarctica', 'Antigua and Barbuda', 'Argentina', 'Armenia', 'Aruba', 'Australia', 'Austria', 'Azerbaijan', 'Bahamas', 'Bahrain', 'Bangladesh', 'Barbados', 'Belarus', 'Belgium', 'Belize', 'Benin', 'Bermuda', 'Bhutan', 'Bolivia', 'Bosnia and Herzegovina', 'Botswana', 'Brazil', 'Brunei Darussalam', 'Bulgaria', 'Burkina Faso', 'Burundi', 'Cambodia', 'Cameroon', 'Canada', 'Cape Verde', 'Cayman Islands', 'Central African Republic', 'Chad', 'Chile', 'China', 'Christmas Island', 'Cocos (Keeling) Islands', 'Colombia', 'Comoros', 'Democratic Republic of the Congo (Kinshasa)', 'Congo, Republic of (Brazzaville)', 'Cook Islands', 'Costa Rica', 'Ivory Coast', 'Croatia', 'Cuba', ' |
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
| f_str = [ | |
| { | |
| "selected" : False, | |
| "frame" : "{{0, 0}, {320, 480}}", | |
| "class" : "View", | |
| "nodes" : [ | |
| { | |
| "selected" : False, | |
| "frame" : "{{0, 233}, {320, 32}}", | |
| "class" : "Label", |