Skip to main content

Questions tagged [python3]

Python is an interpreted, general, high-level programming language. Programming questions are off topic. Questions about the use of Python should be asked at Stack Overflow (http://www.stackoverflow.com) instead.

3 votes
4 answers
44k views

How can I run a Python 3 script?

I want to run a Python 3 script. I have looked in the official doc and FAQ, and they are the typical loss. I was looking for answers, I ended up with more questions. I have Windows and Linux. On ...
TheMaskedCucumber's user avatar
0 votes
1 answer
4k views

Change "Edit with IDLE" default to python 3.X instead of python 2.X on windows

When i right-click a python file in windows, there's normally that "edit with IDLE" option, which is a great help. Unfortunately, on the computer I'm using right now I installed both python 3.4 and ...
Kevin's user avatar
  • 103
1 vote
2 answers
3k views

How to redirect stderr of python3 script using tee pipe?

I am a Debian and RedHat user. I would like to redirect stderr (module logging) from a Python3 script. The script outputs a lot of things and the part I want to capture can be fetched using: python3 ....
jlandercy's user avatar
  • 125
0 votes
1 answer
6k views

How to install the library netifaces for Python3 in Ubuntu 12.04?

I made a program in Python3 which uses the package netifaces, I installed it with pip3 in two computers which had Ubuntu 13.04 and Ubuntu 13.10. However, I need to install it in other computer which ...
forvas's user avatar
  • 893
1 vote
1 answer
3k views

Change pythonpath in Vim

I'm using Vim for Python coding. The problem is, that I'm writing in Python 3 and Vim settings contain only Python 2.7 paths. That does not allow me to use plugins (like python-mode) for autocomletion ...
eyeinthebrick's user avatar
4 votes
2 answers
2k views

Is there a way to get python's help() to work in the SublimeText 3 console?

Sublime Text has a console which can be activated by using Ctrl + `. It exposes a python interpreter. On my machine, it's python 3.3. >>> import sys >>> sys.version '3.3.0 (v3.3.0:...
recursive's user avatar
  • 967
7 votes
2 answers
2k views

How to fix _decimal module compilation error when installing Python 3.3.2 in CentOS 5.9 (x86_64)?

I'm getting the following error when trying to compile Python 3.3.2 in CentOS 5.9 x86_64: Failed to build these modules: _decimal I get this error when executing the "make" command (after the ./...
Nicolas G's user avatar
  • 161
1 vote
2 answers
2k views

Is this port of Scapy compatible with Python 3.x?

I found this attempt at poring the Scapy packet manipulator to Python 3.x. Has anyone had any experience using it in Python 3.x? Does it work?
Jules's user avatar
  • 698
1 vote
0 answers
1k views

how can I get scitools to work with Python 3.3.2 in Windows?

I just installed Python 3.3.2 on my Windows XP machine. I have been practicing Python using both Idle and PyScripter. I installed several packages to go with it, among them SciTools. The ...
Stefan Smith's user avatar
0 votes
1 answer
398 views

Python 3.3 (Using IDLE)

I recently installed Python 3.3 on Centos 6 (which has Python 2.6.6 already installed). When I try to open the the Python Shell with IDLE, it opens with Python 2.6.6. How do I open Python 3.3 with ...
user98496's user avatar
  • 733
2 votes
1 answer
2k views

running python via mac ports

I have installed python via mac ports, using: sudo port install python33 I then did: sudo port select --set python python33 and got: Selecting 'python33' for 'python' succeeded. 'python33' is now ...
Baz's user avatar
  • 489
0 votes
1 answer
873 views

postfix sends mail from wrong domain / Python 3 code for sending utf8 mail

I have a machine with two domain names, say a.com and b.com. When I use postfix to send something from an address like [email protected], it replaces it with [email protected] every time. My main.cf file specifies ...
daveagp's user avatar
  • 103
3 votes
1 answer
3k views

What Linux distributions come with Python 3 as the default? [closed]

I know that ArchLinux has Python 3 as the default Python install. What other Linux distributions ship with Python 3 as the default Python version? I've checked this SO question, but it seems more ...
Zac B's user avatar
  • 2,903

15 30 50 per page
1
18 19 20 21
22