94,905 questions
-2
votes
0
answers
52
views
.py to .app in mac error: [Errno 17] File exists: [closed]
I am using a Mac and I want to create a .app application for file extraction using Python.
error: [Errno 17] File exists: '/Users/faresmohamedmomen/build/bdist.macosx-10.13-universal2/python3.13-...
-2
votes
0
answers
50
views
how to model FP16 operation using gmpy2? like fp16 add. rounding mode must also take in consideration
first time to ask questions in stack overflow.
please share your valuable experiences, i am trying to model FP16 num operations, like fp16 a,b a+b=?, i need set to different rounding mode and make ...
0
votes
1
answer
28
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
24
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 ...
-1
votes
0
answers
48
views
Inductive Automation, Ignition Designer, Gateway tag change script: How to pass parameter to a report?
At first I'm new to "StackOverflow" and second I'm not a native english speaker... so hopefully I can express myself clearly.
I write values to a sql-database(it's working!). This database ...
-1
votes
0
answers
37
views
AWS Redshift VARCHAR argument inside Scalar Python UDF inconsistency
I am trying to create a Scalar Python UDF (https://docs.aws.amazon.com/redshift/latest/dg/udf-creating-a-scalar-udf.html ) to parse a VARBYTE column in Redshift.
Sample code:
CREATE OR REPLACE ...
-2
votes
2
answers
44
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
53
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
72
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
13
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 ...
0
votes
1
answer
54
views
Can you make a class variable that calls an instance of the class?
I am working with a class which does some math and stores the result, and then a line that sets a "noresult" to that class but initiated with zeroes, like so (I'm leaving out the math, this ...
0
votes
1
answer
83
views
Xarray.open_dateset uses more than double the size of the file itself
All,
I am opening NetCDF files from Copernicus data center using xarray version 2024-11-0, using open_dataset function as the following:
import xarray as xr
file1=xr.open_dataset("2021-04.nc"...
0
votes
1
answer
170
views
cqlsh returns "ModuleNotFoundError: No module named 'six.moves'"
I have already installed "six" 1.7.2 in python 2.7.18 with pip, but i receive an error message anyway.
seva@seva-HLYL-WXX9:~$ python --version
Python 2.7.18
seva@seva-HLYL-WXX9:~$ pip ...
0
votes
1
answer
56
views
Python - Django - Encoding UTF-8
I have a problem with text encoding.
The context: I'm working on a django 1.11, python 3.6 app (it started in python 2.7 and django < 1.11 and was upgraded later).
I have to use an API that doesn't ...
0
votes
0
answers
24
views
Error in Python 2 script eunning under Python 3 [duplicate]
First of all, let me say this is not my script. I need to install an older .deb package. It evidently uses Python 2, but that is deprecated on the system. I have fixed a number of obvious issues, ...