Is this code pythonic ("format_time" function and its test)?: https://www.reddit.com/r/Python/comments/ak07cb/is_this_code_pythonic_format_time_function_and/
reddit
r/Python - Is this code pythonic ("format_time" function and its test)?
1 vote and 1 comment so far on Reddit
Pandas 0.24 released. Last version to support Python 2: https://www.reddit.com/r/Python/comments/ak00sp/pandas_024_released_last_version_to_support/
reddit
r/Python - Pandas 0.24 released. Last version to support Python 2
63 votes and 13 comments so far on Reddit
What are best practices software design for a program which you can add add-ons to it?: https://www.reddit.com/r/Python/comments/ak2h8v/what_are_best_practices_software_design_for_a/
reddit
r/Python - What are best practices software design for a program which you can add add-ons to it?
2 votes and 5 comments so far on Reddit
Reloading celery code without losing reserved tasks: https://stackoverflow.com/questions/43792749/reloading-celery-code-without-losing-reserved-tasks
Stack Overflow
Reloading celery code without losing reserved tasks
I have millions of tasks reserved in Celery (ETA not due yet) and every time I want to update my Celery code base, I have to restart it, which cuts the connection to RabbitMQ and causes RabbitMQ to
Bonfig 0.2.0 released with an improved API, a full test suite and better documentation - Why not make your configs classy!: https://www.reddit.com/r/Python/comments/ak2ndz/bonfig_020_released_with_an_improved_api_a_full/
reddit
r/Python - Bonfig 0.2.0 released with an improved API, a full test suite and better documentation - Why not make your configs classy!
4 votes and 6 comments so far on Reddit
How to do interprocess communication in Python?: https://www.reddit.com/r/Python/comments/ak3g4q/how_to_do_interprocess_communication_in_python/
reddit
r/Python - How to do interprocess communication in Python?
2 votes and 4 comments so far on Reddit
Mock a series of interdependent calls: https://stackoverflow.com/questions/54016901/mock-a-series-of-interdependent-calls
Stack Overflow
Mock a series of interdependent calls
I have a method that scrapes a web page and saves data into a file (see below for an example code). I need to test that the resulting data is well-formed.
The problem is, the data is received from a
The problem is, the data is received from a
encodings.utf_8.StreamReader readline(), read() and seek() don't cooperate: https://stackoverflow.com/questions/54349150/encodings-utf-8-streamreader-readline-read-and-seek-dont-cooperate
Stack Overflow
encodings.utf_8.StreamReader readline(), read() and seek() don't cooperate
Consider this very simple example.
import codecs
from io import BytesIO
string = b"""# test comment
Some line without comment
# another comment
"""
reader = codecs.getreader("UTF-8")
stream = r...
import codecs
from io import BytesIO
string = b"""# test comment
Some line without comment
# another comment
"""
reader = codecs.getreader("UTF-8")
stream = r...
Can someone tell me when i put in 3,3 why its giving me a blank and not 2???: https://www.reddit.com/r/Python/comments/ak3wwy/can_someone_tell_me_when_i_put_in_33_why_its/
reddit
r/Python - Can someone tell me when i put in 3,3 why its giving me a blank and not 2???
0 votes and 2 comments so far on Reddit
Is there a reason Boolean values are called truthy/falsey in python but truth-ness/false-ness in R?: https://www.reddit.com/r/Python/comments/ak406m/is_there_a_reason_boolean_values_are_called/
reddit
r/Python - Is there a reason Boolean values are called truthy/falsey in python but truth-ness/false-ness in R?
1 vote and 1 comment so far on Reddit
I need to be able to program from a USB. (Live USB's aren't working): https://www.reddit.com/r/Python/comments/ak5f7r/i_need_to_be_able_to_program_from_a_usb_live_usbs/
reddit
r/Python - I need to be able to program from a USB. (Live USB's aren't working)
1 vote and 0 comments so far on Reddit
Auto-game play using Python. It's too difficult: https://www.reddit.com/r/Python/comments/ak5i29/autogame_play_using_python_its_too_difficult/
reddit
r/Python - Auto-game play using Python. It's too difficult
0 votes and 0 comments so far on Reddit