Questions tagged [python]

Python is a dynamically and strongly typed programming language that encourages readability.

Filter by
Sorted by
Tagged with
0
votes
1answer
18 views

If you wan't to send emails to subscribers, what benefits does an SMTP server have over Gmail?

Let's assume I have a website with an active community. The interactions of my community makes me want to send 1000 Emails a day to some subscribers. Would a gmail account succeed at this task? From ...
0
votes
0answers
17 views

How to force ansible to limit stdout width?

Is there a simple way to force ansible to think that the shell where it writes is shorter than the actual shell? How does it determine the shell width? I'm using ansible-playbook command in a python ...
-5
votes
0answers
18 views

internet connection quality assessment on service/port level

Although I have a 100Mb/s Internet connection, I suffer from bad transmission quality from time to time. Using speedtest tools such as: https://fast.com/# https://speedof.me/ https://pypi.org/project/...
0
votes
1answer
62 views

How to adjust TCP Window Size?

I asked a similar question before, but I believe I was not clear with the details. I'm basically having some problems with my server related to high latency between the server and the clients due to ...
0
votes
0answers
34 views

WebSocket connection to 'wss:// failed: Error during WebSocket handshake: Unexpected response code: 404 on channels

I face this error while using channels for WebSockets on django production: WebSocket connection to 'wss://domain.me/ws/orders/confirm_all/' failed: Error during WebSocket handshake: Unexpected ...
0
votes
1answer
52 views

uwsgi vassal does not use virtualenv

I am running a python application started by an uwsgi emperor. The application is supposed to run in a specific venv, but I cannot get that to work. The ini file for the application specifies a venv ...
-1
votes
0answers
16 views

trying to implement function in python using regex to validate input? [closed]

i am trying to implement this function in Python using Regex: import re def validateusername(username) return None print(validateusername("tony_alexandre")) #valid print(validateusername(&...
0
votes
0answers
17 views

speedtest-cli on FreeBSD gives certificate error

Running speedtest-cli on FreeBSD 12.1-RELEASE-p9 on generic i386 gives the folowing error: Prompt: speedtest-cli --secure Retrieving speedtest.net configuration... Cannot retrieve speedtest ...
-1
votes
1answer
22 views

how to print lists inside tuple in python

i got lists inside a tuple. At least i think thats what i have (i did not code it): nvts = {"high": [], "medium": [], "low": [], "log": []} I want to print the ...
-1
votes
0answers
5 views

Unable to write Xpath in python over winium [closed]

*Below is the screenshot for my desktop application inspection tool which I am automating using winium in python. I am unable to get the Xpath in python as there's not much identifiers present over ...
-3
votes
0answers
20 views

I messed up badly - I have 4 python versions installed and my programs are still not running

I'm on mint; it came with python2.7 as default. As you you know it's outdated and - soon- no longer supported, so I went ahead and installed python3.5. Couple days later, a program is asking for a ...
-1
votes
0answers
41 views

Missing my python's _ctype-xxx.so

A week ago, i installed python3.7 and since then whenever i setup/run a program with python i get an error message for missing modules. First ctypes then _ctypes then ffi. It turns out my _ctypes....
0
votes
0answers
15 views

Segfaults running duplicity shell script

I have a shell script that runs duplicity backup commands. This script runs fine on Red Hat and CentOS 7. I'm now trying to use it on a Red Hat 8 machine, and I'm getting two segfaults when it runs. ...
0
votes
1answer
89 views

CentOS 8 - uninstalled python, How to recover laptop?

Yes I know I'm an idiot, I just need help I have a laptop running centOS 8 and I was trying to set another default version of Python. Long story short I used sudo dnf remove python and my laptop ...
0
votes
1answer
37 views

How to get to modwsgi 4+ on Centos7

On Centos7, yum pulls in mod_wsgi 3.4 using a yum install. I'm having some problems and multiple resources I have looked at regard this version as ancient and ask the users to upgrade to 4+. I'm not ...

15 30 50 per page
1
2 3 4 5
105