Using Python's built-in defaultdict we can easily define a tree data structure:
def tree(): return defaultdict(tree)
That's it!
Using Python's built-in defaultdict we can easily define a tree data structure:
def tree(): return defaultdict(tree)
That's it!
### | |
# Sending sms via smsaero.ru gate | |
### | |
import requests | |
import time | |
import hashlib | |
def sms_sender( | |
number='79825552211', |
// КОНТРОЛЛЕР | |
Ext.define('C300.controller.Base', { | |
extend: 'Ext.app.Controller', | |
stores:[ | |
'C300.store.streetStore' | |
], | |
views: [ |
# -*- coding: utf-8 -*- | |
import os, sys, locale | |
import site, os | |
locale.setlocale(locale.LC_TIME,'ru_RU.utf8') | |
#projects_root = '/home/codeboy/xxx/svn2/' | |
# | |
#if projects_root not in sys.path: |