[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

Re: [pygame] Python cant read



This did the trick for me:

1. Create a file named 'python.bat' with contents:

D:\Programs\Python\python.exe %*

(edit the path so it points to your python installation)

2. Place the file (python.bat) into C:/WINDOWS/system32/

On Thu, Nov 13, 2008 at 6:54 PM, Matt Pearson <jestersbong@xxxxxxxxx> wrote:
> I sent out a problem about python not being able to read scripts inside of a
> folder
> well i forgot alot of details, forgive me, Im using Geany as an IDE and the
> command
> prompt is telling me this when i try to execute.
>
> 'python' is not recognized as an internal or external command, operable
> program or
> batch file.
>
> it wil read files if teh scripts and images are in the python folder with
> the exe and the DLL
> This is really hampering my production flow and organization, i have no idea
> why its doin it
>
> Thanks again