Python is an interpreted, general, high-level programming language. The design emphasizes readability. It is notable for using tabs to indicate block levels. As a dynamic language, it shares many similarities to Ruby, Perl, and Scheme. The language is very popular for scientific computing and ...

learn more… | top users | synonyms

0
votes
0answers
11 views

Auto-generating moinmoin pages based on docstrings comments

I am looking for a way to auto-generate pages for a moinmoin wiki based on docstrings found in python source code. Our current scenario is: User writes page on the wiki describing $PROCESS, ...
0
votes
1answer
28 views

Appropriate place to store custom Python modules on Linux

I am trying to understand where and how are Python packages installed and stored on Linux and find the best location to store them. My repo is Debian Wheezy. I would like to store all my custom ...
0
votes
1answer
26 views

Ubuntu KVM failed to set up

I'm trying to set up a VM with KVM on my Ubuntu 12.04 machine (64 bit). I followed the installation instructions to the letter at http://www.howtoforge.com/virtualization-with-kvm-on-ubuntu-12.04-lts ...
0
votes
0answers
19 views

Security flaw through python broken installers?

Yesterday I wanted to install a program which is not shipped with the distribution (Fedora), nor available as rpm on its website. But since the program is not using autotools for generating the ...
0
votes
1answer
37 views

How to call python script in other folder without prepending `python`?

I have a small (self-written) python script located in, let's say, C:\dummy\myscript.py. In my Windows 7 terminal, I can call this script with either one of the following three commands. They all ...
0
votes
0answers
45 views

Pandasql installs in 2.7 folder but can't be seen from ipython (uses Python 3.3)

have Python 2 and Python 3 installed on my system. By default, when I go into ipython it uses Python 3 I can use packages like pandas fine. however I installed pandasql pip install -U pandasql The ...
2
votes
2answers
97 views

Software to use a spare monitor as a personal dashboard with custom data feeds? [closed]

I'm looking for anything that would allow me to use my third monitor for some neat data visualization. Ideally this would be running full screen, with focus on really nice aesthetics. I'm planning to ...
1
vote
1answer
52 views

Python IDLE won't launch - (Using MAC 10.8.5 /Python and UNIX noobie)

Months ago, I installed Python 2.7 on my MacBook Pro (OS 10.8.5) and was using IDLE to run programs for classes I was taking on Udacity. One morning IDLE would no longer start, it would just bounce ...
0
votes
0answers
50 views

how to fix syntax error at (eval 1) line 1, near “.” if I can't open .dqm file to check what's wrong with it?

Input archives found - extracting Fetch qm files... Thu Feb 13 16:35:56 ICT 2014 # qm files found: 2 Entering mega_rename Thu Feb 13 16:35:56 ICT 2014 ---------------------- Renaming 2 files '.dqm' ...
0
votes
1answer
75 views

Macports refuses to install python 2.7.6.0

I'm trying to upgrade various programs I have installed with MacPorts. Unfortunately, python refuses to upgrade: ---> Computing dependencies for python27 ---> Configuring python27 Error: ...
0
votes
2answers
37 views

How do I install easy_install?

I am doing a project for a class in Python and I am a very inexperienced programmer and terrible with computers. Is there a simple way to install easy_install so I can use the classes from the ...
0
votes
0answers
27 views

Can't run sylkserver from AG project

I just installed Sylkserver like this instruction. http://sylkserver.com/download.phtml I use apt-get to install everything and also use default config file. When I use sudo /etc/init.d/sylkserver ...
0
votes
0answers
203 views

Win32_IP4RouteTable Class Failure

I've written a Python script which accesses the Win32_IP4RouteTable with the following: import wmi import socket ip = socket.gethostbyname(socket.gethostname()) rt = ...
1
vote
1answer
37 views

Can I update pycharm intellisense for python?

I want to know if it's possible to update Pycharm intellisense for python which doesn't care about capital or normal letters? It's a pain in the neck to try both each time. Currently I'm using pycharm ...
0
votes
1answer
310 views

How to automate Checkpoint firewalls rules implementation?

I HATE CP with a passion beyond belief... I mean, why, WHY you couldn't include a command line interface that allows me to grep a CSV file in which I'm requested rules, format them properly and then ...
0
votes
1answer
62 views

I want to automate IT tasks and wonder if Python is a good choice [closed]

