Trying To Build First Scraper - Banned: https://www.reddit.com/r/Python/comments/77i3na/trying_to_build_first_scraper_banned/
reddit
Trying To Build First Scraper - Banned • r/Python
I'm very new to Python and I've made a simple script today to start the web scraping process. Using BeautifulSoup, I've just been opening the page...
gevent-tasks: managed background periodic functions using gevent. [announcing]: https://www.reddit.com/r/Python/comments/77i9eg/geventtasks_managed_background_periodic_functions/
reddit
gevent-tasks: managed background periodic functions... • r/Python
1 points and 1 comments so far on reddit
Can you explain recursive and non recursive factorial functions? I can't seem to clearly understand how to trace these functions.: https://www.reddit.com/r/Python/comments/77ibro/can_you_explain_recursive_and_non_recursive/
reddit
Can you explain recursive and non recursive factorial... • r/Python
def fact3(n): #iteration res=1 for i in range(2,n+1): res=res*i ...
Card game to predict 3 cards for a player: https://www.reddit.com/r/Python/comments/77ik8r/card_game_to_predict_3_cards_for_a_player/
reddit
Card game to predict 3 cards for a player • r/Python
import random Player_1 = input ("What is your Name") card = [] for a in range (0,3): card.append(random.randint(2, 14)) ...
Logging all queries with cassandra-python-driver: https://stackoverflow.com/questions/46773522/logging-all-queries-with-cassandra-python-driver
Stack Overflow
Logging all queries with cassandra-python-driver
I'm trying to find a way to log all queries done on a Cassandra from a python code. Specifically logging as they're done executing using a BatchStatement
Are there any hooks or callbacks I can us...
Are there any hooks or callbacks I can us...
How can I manipulate shapes (colors) in PowerPoint using Python and win32com.client?: https://stackoverflow.com/questions/46789979/how-can-i-manipulate-shapes-colors-in-powerpoint-using-python-and-win32com-cli
Stackoverflow
How can I manipulate shapes (colors) in PowerPoint using Python and win32com.client?
As I've made slight progress with the problem at hand since i posted this question, I've found it necessary to split it in two parts to maintain clarity.
How can I manipulate shape colors in Power...
How can I manipulate shape colors in Power...
Trying to build a proxy with aiohttp: https://stackoverflow.com/questions/46788964/trying-to-build-a-proxy-with-aiohttp
Stack Overflow
Trying to build a proxy with aiohttp
I'm trying to write a forwarding http proxy with aiohttp, I've currently got it working with http but wanting it to work with https(without decryption).
import asyncio
from aiohttp import web,
import asyncio
from aiohttp import web,
Cant load any of my installed scripts (using pip install): https://www.reddit.com/r/Python/comments/77k6uy/cant_load_any_of_my_installed_scripts_using_pip/
reddit
Cant load any of my installed scripts (using pip install) • r/Python
Python is proving to be garbage compared to R and im rather frustrated. I installed all the scripts using cmd command C:\Python34\Scripts>pip...
Which Data Structure, Array or Dictionary, will better suit my need.: https://www.reddit.com/r/Python/comments/77k6xc/which_data_structure_array_or_dictionary_will/
reddit
Which Data Structure, Array or Dictionary, will better... • r/Python
Sorry if this is noob question. I'm creating a script which automatically logs in a website and does something. And I have got it to work using...
In initial development of an HTTP client for Python that is inspired by Spring's Retrofit and powered by Requests. Looking for early adopters!: https://www.reddit.com/r/Python/comments/77km8s/in_initial_development_of_an_http_client_for/
reddit
In initial development of an HTTP client for Python... • r/Python
1 points and 0 comments so far on reddit
Display an unknown number of fields in Django template with field content of another record as the label: https://stackoverflow.com/questions/46792118/display-an-unknown-number-of-fields-in-django-template-with-field-content-of-ano
Stackoverflow
Display an unknown number of fields in Django template with field content of another record as the label
I have a Django app which I want to be able to use in multiple instances. One model (Listing) can have a variable number of fields (for the different instances) but will then always have exactly t...
how to handover *args to pathos' amap: https://stackoverflow.com/questions/46791359/how-to-handover-args-to-pathos-amap
Stackoverflow
how to handover *args to pathos' amap
I have the following problem: I would like to use a amap from pathos.multiprocessing.
import pathos as pt
class Foo:
def __init__(self):
pass
def f(self, a, b, c):
retu...
import pathos as pt
class Foo:
def __init__(self):
pass
def f(self, a, b, c):
retu...
Prevent setup.py test / pytest from installing extra dependencies: https://stackoverflow.com/questions/46796011/prevent-setup-py-test-pytest-from-installing-extra-dependencies
Stack Overflow
Prevent setup.py test / pytest from installing extra dependencies
In my CI I have a build step, which uses pip and is correctly set up using private indexes etc.
Then I have test step, which executes python setup.py test.
In this particular case test is an ali...
Then I have test step, which executes python setup.py test.
In this particular case test is an ali...
Repeat script every X seconds: https://www.reddit.com/r/Python/comments/77ky83/repeat_script_every_x_seconds/
reddit
Repeat script every X seconds • r/Python
Dear /r/python, I made a script that puts a file on a ftp server. The server deletes the file after it has been read. Now I want to send the...
Fastest Algorithm for a certain array operation: https://www.reddit.com/r/Python/comments/77lf8i/fastest_algorithm_for_a_certain_array_operation/
reddit
Fastest Algorithm for a certain array operation • r/Python
Id like to ask around if whats the fastest way to operate on all the elements of an array except the current element. Id want it to be fast since...
Can you please explain like I'm 5 "for loops"?: https://www.reddit.com/r/Python/comments/77lwch/can_you_please_explain_like_im_5_for_loops/
reddit
Can you please explain like I'm 5 "for loops"? • r/Python
"while" loops make sense: while something is something, do something. Even the English language uses this loop. "for" loops don't make any sense...
Detecting Distance from Single Camera: https://www.reddit.com/r/Python/comments/77mam4/detecting_distance_from_single_camera/
reddit
Detecting Distance from Single Camera • r/Python
Hey everyone! I’m looking for a way to detect the distance to an object. I’ve got a few tools at my disposal, but the physical setup is the...