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

Re: [pygame] Help with the 3rd Lecture, first tutorial



I am thoroughly confused at this point. I guess I need to change the path. You guys really are nerds, goddamit!

On 10/31/07, RR4CLB < chester_lab@xxxxxxxxxxxx> wrote:
Hi Both!

    I also downloaded it and it is an easy way to get to folders from the desk top. FOr if I have Python25 folder on my desk top then I click on it. Then go to the examples folder and hit the context menu key. It is a nice way to do it and quick.
    Also to have the least amount of work then he can make up a batch file for the loading of Python25 or run a program using it.

Batch file:
Either copy the text and paste it into Notepad or
type: copy con: P.BAT <enter>
Type and hit enter at the end of each line:
@echo off
python25 %1.py %2 %3 %4 %5
ctrl Z <enter>

    Now this will keep you in that directory and I used just the letter P for the name so you only enter the least number of chars for a quick run.
        Bruce

Close any currently running Windows Command Prompts (the environment is
setup when the shell is started) and then download the 'Open Command
Window Here' PowerToy from Microsoft on this page:

http://www.microsoft.com/windowsxp/downloads/powertoys/xppowertoys.mspx

and install it. It adds a context-menu (right-click) item 'Open Command
Window Here' to the Windows Explorer (not IE).

Now, using the Windows Explorer, navigate to the
'C:\Program Files\examples\' directory, right-click on it and select
'Open Command Window Here'. This should open a Windows Command Prompt with
the current directory set to the examples directory.

I find this invaluable, but that might just be me.