Category "python-3.5"

Can no longer type quotation marks in IDLE3.5. Pycharm (2018.3) and Netbeans, why?

I am struggling with a weird situation. For a week or so quotation marks (', " but also ^) no longer appear when I type them in IDLE 3.5 (I get ¨ and ´

exec function in a function is not working(python 3.5)

I am trying to write a dynamic program(to parse json files based on their tags) in python and i am using Python exec function to do that. But the program is fai

Pip broken after upgrade. Cannot unsinstall or upgrade Pip or Python

I recently had tried to run a pip command and noticed my pip version was considerably out of date so upgraded it. This seems to have completely broken my pip in

Setting up python on windows 10 pro

Have set up Python 3.5 and Python 2.7.11 yet both have not been recognized by the command prompt. Also have download pip.py, and the command prompt has not reco

How can I parse a bytestring in Python 3?

Basically, I have two bytestrings in a single line like this: b'\xe0\xa6\xb8\xe0\xa6\x96 - \xe0\xa6\xb6\xe0\xa6\x96\n' This is a Unicode string that I'm import

Is it possible to inherit from class with Generic in Python?

Since Python 3.5 you can use Generics and other interesting stuff described in PEP-0484. I tried that and here's a code I have: from typing import TypeVar, Ge

python requests can't find a folder with a certificate when converted to .exe

I have a program that pools ad stats from different marketing systems. Everything works fine untill i convert it to the .exe format and run it. Exception in Tk

How can I remove ".0" of float numbers?

Say I have a float number. If it is an integer (e.g. 1.0, 9.0, 36.0), I want to remove the ".0 (the decimal point and zero)" and write to stdout. For example, t

Python 3.5.1 - read multiple integers on the same input line into a list

I'm using python 3.5.1 and running my file through command prompt on windows. The arguments are being passed after the program is run; ie the program prompts fo

Can't uninstall global python3.5 module after upgrading to python3.6

I recently upgraded from Ubuntu 17.04 to 17.10 in order to be able receive the patches for meltdown. This upgrade automatically bumped me from python3.5 to pyth

How to install python3-dev in Oracle Linux?

How can I install python3-dev in Oracle Linux? yum install python3-dev is not working. It gives a message: No package python3-dev available. I need pyth

python zipfile multiple files

i am having problems with python and zipfile, namely: I can't add a second file to my zip. here is my code, if you need more, I'll be glad to provide it. def z