The tag has no usage guidance.

learn more… | top users | synonyms

0
votes
0answers
29 views

Backup of /usr/local/XXXX on upgrade

I kept some Python scripts in my /usr/local/python folder on my Synology NAS. I upgraded Python and my files were gone. Is there any way to recover it?
1
vote
1answer
67 views

Setting up IDLE with Python 3 in Fedora

I am trying to setup IDLE to use Python 3 by default in my Fedora 23 computer. Every time I am pulling it up it keeps on using the Python 2 interpreter. Is there a file that I need to configure so ...
-1
votes
1answer
138 views

Python 3.5 (32 Bit) in Window 7 64 Bit

Good Day to all, I'm Having Trouble to solve this even i searched a lot, I Already install python 3.5 ( 32 bit ) in my Computer with 64 bit ( Window 7 ), i can use normal functions of python but when ...
0
votes
0answers
6 views

How to selectively import libraries in Python?

I am currently managing some Windows and Linux machines. I need to run some python3 scripts on these machines. However, there are some libraries that are required to be used on one platform and ...
2
votes
0answers
56 views

Force Ubuntu user to use specific shell

After years of reading helpful questions/answers on superuser, today it's my turn. I'm playing around with "lshell", a linux shell written in python (lshell on github) which gives the opportunity to ...
0
votes
0answers
31 views

Odoo : Main JS file is not loading on mobile device?

I host my odoo on server and modifying theme using html editor . but there occurred an error . Website navigation is not working on mobile but in browsers mobile it works fine.Because its not working ...
0
votes
0answers
21 views

Why does my PowerShell belief it's a Cygwin terminal?

Lately I discovered that colorama* does not work as intended. It does not convert ANSI escape sequences into WinAPI calls to change the PoSh console text colors. I noticed that it works correct in an ...
2
votes
1answer
1k 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 ...
1
vote
1answer
26 views

Python interpreter slowly pastes code

When I first started using Python, the process of pasting code was fast; code I copied was pasted almost instantaneously into the interpreter. However, at some point roughly 6 months or so ago the ...
0
votes
0answers
75 views

How do I install pySerial for python3, when the installer can't detect python3?

I have python 2.7 and python3.4 installed on my computer. I am trying to install pySerial on my computer through its py 3K installer. Problem is that when I run the installer, it can ONLY find python ...
0
votes
1answer
520 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 ...
0
votes
1answer
161 views

Python logging class not working when sending stdout to /dev/null

I have a Python 3 script that has logging enabled (for debugging purposes). Whenever I run/execute this script it is working fine and the logfiles are created. I've also created a setup.sh-bash ...
0
votes
1answer
422 views

Running Python scripts in Chrome on Windows 7

I would like to run Python scripts (.py files) in Windows 7 Enterprise WITHOUT downloading anything, since I am at a school library. After some research, I found some Chrome apps that CAN run Python, ...
0
votes
1answer
805 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?
0
votes
1answer
369 views

Django's dev server causes permanent high CPU load with Python 3

Django's development server runs under Python 2.7.5 (on Windows 7) with a rather constant (idle) load of about 1-3% on my test system - no page loads or other calculations done. Switching to Python ...
1
vote
3answers
561 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 ...
0
votes
1answer
465 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 ...
1
vote
2answers
173 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 ...
6
votes
2answers
909 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 ...
0
votes
1answer
979 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 ...
0
votes
0answers
209 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 ...
1
vote
1answer
349 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 ...
1
vote
0answers
442 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 ...
1
vote
1answer
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 ...
0
votes
1answer
443 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 foo@a.com, it replaces it with foo@b.com every time. My main.cf file specifies ...