-1
votes
0answers
3 views

Import error for Ouath [migrated]

I am using Python on windows having working the same code it was working fine now it has suddent change for the updating the programme I found the error ImportError: cannot import name ...
0
votes
0answers
40 views

How to change '.py' file from 'PY File' to 'Python File' in Windows? [duplicate]

I want to implement drag and drop of files onto a Python3 script. I noticed that my Windows7 64bit does not recognize '.py' as 'Python File' but as 'PY File' (Windows is just capitalizing the file ...
0
votes
1answer
29 views

How to add a color scheme to PyCharm?

I downloaded the IDLE-like color scheme from here. However, I can't find where to install this for use with PyCharm on Windows 7?
0
votes
0answers
49 views

How to convert 'c' program into python module

I want a program that can encrypt/decrypt a file on windows 7 using xxtea which is a fixed up version of tea. I found that google has such a system at ...
0
votes
1answer
42 views

Windows refuses to “Open with” python.exe

I was doing some messing around, trying to install some new python-oriented things, when some how I did something that caused .py and .pyw files to be disassociated with python.exe. I was meaning to ...
1
vote
0answers
124 views

Looping on image2pipe with FFMPEG

I have a Python program that generates images at various intervals. I'd like to be able to create a streaming video of each image as it appears. Previously I was using an ffmpeg command like ffmpg ...
0
votes
0answers
246 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 = ...
0
votes
1answer
123 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
137 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 ...
2
votes
1answer
1k 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 ...
0
votes
0answers
217 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
2answers
132 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 ...
2
votes
0answers
48 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 ...
0
votes
1answer
100 views

How to add “create a new python file” to the registry [duplicate]

I have Python 3.2 on a windows 7 operating system. The other day I thought that it would be convenient to add a link to create a new .py file in the right hand click "new" menu. I had worked with the ...
0
votes
1answer
123 views

How to set file association in Windows Explorer?

I have installed the Canopy Python package, and when I double-click a python file it opens the Canopy editor. I want clicking the file to run it, not edit it. I have changed the file properties to ...
0
votes
0answers
50 views

enqueue files to playlist in winamp with python

I am trying to get python to enqueue music files into Winamp. I have tried the following: pywinamp some functions work, but add to playlist doesn't WACommand Again some command line switches ...
1
vote
0answers
106 views

File written by Python on Windows 7 does not have expected permissions

I'm using a python module to write a file on Windows 7. When I Rightclick->Properties->Security on the file I see that: Everyone, me and None have Special permissions. System and Administrators have ...
0
votes
1answer
650 views

Changing Windows 7 PATH avriable [duplicate]

I saw this question and answer but this is not working for me. I am following Python tutorials. There is a section that requires me to change the path variable. I used the instructions in the command ...
0
votes
0answers
754 views

running a python script as Administrator in Windows

I have this small Python function: def change_boot(self): subprocess.call(['runas', '/user:Administrator','bcdedit'], shell=True) However it keeps asking for the admin password ... how ...
0
votes
1answer
137 views

Python changed Windows drive from C: to D: and broke windows

I installed bunch of python tools to run on windows command line and when i restarted the system C drive became D drive and D drive became C drive. When the computer was restarting it was deleting ...
0
votes
2answers
347 views

Failed to install pyglet with python3

I am using Windows 7 and I have installed Python 3.3. I've downloaded pyglet-1.1.4.msi from www.pyglet.org, but when installing it, it tells me that: pyglet requires Python 2.4 or later. The ...
0
votes
1answer
468 views

Python program starting on start-up?

I want to make a python program run on startup and stay running in the backgorund in a manner that would allow me to access it at any time? I found some articles on how to make it run in the ...
0
votes
1answer
138 views

Renaming PATH variable without changing the file name

I want to add shortcuts for Python 32bit and 64bit to the PATH directory for the command line, one as python-32 and the other as python respectively. What's the easiest way to do this? I have added ...
0
votes
3answers
208 views

forcing windows 7 not to open python script executables (specificaly pip an IPython) in a new popup cmd window

Meaning that when I run from the command line something like: Ipython or pip install somelib windows runs them in a new cmd window instead of in the current window. therefor if there is an error ...
1
vote
1answer
1k views

Python installation error (1fc8b3b9a1e18e3b)

I am trying to install Python but I'm running into following error: An Error occurred during the installation of assembly Microsoft.VC90.CRT, version="9.0.21022.8" publicKeyToken="1fc8b3b9a1e18e3b", ...
1
vote
1answer
338 views

How to remove Python from System32?

For some reason there is an unrecorded installation of Python on my System32 folder. I can say that that is the case because I can see these files on my System32 folder. The problem is, I'm not ...
1
vote
1answer
485 views

Installing mod_wsgi on WAMP server running on Windows 7

I downloaded mod_wsgi from the following location for apache 2.2 and python 2.7. (I'm trying to get django to run on my computer). Whenever I add the following line: LoadModule wsgi_module ...
1
vote
1answer
2k views

Google Data (Python) library not installing correctly?

I'm following the directions here to get some example code up and running using Google's API to write to a spreadsheet and I don't think gdata is installing correctly. When I run python setup.py ...
0
votes
1answer
1k views

Passing arguments to a Python script: file association not found. Windows 7 on iMac

If I execute my script by: C:\Windows\System32>python C:\Code\Test.py XXX It takes the argument but if I execute script by: Test.py XXX error occurs: IndexError... So arguments do not pass to ...
0
votes
2answers
189 views

Windows does not see my command line arguments

C:\Users\Drew Gross\Documents\Projects\Batadase\src>django-admin.py startproject batadase Usage: django-admin.py subcommand [options] [args] Options: -v VERBOSITY, --verbosity=VERBOSITY ...
1
vote
2answers
457 views

Installing Trac on Windows

I am new to project management and I have no idea about Python. Now, I want to setup the Trac program. I read the installation process on their web site, but I could not understand it. Can you help ...
1
vote
3answers
526 views

running python script in gvim with conqueterm

I am trying to configure vim to run a python script inside a buffer. I tried conqueterm, and I manage to get what I want when I type this command: :ConqueTerm python -i test.py Now I want to bind ...
0
votes
1answer
596 views

cygwin and python just don't work?

I've tried using the current version of cygwin python, but attempting to use pip or easy_install results in an error message about being unable to load DLLs (I won't reproduce it here because I ...
2
votes
1answer
286 views

How do I troubleshoot a large discontinuity in memory usage on Windows 7?

I'm doing some serious performance testing on the binary file parser I'm writing at work. After implementing multiprocessing to greatly speed up parsing, I turned to focus on reducing the memory ...
7
votes
5answers
2k views

How do I change the file association to a program with the same name in Windows 7?

Windows 7's file association controls have been "simplified" and now I appear to be unable to change the default association of a file (in my case a Python script) to a different executable. If I ...
4
votes
1answer
3k views

Windows 7 : Prevent computer from sleeping while there is network traffic

I have a python script that is downloading data on a remote computer. I want to prevent the computer from going to sleep as long as the data download is in progress. However if the program ...
1
vote
1answer
2k views

Python to Windows command prompt interface

Is there a way I could send commands to Windows command prompt Python? What I am looking to do is make a Python app on the desktop which receives commands through sockets from another computer/mobile ...
1
vote
1answer
989 views

Can not make work python in windows 7 64 bits

Tried installing python 3.13 64 bits, 3.13 32 bits and 2.7 64 bits. But none of them seems to work. Both 3.13 after installing it I run python.exe and it shows: Fatal Python error: Py_Initialize: ...
5
votes
2answers
8k views

How can I set up the python environment variable on Windows 7?

I would sure like to be able to type "python" on my command line instead of C:\Python27\python.exe. So to that end I'm trying to get the environment variable set up for myself. Problem is, I can't ...
1
vote
1answer
1k views

Python Won't Install On Windows 7

I'm trying to install Python on my Windows 7 (64-bit) - AMD Sempron Machine. I downloaded the 3.1.2 Windows X86-64 installer. After running it and selecting the option to install it for all users, the ...
3
votes
1answer
8k views

How can I run python scripts on Windows?

I'm new to Windows 7 and with my Python installation. When I specify script.py in cmd.exe and hit Return/Enter, instead of executing the python file, I am given an error message (sth like "not a ...