View Main.py
from ClientVK import ClientGetID
from ClientVK import ClientGetFriendsAges
from gists import Gist
debug = True
username = "Laptogol"
get_id = ClientGetID(username).execute()
friends_ages = ClientGetFriendsAges(get_id).execute()
View ClientVK.py
import base_client
from datetime import datetime
debug = True
class ClientGetID(base_client.BaseClient):
username = None
# метод vk api
method = "users"
# GET, POST, ...
http_method = "get"
View dict_algs.py.py
def main():
ivan = {
"name": "ivan",
"age": 34,
"children": [{
"name": "vasja",
"age": 12,
},{
"name": "petja",
"age": 10,
View main.py
def fmin(arr):
if len(arr) > 0:
q = arr[0]
for i in arr:
if q > i:
q = i
else:
q = -1
View dict_algs.py.py
ivan = {
"name": "ivan",
"age": 34,
"children": [{
"name": "vasja",
"age": 12,
},{
"name": "petja",
"age": 10,
}],
View str_algs.py.py
a='hello,world'
a=a[::-1]
print(a[::1])