I am a beginner in programming, mainly toying around with Python and Java at the moment. I want to get a little further and many suggestions reasonably encourage finding ways to implement the language ...
0
votes
2answers
64 views

Windows 7 how to display proper icons

I am running windows 7. I have the default program for .py files set to the python.exe. If I double click a .py file it will launch correctly with python. But in the windows explorer the icon next ...
0
votes
1answer
55 views

Should I use Python or C for a language interpreter? [closed]

I'm planning on writing a language interpreter for a custom language of mine. The language will work similarly to PHP in that it will be run off of a web server and the code will be executed in the ...
1
vote
2answers
38 views

To install and use Django 1.4.1 without sudo access

I want to install this software to a server where I have no sudo access. They have Django 1.2.x installed there, but the software needs Django 1.4.1. The server has the adapter between Python and ...
2
votes
1answer
139 views

Python2.7 yum module

I have a virtual machine running centos 5.8 and I just installed python2.7 because I was having some issues with import simplejson as json. After installing python2.7 and running ansible roles I have ...
0
votes
1answer
34 views

Watch a filesystem and rsync changes in a cross-platform way with minimal dependencies

I'd like to start a long-running Ruby or Python script, and have the script watch a local directory for changes to files and new files. Periodically, the script will trigger a one-way rsync to a ...
2
votes
1answer
507 views

OpenSSL issue when installing scrapy on Python on windows

I have switched to 32 bit installers for Python Scrapy (After failing to install the 64 bit installers for scrapy to work). Followed the steps mentioned here. This is the log when I run the ...
1
vote
0answers
95 views

Pycharm community: how to revert to previous version (uninstall 3.0.2 patch which breaks Terminal plugin)

Is there a way to undo pycharm patch installtion and downgrade from 3.0.2 to 3.0.0 ? JetBrains web page under previous versions shows only 2.X branch and it's not clear where to get original 3.0.0 ...
0
votes
0answers
7 views

Command to open file in WingIDE at indicated line

I can say: /usr/bin/wing4.1 /tmp/a.py and Wing IDE will open that file. However, I would like to have it open with cursor at specified line, sort of like vim /tmp/a.py +20 opens the file at line ...
0
votes
0answers
9 views

Generating ID#'s in GIS attribute table

In the attribute table within GIS, I have a certain column with ascending values, and I want to assign ID numbers (for easier readability and display) to a corresponding column. So for instance: Feet ...
0
votes
1answer
52 views

Which IDE is best to use VIM 7 or VS2012 for python? [closed]

As I'm a very beginner in OOP in Python . It is very hard to find the best IDE, I searched a lot then I came up with two suggestions Vim and Visual studio 2012,although both require some plugins to ...
0
votes
0answers
51 views

Got requests.exceptions.SSLError error when running googleplay-api

I want to share my experience on the problem, so this is sort of a self-answered question. Hope it helps. I'm trying to use googleplay-api to download apks from Google Play. My network environment ...
0
votes
0answers
38 views

Running pywin32-218.win32-py2.7.exe results in error “The file exists”

I am trying to install the Python module, win32, downloaded from source forge but whenever I run the exe file (pywin32-218.win32-py2.7.exe) I get the message : The file exists Could not create ...
0
votes
0answers
18 views

How to setup GIMP add-ons

I'm trying to setup androidicon.py file after I downloaded it from internet. but I can not find the menu such "Android Icon batch mode" and "Android Icon" even though I reboot it. What I did as ...
0
votes
0answers
142 views

Python 2.7.6 Installation Error on Windows 7 32bit

I'm trying to install Python 2.7.6 on a HP-Mini 210 Netbook just to run some simple tasks. I get the following error when the installer is doing "Status: Publishing Product Information" I am trying ...
0
votes
1answer
84 views

Transpose data at particular row w python,r,sql?

Lets say I've got following data (about 50k of rows in real example) A B C D E X A B C D E F G H X And I want it to look A,B,C,D,E,X A,B,C,D,E,F,G,H,X So technically I want to transpose ...
0
votes
1answer
28 views

IntelliJ IDE: How to add one or more margins

I like PyCharm a lot. I write a good chunk of python for my job. I want to conform to PEP8 and it's line length suggestions as best as possible. Having right margins for 72 characters, 79 characters, ...
1
vote
0answers
3 views

