I wrote a script to display an image in terminal using ANSI codes: https://www.reddit.com/r/Python/comments/964qci/i_wrote_a_script_to_display_an_image_in_terminal/
reddit
r/Python - I wrote a script to display an image in terminal using ANSI codes
1,012 votes and 69 comments so far on Reddit
How can I print Hindi sentences(unicode) on image in Python?: https://stackoverflow.com/questions/39630916/how-can-i-print-hindi-sentencesunicode-on-image-in-python
Stack Overflow
How can I print Hindi sentences(unicode) on image in Python?
I have a file named "hindi.txt". It has contents as follows. I'm using Python3.5.
कामकाजी महिलाओं के लिए देश में दिल्ली असुरक्षित, सिक्किम सबसे बेहतर: रिपोर्ट
9 साल से अटकी राफेल डील मंजूर, 59000 ...
कामकाजी महिलाओं के लिए देश में दिल्ली असुरक्षित, सिक्किम सबसे बेहतर: रिपोर्ट
9 साल से अटकी राफेल डील मंजूर, 59000 ...
Scrapy process less than succesfully crawled: https://stackoverflow.com/questions/51744766/scrapy-process-less-than-succesfully-crawled
Stack Overflow
Scrapy process less than succesfully crawled
I have 2 problems with my scraper:
It get's a lot of 302s after a while, despite the fact I use 'COOKIES_ENABLED': False, and rotating proxy which should provide different IP for each request. I s...
It get's a lot of 302s after a while, despite the fact I use 'COOKIES_ENABLED': False, and rotating proxy which should provide different IP for each request. I s...
What’s the difference between 3.6.3 and 3.7.0: https://www.reddit.com/r/Python/comments/966llx/whats_the_difference_between_363_and_370/
reddit
r/Python - What’s the difference between 3.6.3 and 3.7.0
1 vote and 0 comments so far on Reddit
PEP 505: None-aware operators ??, ?. and ?[] considered for 3.8: https://www.reddit.com/r/Python/comments/966onc/pep_505_noneaware_operators_and_considered_for_38/
reddit
r/Python - PEP 505: None-aware operators ??, ?. and ?[] considered for 3.8
1 vote and 1 comment so far on Reddit
Any recommendation about datacamp.com to learn data science and machine learning with Python?: https://www.reddit.com/r/Python/comments/966vqw/any_recommendation_about_datacampcom_to_learn/
reddit
r/Python - Any recommendation about datacamp.com to learn data science and machine learning with Python?
1 vote and 0 comments so far on Reddit
undictify: A library providing type-checked function calls at runtime: https://www.reddit.com/r/Python/comments/9673rt/undictify_a_library_providing_typechecked/
reddit
r/Python - undictify: A library providing type-checked function calls at runtime
1 vote and 0 comments so far on Reddit
Looping over Pymongo cursor returns bson.errors.InvalidBSON error after some iterations: https://stackoverflow.com/questions/51734811/looping-over-pymongo-cursor-returns-bson-errors-invalidbson-error-after-some-ite
Stack Overflow
Looping over Pymongo cursor returns bson.errors.InvalidBSON error after some iterations
I'm trying making a simple query with pymongo and looping over the results.
This is the code I'm using:
data = []
tam = db.my_collection.find({'timestamp': {'$gte': start, '$lte':end}}).count()
f...
This is the code I'm using:
data = []
tam = db.my_collection.find({'timestamp': {'$gte': start, '$lte':end}}).count()
f...
I wrote a portable collaborative code environment for browsers and it supports Python (thanks to Brython): https://www.reddit.com/r/Python/comments/967ehp/i_wrote_a_portable_collaborative_code_environment/
reddit
I wrote a portable collaborative code environment for... • r/Python
This was my first project in MeteorJS and I'm mildly pleased with how it turned out. I just thought about how we have some websites that offer...
How to calculate all 24 rotations of 3d array?: https://stackoverflow.com/questions/33190042/how-to-calculate-all-24-rotations-of-3d-array
Stack Overflow
How to calculate all 24 rotations of 3d array?
I have a 3d numpy array describing a polycube (imagine a 3d tetris piece). How can I calculate all 24 rotations?
Numpy's array manipulation routines include a rot90 method, which gives 4 of the 24,...
Numpy's array manipulation routines include a rot90 method, which gives 4 of the 24,...