Top "Python-3.2" questions

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

How to know/change current directory in Python shell?

I am using Python 3.2 on Windows 7. When I open the Python shell, how can I know what the current directory …

python windows python-3.x python-3.2
Remove and Replace Printed items

I was wondering if it was possible to remove items you have printed in Python - not from the Python …

python python-3.x printing python-3.2
NameError: name 'reduce' is not defined in Python

I'm using Python 3.2. Tried this: xor = lambda x,y: (x+y)%2 l = reduce(xor, [1,2,3,4]) And got the following error: l = …

python reduce python-3.2
Python dictionary.keys() error

I am trying to use the .keys() and instead of getting a list of the keys like always have in …

python python-3.x dictionary python-3.2
How to install matplotlib with Python3.2

I installed python3.2 in ubuntu (the default edition is not deleted), and I follow the steps in here However when …

python numpy matplotlib python-3.2
How to read an array of integers from single line of input in python3

I want to read an array of integers from single line of input in python3. For example: Read this array …

python arrays list input python-3.2
Start IDLE with python 3 on Linux (python 2.7 installed alongside)

I initially had python 2.7, which often comes bundled with the OS (currently using Linux Mint 12). I wanted to try python 3, …

python python-3.2 python-idle
UnicodeEncodeError: 'ascii' codec can't encode character in position 0: ordinal not in range(128)

I'm working on a Python script that uses the scissor character (9986 - ✂) and I'm trying to port my code to …

python encoding python-3.2
Python3 AttributeError: 'list' object has no attribute 'clear'

I am working on a Linux machine with Python version 3.2.3. Whenever I try to do list.clear() I get an …

python list python-3.x attributeerror python-3.2
python 3.2 error saying urllib.parse.urlencode() is not defined

I am trying to use urllib.parse.urlencode() method in one of my scripts. import urllib #!/usr/bin/python3.2 import …

python python-3.2