Top "Python-3.4" questions

The version of the Python programming language released on March 16, 2014.

How do I escape forward slashes in python, so that open() sees my file as a filename to write, instead of a filepath to read?

Let me preface this by saying I'm not exactly sure what is happening with my code; I'm fairly new to …

python python-3.4
What's the correct way to clean up after an interrupted event loop?

I have an event loop that runs some co-routines as part of a command line tool. The user may interrupt …

python python-3.4 python-asyncio
I have python3.4 but no pip or ensurepip.. is something wrong with my python3.4 version?

I've read in multiple places that python3.4 ships with pip. My OS is Lubuntu 14.04 and the default python version is …

python pip python-3.4
base64.encodestring failing in python 3

The following piece of code runs successfully on a python 2 machine: base64_str = base64.encodestring('%s:%s' % (username,password)).…

python python-2.7 encoding base64 python-3.4
NameError: name 'argv' is not defined

I am trying to make a Google API call and am getting an error with the beginning of the code …

python google-api python-3.4 argv
Python doesn't find MagickWand Libraries (despite correct location?)

I wanted to install the Python ImageMagick API wand and followed this site: http://docs.wand-py.org/en/latest/guide/…

python imagemagick python-3.4 wand
Test an object is a subclass of the type of another instance

I have this code: class Item: def __init__(self,a): self.a=a class Sub(Item): def __init__(self,a,…

python class inheritance python-3.4
'super' object has no attribute '__getattr__' in python3

How to override __getattr__ with python 3 and inheritance? When I use the following: class MixinA: def __getattr__(self, item): # Process …

python python-3.x python-3.4
Using Anaconda Python 3.4 with PyQt5

I have an existing PyQt5/Python3.4 application that works great, and would now like to add "real-time" data graphing to …

matplotlib anaconda python-3.4 pyqt5
Python matplotlib Cairo error

I'm using something simpler than the sample code on the pyplot tutorial website: import matplotlib.pyplot as plt plt.plot([1,2,3,4,5]) …

python matplotlib plot python-3.4