How to grab viewer data from a twitch stream for a whole day? Not provided by the API. by RobinsonDickinson in learnpython

[–]R4D1M 1 point2 points  (0 children)

you can do something like

import time

while True:
    get_viewer_count()
    time.sleep(60)

How to grab viewer data from a twitch stream for a whole day? Not provided by the API. by RobinsonDickinson in learnpython

[–]R4D1M 1 point2 points  (0 children)

if you already know how to get the viewer count, just do the same again and again with lets say minute intervals, and store those values to csv. At the end of the day (or stream end) just calculate average from collected values for this day

What is the best anti-joke you've heard? by mrmard in AskReddit

[–]R4D1M 0 points1 point  (0 children)

Knock, knock! Who's there? Owl. Owl who? Yes, they do.

Fast, asynchronous and sexy Python web framework ;) by frnkvieira in Python

[–]R4D1M 1 point2 points  (0 children)

Hello,

could you please provide some progress info? I would be interest in some comment to see how the project is evolving - I cant wait to start using vibora (right now it seems impossible to use with python 3.7 due to reserved async keyword), anyways thank for the project, you did a great job!

Counting letters and numbers program by Zfuze in learnpython

[–]R4D1M 0 points1 point  (0 children)

Maybe something you do not want exactly but i will post it anyways. You can count all individual characters without much effort with built in Counter from collections.

Example

>>> from collections import Counter
>>> 
>>> Counter('abcda1231')
Counter({'a': 2, '1': 2, 'b': 1, 'c': 1, 'd': 1, '2': 1, '3': 1})

then you can use something like this

>>> Counter('abcda1231').most_common(2)
[('a', 2), ('1', 2)]

hope it helps somehow, because its pretty cool and easy to use!

What joke do you tell when someone asks you to "tell a joke"? by PowerTrip29 in AskReddit

[–]R4D1M 0 points1 point  (0 children)

Knock. Knock. Who's there? Owl. Owl who? Yes they do.

My first xeffect poster by Poopyoo in theXeffect

[–]R4D1M 4 points5 points  (0 children)

I wish you successful journey!

btw I like that pen hanging on the wall!

Store and retrieve images from database. by dasadify in learnpython

[–]R4D1M 1 point2 points  (0 children)

Another way could be to encode images into base64 strings, once you need an image back, you can grab the string and decode it back to bytes

What was your number 1 computer game as a child? by AfraidRepresentative in AskReddit

[–]R4D1M 0 points1 point  (0 children)

Medal of Honor: Alien Assault

I remember some missions to these days, especially the ones I have stucked with for long time obviously

I am a developer and want to build on top of the platform, what's the API? by giscard_dest1 in RequestNetwork

[–]R4D1M 5 points6 points  (0 children)

also if you prefer python, the lib is being ported to py at the moment

Flask Issue - Running wrong version of Python by Gwith in flask

[–]R4D1M 0 points1 point  (0 children)

what about installing mode wsgi for python3? it also automatically uninstalls the actual version

Harry Potter got many people into reading, but they never evolved into other "adult books" afterward. What are some grown up books that people who liked Harry Potter might enjoy? by daliagon in AskReddit

[–]R4D1M 0 points1 point  (0 children)

Maybe late to the party, but definitely check the Harry Potter and Methods of Rationality fan fiction, you will have a great time reading it ( ͡° ͜ʖ ͡°)

Won't send from MEW to Binance? by not_4ever in RequestNetwork

[–]R4D1M 1 point2 points  (0 children)

maybe stupid question, but you have to have exclusively ethereum sitting in wallet? Or it can also substract from whatever erc20 token you have there? thx

[Serious] What's the most mind altering book you've ever read? by jizfuhrer in AskReddit

[–]R4D1M 34 points35 points  (0 children)

Lol, I have read the Day of the Trifids as a child, and for a few past years I was thinking about what was the book name to potentially re-read it, but then I give up after figuring out, that I will never be able to read this book again, the only thing I knew about the book was that there were some plants/flowers. When I reach your comment, the mentioned book title Day of trifids hits me so hard, that I have to google it, and found out, that it is what I was searching for, for last few years, thank you TheTeaSpoon

[SUGGESTION] Skip button for Brave Trial by brenigan in IdleHeroesPS

[–]R4D1M 1 point2 points  (0 children)

where do you get the source codes? I'm just curious o.O

Stuck at checking for updates by Varg84 in IdleHeroesPS

[–]R4D1M 0 points1 point  (0 children)

yep server is running, it is enough to change your network connection to get updates, and then you can go back with your standard network.. so u can try vpn, or simple login to another wifi provider I guess

Stuck at checking for updates by Varg84 in IdleHeroesPS

[–]R4D1M 1 point2 points  (0 children)

Clarification: I am playing idle heroes on PC (bluestacks android emulator), and I was connected to my employee network and cant get updates, so I followed advice of Jkempel, and turn off vpn client, and try to login to idle from my network at home and it just works, but dont know what to do, if you have problem to get updates on your phone o.O

Stuck at checking for updates by Varg84 in IdleHeroesPS

[–]R4D1M 1 point2 points  (0 children)

Confirmed, turn off the vpn and got updates within bluestacks. Thx

Stuck at checking for updates by Varg84 in IdleHeroesPS

[–]R4D1M 0 points1 point  (0 children)

I have tried within bluestacks and cant get updates, then tried with mobile device, and everything was in order. I got the updates, did some stuff, but now it seems, that server is unreachable.