08-10-2009, 11:45 AM | #1 |
Connoisseur
Posts: 51
Karma: 10
Join Date: Jul 2009
Device: BeBook
|
Python 261 In Windows Problems
Hi:
I am new to python and was wondering if I could get some help from someone who has successfully used it under Windows. I am running Windows XP SP3 I have downloaded and installed Python 261 into the default C:\Python26 directory. I added C:\Python26 to my WIndows Path. I have downloaded a script which I placed in the C:|python26\Tools\Scripts directory. I am not sure if that is where I should have placed it or not. If someone could private message me here or to my email address jwsheets@comcast.net, with a little advice I would greatly appreciate it. jwsheets |
08-10-2009, 12:40 PM | #2 |
Which book will be next ?
Posts: 661
Karma: 2172
Join Date: Jan 2009
Location: France
Device: Cybook Gen3 1.5, Sony PRS 600 RC, Samsung Omnia...
|
I have Vista personally, but I think it's the same here.
I put my scripts directly in the Python26 folder, so I open a command window on this folder. Then I tape Code:
Pythonw NameOfScript.py It works so far ! |
Advert | |
|
08-11-2009, 03:23 AM | #3 |
Junior Member
Posts: 3
Karma: 10
Join Date: Aug 2009
Device: iphone
|
Hi, all. Just joined this place. I've used Python successfully before. Now installed it on a different pc and tried running a script. I get the following message -
can't find' __main__py' Any help about that would be appreciated |
08-14-2009, 09:08 AM | #4 |
Connoisseur
Posts: 51
Karma: 10
Join Date: Jul 2009
Device: BeBook
|
Check that the python directory is listed in your c:\Path list. You may have to manually add it. Sometimes, on some computers, the directort=y isn't added during install.
|
Thread Tools | Search this Thread |
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
how to use python script with windows xp | tuufbiz1 | Other formats | 12 | 01-08-2011 08:22 AM |
Problems with 0.7.15 (Windows/7) | cloggy | Calibre | 7 | 08-22-2010 03:05 PM |
January 2010 US ebook sales up 261.2% | pdurrant | News | 35 | 03-31-2010 11:29 PM |
using python with windows xp | tuufbiz1 | Kindle Formats | 10 | 05-05-2009 11:53 PM |
GUI Frontend for python scripts [windows] - seeking mod input first | sherman | Workshop | 7 | 04-27-2009 01:04 AM |