94,714 questions
1
vote
1
answer
38
views
Are GTK2 default translations accessible from Python
When using GTK2 with Python, there are some things like 'gtk-yes', 'gtk-open' which help in getting e.g. button names translated to the according user language.
What I am searching for are more of ...
0
votes
0
answers
36
views
Why does Python 2 forbid implicit __hash__ on old-style classes only?
When I override equality on a class in any language I have to be careful not to create an inconsistent hash function.
Python 3 and Python 2 with old-style classes help here by deleting the __hash__ ...
0
votes
1
answer
28
views
Python: problem with multiprocessing.Pool and deleting files (WindowsError: [Error 32])
I'm writing code in Python 2.7 (bigger framework compatibility reasons) that does the following:
Takes an ID_something.py file, opens it, reads the lines from it, then closes the file.
Creates an ...
2
votes
0
answers
138
views
Python code to get direct download file link from mediafire
I have updated my code to download files from mediafire like
https://app.mediafire.com/folder/cdmen9tqtpwxk.
if self.teamName == "BlackHole":
if boxtype == "dm920":
key ...
0
votes
0
answers
73
views
How do install pip/math module from configured python2.7 source
Ubuntu 25 (plucky)
how do I include the math and other modules when compiling from source?
https://docs.posit.co/resources/install-python-source.html
Compiling 2.7.4
Wasn’t able to use deadsnakes:ppa ...
1
vote
0
answers
30
views
How to manually trigger each NAO robot speech command one by one in a Python script (in VSCode)?
I’m running a Python script controlling four NAO robots using the naoqi API. The script runs in VSCode on my local machine, connected to each robot.
My goal is to have:
Robot 1 speak first with a ...
0
votes
1
answer
72
views
Running older versions of pylint in VS Code possible?
I need to run pylint 1.9.5 with a Python 2.7 environment in VS Code 2025, but I have not found a way to do so. Both of them are also not supported by the pylint extension.
I tried pointing VS Code's ...
0
votes
1
answer
68
views
Does the latest pycharm community version still support python 2.7 [closed]
Installed the latest PyCharm 25.1.1.1, when selecting python interpreter from existing python 2.7 virtualenv, the interpreter shown as python 3.14 in PyCharm.
1
vote
1
answer
194
views
python -v results zsh: command not found: python MacOS Sequoia 15.5 Beta
Why does the command "python -v" result in "zsh: command not found: python" on Mac, even though Python 2 used to come installed with the device?
I am working on an 2020 MacBook Pro ...
0
votes
1
answer
100
views
How to read metadata information from a file using SMB Protocol?
I need to determine the last modification date of a file obtained via the SMB Protocol. I am using a machine running RHEL 7.5, Python 2.7.5, and SMB Protocol version 1.5.1.
I tried the following, but ...
0
votes
0
answers
32
views
Complex DataBinding accepts as a data source either an IList or an IListSource. (Parameter 'value')
I'm a hobbyist developer writing Python code scripts inside CAD software (to help design and build RC model aircraft).
I recently upgraded the CAD software I use and in doing so, it upgraded the ...
-2
votes
2
answers
140
views
Unable to install get-pip.py 2.7 due to SSL error
We are using Python 2.7.3 and trying to install the compatible pip. Downloaded from https://bootstrap.pypa.io/pip/2.7/get-pip.py. When installing getting the below error.
Can someone help how to fix ...
0
votes
1
answer
134
views
Power Automate Desktop - import azure.storage.blob for Python 2.7/3.4
I am trying to perform the import of the azure.storage.blob module into a python script defined within the “Run Python Script” activity of Power Automate Desktop.
# Python 2.7 code
from azure.storage....
-1
votes
3
answers
105
views
can't install pillow neither packtools in Python 2.7.17
I mark articles for SciELO and I need to use Python 2.7.X to work with it, but when i try to install pillow, packtools and lxml the cmd points to "Could not find a version that satisfies the ...
0
votes
0
answers
19
views
How can we make an element tappable when Appium detects it and reports a successful click, but the action is not reflected in the app?
This issue is observed only on iOS 18 versions:
I'm trying to tap on an element ,which is a Cancel button, but the action is not reflected in the app. Upon checking the logs, I found that Appium ...