Top "Python-3.3" questions

For issues that are specific to Python 3.3. Use the more generic [python] and [python-3.x] tags where possible.

subprocess and Type Str doesnt support the buffer API

I have cmd = subprocess.Popen('dir',shell=True,stdout=subprocess.PIPE) for line in cmd.stdout: columns = line.split(' …

python subprocess python-3.3
Getting certificate chain with Python 3.3 SSL module

I can get the standard certificate information for an SSL connection in Python 3.3 via the getpeercert() method on the SSL …

python openssl ssl-certificate python-3.3
Python 3.3 function to merge unique values form multiple lists to one list

I am pretty new to Python..I am trying to write a function that will merge unique values in separate …

python list function merge python-3.3
Python 3.3 with Pillow - ImportError: No module named 'Image'

I have this code: import Image import pygame, sys from pygame.locals import * pygame.init() catImg = Image.open("cat.jpg") …

pygame python-imaging-library python-3.3 pillow
Accessing nested dictionary items in Python

I am trying to format a string using an item from a nested dictionary (below) people = { 'Alice': { 'phone': '2341', …

python dictionary python-3.3
python linux timestamp to date time and reverse

i would like to know how to convert datetime Wed Apr 24 19:25:06 2013 GMT into Linux timestamp 1366831506000 (13 digits)] and reverse using python. …

python python-3.3
Python unclosed resource: is it safe to delete the file?

Googled my way around this issue, but didn't find any solutions. I'm running Python 3.3 with Eclipse and PyDev plugin, and …

python python-3.3
Using True/False as keys - how/why does this work?

I am comfortable using this simple syntax for initializing a dictionary d = {'a':'Apple','b':'Bat'}; Today, while reading a …

python python-3.x python-3.3
Why is dictionary ordering non-deterministic?

I recently switched from Python 2.7 to Python 3.3, and it seems that while in Python 2 the ordering of dictionary keys was …

python dictionary python-3.x python-3.3 non-deterministic
ReferenceError: "something" is not defined in QML

I have Main.qml file like this: import QtQuick 2.0 Rectangle { color: ggg.Colors.notificationMouseOverColor width: 1024 height: 768 } in python file, i …

python qt qml python-3.3 pyqt5