I have 2 external hard drives backing up the same stuff, how can I write a script that will run when both are connected, and update backup2 with files from backup1: https://www.reddit.com/r/Python/comments/8bet4x/i_have_2_external_hard_drives_backing_up_the_same/
reddit
I have 2 external hard drives backing up the same... • r/Python
Basically, I have 2 external hard drives. When I update the master, I just want to plug my other one in, and a script will automatically take all...
Best Python online course for speed: https://www.reddit.com/r/Python/comments/8bjt28/best_python_online_course_for_speed/
reddit
Best Python online course for speed • r/Python
So I know we all want to be ... the best/proper/legit python programmers. BUT If I wanted online teaching tools to learn python to be a...
ODBC Connection in Python on Air-gaped Environment: https://www.reddit.com/r/Python/comments/8bjunx/odbc_connection_in_python_on_airgaped_environment/
reddit
ODBC Connection in Python on Air-gaped Environment • r/Python
I am trying to connect to an SQL database via ODBC in Python. While i know there are numerous libraries out there to do this, the environment I am...
can someone help me to create python webhook for dialogflow ?: https://www.reddit.com/r/Python/comments/8bftms/can_someone_help_me_to_create_python_webhook_for/
reddit
can someone help me to create python webhook for... • r/Python
I am trying to create a webhook for dialogflow in python but the only source I have found was a repository in github...
Python doctest hangs using ProcessPoolExecutor: https://stackoverflow.com/questions/48218897/python-doctest-hangs-using-processpoolexecutor
Stack Overflow
Python doctest hangs using ProcessPoolExecutor
This code runs fine under regular CPython 3.5:
import concurrent.futures
def job(text):
print(text)
with concurrent.futures.ProcessPoolExecutor(1) as pool:
pool.submit(job, "hello")
But...
import concurrent.futures
def job(text):
print(text)
with concurrent.futures.ProcessPoolExecutor(1) as pool:
pool.submit(job, "hello")
But...
Python doctest hangs using ProcessPoolExecutor: https://stackoverflow.com/questions/48218897/python-doctest-hangs-using-processpoolexecutor
Stack Overflow
Python doctest hangs using ProcessPoolExecutor
This code runs fine under regular CPython 3.5:
import concurrent.futures
def job(text):
print(text)
with concurrent.futures.ProcessPoolExecutor(1) as pool:
pool.submit(job, "hello")
But...
import concurrent.futures
def job(text):
print(text)
with concurrent.futures.ProcessPoolExecutor(1) as pool:
pool.submit(job, "hello")
But...
[Numpy] Preserving a list of collapsed numbers when calling dataframe.groupby: https://www.reddit.com/r/Python/comments/8bdb8p/numpy_preserving_a_list_of_collapsed_numbers_when/
reddit
[Numpy] Preserving a list of collapsed numbers when... • r/Python
So I say I have a dataframe data looking like: Index Continuous_Variable Categorical_Variable Age Lastname1,...
Machine Learning/AI resources: https://www.reddit.com/r/Python/comments/8bkp1q/machine_learningai_resources/
reddit
Machine Learning/AI resources • r/Python
So, I'm currently looking to create a bot with a simple AI/machine learning mechanism based on python. Thing is, I really don't know where to...
Reading joystick capability: https://stackoverflow.com/questions/49707878/reading-joystick-capability
Stackoverflow
Reading joystick capability
I'm trying to read my joystick capability by using the winmm.dll library.
Here how I'm doing it
from ctypes import windll, Structure, c_uint, c_ushort, c_char, c_ulong
WORD = c_ushort
UINT = c_uint
Here how I'm doing it
from ctypes import windll, Structure, c_uint, c_ushort, c_char, c_ulong
WORD = c_ushort
UINT = c_uint
3rd "if" condition doesn't work: https://www.reddit.com/r/Python/comments/8bmbm6/3rd_if_condition_doesnt_work/
reddit
3rd "if" condition doesn't work • r/Python
[HERE](https://www.pastiebin.com/5acea91a0e1a2) is the whole code. This code is supposed to write to an output file a list of floats, depending...
Outputting a single 'timeline' from multiple consistently running web scraping scripts: https://www.reddit.com/r/Python/comments/8bmrli/outputting_a_single_timeline_from_multiple/
reddit
Outputting a single 'timeline' from multiple... • r/Python
Hey guys, so I'm relatively new to python but I've taught myself enough to write a few scripts to accomplish what I've been wanting to do. I have...
Pandas - convert Series of ints to strings - Why is apply much faster than astype: https://stackoverflow.com/questions/49371629/pandas-convert-series-of-ints-to-strings-why-is-apply-much-faster-than-astyp
Stackoverflow
Pandas - convert Series of ints to strings - Why is apply much faster than astype
I have a pandas.Series that is ints, but I need to make it strings for some downstream tools. So suppose I had a Series object...
import numpy as np
import pandas as pd
x = pd.Series(np.random.r...
import numpy as np
import pandas as pd
x = pd.Series(np.random.r...
Learning Python for research - suggestions?: https://www.reddit.com/r/Python/comments/8bo0oz/learning_python_for_research_suggestions/
reddit
Learning Python for research - suggestions? • r/Python
I've recently started learning Python as part of an independent study program with a professor in order to work with her on astrophysics research....
Errors using pip in a virtualenv on a Raspberry Pi: https://www.reddit.com/r/Python/comments/8boewp/errors_using_pip_in_a_virtualenv_on_a_raspberry_pi/
reddit
Errors using pip in a virtualenv on a Raspberry Pi • r/Python
I've been trying to install NumPy to my Raspberry Pi inside a virtualenv (running on python3.5.3) using pip like so: pip install numpy At...