Hi,

I've just sent myself the same email that I'd previously sent to IDLE-dev and it seems to be OK. I remember that shortly after I wrote the email this morning my AVG Anti - Virus detected and isolated a Trojan. Shortly thereafter my copying and pasting from my WordPad to the email in Outlook jumped from Times New Roman to Arial for some unkown reason perhaps the Trojan was to blame...anyways, the email is below (here's hoping).



Hi Mark,

Did you try my first suggestion? If so, did you make sure to get it
working from the command line first? Even if Vista (or some other
version of Windows) has weird shortcut issues, it should definitely
work from the command line.

(To open the command line, Start -> Run -> type "cmd" and hit Return)




Hi Tal,

Couldn't wait to try your first suggestion so copied and pasted it and opened it straight from the desktop. Only just now have tried it from the command line and it works perfectly except that both double-clicking straight from the desktop and using the command line results in having that dreaded DOS window which sticks around behind the IDLE gui; is there any way to get rid of this unsightly black box (it's still haunting me).



Which version of Windows are you using?


I'm running on Windows XP and have Python 2.4 installed.

There are two further problems I'm looking at that have been, as yet, unsolved and they are the following:



1. If I were to use your suggestion and send this game to a friend in an exe how would one code the following into the exe itself so that the following code: "C:\Python25\python.exe C:\Python25\Lib\idlelib\idle.py -r C:\hilo.py" would find it's way into the shortcut's properties on their computer? How would one code it so that the shortcut would install itself onto their desktop with the above code in their "start" and "target" areas; as well as the C:\hilo.py being installed automatically instead of manually as we've done in C:\? Would an "installer builder" such as Inno Setup or NSIS do the job for you automatically? I know a friend would have to have Python installed on their computer for the game to work.



2. I've been looking for a solution for "string colouring" for ages but have had no success. The blue characters on white background in IDLE are very pleasing to the eye but occasionaly, when I run a program, I'd like to see the resulting strings that get spat out to be in different colours. For instance, in say my game hilo.py the strings " [Go higher]" or "[Go lower]" would be in different colours. How would one include string colouring in my programs/games?



Thanks for helping.

Mark


_______________________________________________
IDLE-dev mailing list
[email protected]
http://mail.python.org/mailman/listinfo/idle-dev

Reply via email to