Nautilus, Ask for confirmation when moving files

I need Nautilus to ask for confirmation when moving files from one folder to another. Is it possible to set this up? I guess I need something that listens to moves.
1
vote
1answer
217 views

Installing python pymssql

I am trying to install pymssql with no luck: pip install pymssql Downloading/unpacking pymssql Downloading pymssql-2.0.1.tar.bz2 (1.9MB): 1.9MB downloaded Running setup.py ...
0
votes
1answer
94 views

How to make NppExec show script-created windows?

I am trying to run a Python script with NppExec. It runs fine (the console is updated with whatever I print to stdout in the script) but the window the script creates (through PyQt) never shows up. If ...
0
votes
1answer
51 views

Is giving myself write permission on my Python `site-packages` directory a way to avoid `sudo pip` risks?

I understand that there are security risks involved in installing pip under sudo, but for various reasons I would like to continue installing my packages in site-packages (on OSX 10.9), which ...
0
votes
0answers
53 views

running PyInstaller as root for packaging on linux(Debian)

I'm trying to install pyinstaller in Debian Wheezy(currently running as root). but, it's not possible to run it under root. Is there any solution in running pyinstaller as root? If you have any ...
0
votes
1answer
25 views

How do I add a custom plugin to Nagios?

The Nagios documentation seems to go out of it's way to obscure this basic piece of information. I'm finding bits and pieces of the answer all over the web for the past couple hours. Either I can't ...
1
vote
1answer
54 views

vim - how to treat three quotations in a row as a comment rather than a string

I use python and in python, three quotation marks in a row """ or ''' signify a block-comment, and a normal comment is just a hashtag. (#) I want comments to be colored grey and strings to be ...
0
votes
2answers
52 views

Why can't I remove some files in Windows(7) from a python script?

In Windows, some files, when tried to remove raises a WindowsError. The reason why I posted this here instead of SO is because the scripting side is less relevant than OS level permissions (script ...
0
votes
0answers
273 views

screen: Must be connected to a terminal

I am running a Java program, and with the Java program, I run a Python script. The python script (with subprocess.Popen) runs the command screen -x hg1 -X stuff "jsp sign edit status1 2 test line ...
0
votes
0answers
10 views

Flag to get all the selected items as arguments while editing right click menu in windows xp

I edited the right click menu in windows xp and executing a python file for the selected files. Basically I was following this... http://sbirch.net/tidbits/context_menu.html I was wroking on ...
0
votes
0answers
119 views

Running Python Code Remotely

I have the following situation: I want to write and debug python code in my Laptop with public IP Then send it to some remote desktop(with private IP) in my University for running the code that will ...
0
votes
0answers
35 views

Stanford Wrangler ideal, but imposes limits, what are other options?

Stanford Wrangle tool is quite amazing, and I solved a giant problem with it, but it limits me to very small size. My file is about 500MB, and it allows me to process less than 1MB, the remaining data ...
0
votes
0answers
127 views

Python how to install the itertools module on Debian

I am new to Python. I wanted to try out the itertools package from Python. But I got the error: NameError: global name 'itertools' is not defined How to resolve this error? Do I need to install this ...
1
vote
2answers
57 views

Installing vips for python on Windows

I've downloaded VIPS from from http://www.vips.ecs.soton.ac.uk and I have extracted the ZIP file on my machine and added the \bin directory to my PATH. I am trying to import the vipsCC library into ...
1
vote
0answers
88 views

Installing pymedia on OSX

Trying to install the most recent version of pymedia available at sourceforge. python setup.py install I get the error: In file included from sound/sound.cpp:33: sound/audio_unix.h:29:10: fatal ...
2
votes
0answers
37 views

Moving python modules across computers

I'm going to be getting a new laptop running 64-bit Windows 7. On my current 32-bit Windows XP laptop, I have a large number of python modules in the site-packages folder that I want on the new ...
1
vote
1answer
78 views

IDA PRO help — automation command line flags

I am trying to run IDA Pro (full version) remotely through a linux terminal as to automate the analysis and output process. I know there are plugins such as IDAPython and there is the use of the flags ...
1
vote
1answer
72 views

How can I write an .odt programmatically?

I would like to write an .odt file programmatically e.g. include figures from a directory or use different style writing code (like a LaTeX document). I wonder how can I compile an .odt file and, if ...