All Questions
Tagged with python-2.7 windows
1,201
questions
0
votes
0
answers
26
views
SSL Error and InsecurePlatformWarning when installing packages using pip on Python 2.7
I'm encountering a problem when installing packages on Python 2.7 using pip. Despite repeated attempts, the installation fails with SSL errors and warnings about an insecure platform. For example here'...
0
votes
1
answer
112
views
Unable to call Squish functions in Python modules
Problem: Unable to call squish functions in Python modules. Imported squish & added squish. in front of its function but doesn't seem to work.
test.py
import gAPI
screenshot(obj, filename)
...
-1
votes
1
answer
122
views
Show the stack trace from a stuck v2 Python.exe application in Windows
I have the same question as Showing the stack trace from a running Python application with two differences: I'm looking for answers that work on Windows 10 and Python v2.
I have this Python ...
0
votes
1
answer
24
views
How can I toggle between dashboards of sharepoint with Python?
I need to present different dashboards on one screen. They need to pass in a certain amount of time.
Locally, I was able to use "os.startfile" with Python. I was able to switch between tabs ...
0
votes
1
answer
672
views
Source to download microsoft visual c++ 9.0 for python 2.7
I've encountered a problem whilst trying to install "fa2" (forceatlas2) package onto a conda environment. In my case fa2 is just one of many packages needed, but it's the only one giving me ...
0
votes
0
answers
63
views
Why would TickCount and the system clock progress at different rates?
We had a location in our system where we wanted to check the last system boot time. Seeing that the TickCount (GetTickCount64, no 49-day overflow problems here) was the number of milliseconds since ...
-2
votes
1
answer
56
views
What Python libraries are used in the script to scrape product titles and image URLs from an Amazon page?
import requests
from bs4 import BeautifulSoup
import urllib.request
# URL of the Amazon product page you want to scrape
url = "https://www.amazon.com/sheets-pillowcases/b/ref=dp_bc_aui_C_3?ie=...
0
votes
1
answer
55
views
Python 2 file.writelines() Unicode gives different results on Windows and Linux
For the same code below:
import os
filename = "text.txt"
data = [
[
u"hello world1",
u"hello world2",
u"hello world3",
],
[
u"...
-1
votes
2
answers
264
views
Python; "simulate" mouse and keyboard
I recently started learning Python, trying to make short programs with simple functions but that I can use in one way or another while learning.
I have studied a bit several libraries that they ...
1
vote
1
answer
481
views
Sqlite3 python in :memory: BD not removed (delete)
I have this code to create in memory DB :
import sqlite3
def Creat_In_Memory_DB():
NewDbconn = sqlite3.connect('file:cachedb?mode=memory&cache=shared')
NewDbconn.execute('''CREATE ...
0
votes
0
answers
123
views
Can't run python file without .py extension even after adding shebang
Couldn't get my python script to execute without .py extension even after adding #!/usr/bin/python3 to the script but the shebang works because i could execute the script without python keyword but i ...
0
votes
1
answer
354
views
How to access localhost or 127.0.0.1 on a Windows machine from Ubuntu Production Server?
I need to fetch some data from a biometric device connected to the customer's PC and return it back to my production server. I'm using a Mantra MFS100 Biometric Device to capture biometric data of the ...
0
votes
2
answers
1k
views
Running multiple instances of python in windows 11
I am using windows 11 and have installed python 2.7 first, and python 3.10 right after. I have set the environment path for both.
I have also made a copy of the python exe and renamed them to "...
1
vote
0
answers
270
views
How to install PIP on python2.7 with python3 already installed, in Windows
I have already installed both Python 3.9.7 and Python 2.7 in my Windows. I need to install some libraries like scipy to run an old project, which is written in Python2.
It's a kinda big project so I ...
1
vote
1
answer
628
views
GitHub Workflow on Windows with Python 2 and 3
I'm trying to create a GitHub workflow to trigger tests of my repository for which I need both Python 2 and Python 3.
The solution I'm trying to implement looks like this:
Job1:
name: Running ...