Register Guidelines E-Books Search Today's Posts Mark Forums Read

Go Back   MobileRead Forums > E-Book Formats > Kindle Formats

Notices

Reply
 
Thread Tools Search this Thread
Old 08-10-2009, 11:45 AM   #1
jwsheets
Connoisseur
jwsheets began at the beginning.
 
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
jwsheets is offline   Reply With Quote
Advert
Old 08-10-2009, 12:40 PM   #2
Idoine
Which book will be next ?
Idoine knows what time it isIdoine knows what time it isIdoine knows what time it isIdoine knows what time it isIdoine knows what time it isIdoine knows what time it isIdoine knows what time it isIdoine knows what time it isIdoine knows what time it isIdoine knows what time it isIdoine knows what time it is
 
Idoine's Avatar
 
Posts: 662
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
followed by the parameters if demanded.
It works so far !
Idoine is offline   Reply With Quote
Old 08-11-2009, 03:23 AM   #3
Frina
Junior Member
Frina began at the beginning.
 
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
Frina is offline   Reply With Quote
Old 08-14-2009, 09:08 AM   #4
jwsheets
Connoisseur
jwsheets began at the beginning.
 
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.
jwsheets is offline   Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Forum Jump

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


All times are GMT -4. The time now is 06:11 PM.


MobileRead.com is a privately owned, operated and funded community.