Загрузка...

How to make multithreading out of this?

Thread in Python created by BezName Jun 24, 2019. 122 views

  1. BezName
    BezName Topic starter Jun 24, 2019 l 161 Jan 21, 2017
    Code

    import vk_api
    import random
    from threading import Thread
    vk = vk_api.VkApi(token='nunada')
    while True:
    r = random.randint(1, 9900000)
    print(vk.method('wall.createComment', {'user_id': 'id', 'post_id': "399", 'message': 'r'}))
     
  2. BezName
    BezName Topic starter Jun 24, 2019 l 161 Jan 21, 2017
    cdelal vrode :roflanpominki:
     
Loading...
Top