For questions about Python programming that are specific to version 3+ of the language.
OS X (Mavericks) has Python 2.7 stock installed. But I do all my own personal Python stuff with 3.3. I just flushed …
python macos python-3.x pip python-3.3I had two versions of Python installed on my machine (versions 2.6 and 2.5). I want to run 2.6 for one project and 2.5 …
python windows python-3.x compatibility python-2.xWhen I run the following script in IDLE import os print(os.getcwd()) I get output as D:\testtool but …
python python-3.x working-directory file-locationI've been trying to find out how to represent a maximum integer, and I've read to use "sys.maxint". However, …
python python-3.xBoth the following snippets of code do the same thing. They catch every exception and execute the code in the …
python python-3.xI've converted my scripts from Python 2.7 to 3.2, and I have a bug. # -*- coding: utf-8 -*- import time …
python python-3.x lxmlFrom pip install --help: --user Install to the Python user install directory for your platform. Typically ~/.local/, or %APPDATA%\Python …
python python-3.x pip virtualenvI have a dictionary and am trying to write it to a file. exDict = {1:1, 2:2, 3:3} with open('file.txt', 'r') as …
python-3.x file dictionary file-writingIs it legitimate to use items() instead of iteritems() in all places? Why was iteritems() removed from Python 3? Seems like …
python python-3.xI'd like to use a variable inside a regex, how can I do this in Python? TEXTO = sys.argv[1] if …
python regex python-3.x variables escaping