Stack Exchange Network

Stack Exchange network consists of 174 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

Questions tagged [python3]

The tag has no usage guidance.

0
votes
0answers
8 views

unittest in Python Flask: Print messages are truncate [migrated]

I'm writing my first ever Flask tests using unittest. At the moment I have three simple tests, something like this: def setUp(self): app = create_app() self.app = app.test_client() def ...
2
votes
0answers
34 views

What is the installation structure of python on Linux? [closed]

So I completely broke my python. I am not really interested in fixing it, I am going to do a reinstall of my OS anyways. This got me thinking however. How does a python install work on Linux? ...
0
votes
0answers
84 views

Apache with Django and Python 3.6 and 2.7 with mod_wsgi

I am trying to set up a virtual environment for Django using Python 3.6 and Django 1.11 with Django CMS 3.5.2. It is working on my local CentOS7 machine. However when I try to install it on another ...
0
votes
1answer
22 views

Unable to unistall python 3.5 on windows

I am trying to uninstall windows 64 bit python version on my Win7 laptop but unable to do so. It detects an installed version so it provides the option to modify, repair or uninstall. But on ...
0
votes
2answers
64 views

How to delete lines after : if value is >5 in Notepad++ or Python

Hoping someone can help. I'm trying to delete any string that has 5 or less chars after : For example : test:test test:test12 (would be the only line kept) cobra:abcd I've tried solving it for ...
0
votes
0answers
51 views

Different TLS versions in the ClientHello from the same client

I have a python client. Using ssl.SSLContext() (documentation here) and set_ciphers(myciphers) (where myciphers is my list of ciphersuites that I change with every handshake, i.e., with every socket ...
2
votes
0answers
156 views

SSL error python3

Up until yesterday I've been using Spyder on Anaconda (windows) to run code with no issues whatsoever. Today, while running one of my scripts that include quandl, I get an SSL error: SSLError: ...
0
votes
1answer
116 views

What does this error message mean?

I use Python 3.7 and try to install the amazon ECS-CLI. Could not find a version that satisfies the requirement pypiwin32==220; sys_platform == "win32" and python_version >= "3.6" (from docker&...
0
votes
0answers
22 views

Windows 10 mkdir in Python Script with Special Character [duplicate]

I think/hope this a an easy question that I just can't find the answer to - how do I create a directory where the title contains a colon? I'm scraping data from a website with variables for section ...
2
votes
1answer
155 views

How do I write a .pth file?

I want to change the directories in which Python looks for my packages and modules, and changing PYTHONPATH in Windows 10 Environment Variables does not work. So the only solution left (apparently) is ...
0
votes
0answers
54 views

ffmpeg distort audio from video files

I am using ffmpeg to manage 250 video files (.mp4) from individuals talking about personal experiences. Anyone knows how to distort the audio so that a watcher can not understand the content of the ...
0
votes
0answers
24 views

Python3 with setuptools fails copying data if run by checkinstall

Running checkinstall for a python module which uses setuptools fails while running install_data with error: error: [Errno 2] No such file or directory on the first file it encounters. It is creating ...
0
votes
1answer
210 views

how to integrate mobile call to a chatbot using asterisk

I am developing a voice based chatbot which can call a person and have the conversation. Currently, the chatbot uses my pc mic and speaker for input and output audio. I am trying to integrate this ...
0
votes
0answers
564 views

Error with Python win32com

I have installed Python 3.6.5 in Windows 10 and tried to import win32com.client, but I'm getting the following error message: import win32com.client Traceback (most recent call last): File "<...
1
vote
0answers
558 views

How to install the “google” module for Python in Windows 10?

I have a hard time installing the google module on my Python 3.6.4, or actually having Python seeing it: C:\WINDOWS\system32>python -V Python 3.6.5 C:\WINDOWS\system32>python -m pip install --...

15 30 50 per page