You are here

Help with Portable Python

5 posts / 0 new
Last post
bill_gagliardi
bill_gagliardi's picture
Offline
Last seen: 2 weeks 6 days ago
Joined: 2008-11-05 22:44
Help with Portable Python

I've decided to update Python to the lastest version, using the files from PortablePython.com (I've already asked and received permission). However, I've run into a problem. In the official IRC channel, someone pointed me to a part of the documentation, I missed.

I've looked at the Python Portable from both tanisthalon & TaffinFoxcroft. Here's my problem, in both cases, they have 2 launchers that can be launched, but only 1 is listed in the appinfo.ini. This makes the PA Menu, not display it right.

From the help I got in IRC, I've modified the [Control] section of the appinfo.ini to the following:

[Control]
Icons=2
Start=PythonPortableIDLE.exe
Name1=Portable Python - GUI
Start2=PythonPortableCommandLine.exe
Name2=Portable Python - Command Line

This seems close, but not right. With this, the command line version launches correctly, but the gui version does not. Also, there is no icon for the gui version. What am I screwing up?

Ken Herbert
Ken Herbert's picture
Offline
Last seen: 23 hours 16 min ago
DeveloperModerator
Joined: 2010-05-25 18:19
Should be like this I

Should be like this I believe:

[Control]
Icons=2
Start=PythonPortableIDLE.exe
Start1=PythonPortableIDLE.exe
Name1=Portable Python - GUI
Start2=PythonPortableCommandLine.exe
Name2=Portable Python - Command Line

bill_gagliardi
bill_gagliardi's picture
Offline
Last seen: 2 weeks 6 days ago
Joined: 2008-11-05 22:44
Sweet! Almost fixed

Thanks for that winterblood. Now the gui will run, but it still has no icon in the menu. How would I fix that?

Bill G.
Frozen St. Paul, MN
land of the frozen mosquito

Ken Herbert
Ken Herbert's picture
Offline
Last seen: 23 hours 16 min ago
DeveloperModerator
Joined: 2010-05-25 18:19
You need to have the base

You need to have the base appicon.ico, appicon_16.png, appicon_32.png PLUS appicon1.ico, appicon1_16.png, appicon1_32.png for the executable defined in Start1 and appicon2.ico, appicon2_16.png, appicon2_32.png for the Start2 executable.

bill_gagliardi
bill_gagliardi's picture
Offline
Last seen: 2 weeks 6 days ago
Joined: 2008-11-05 22:44
Got it...

Thanks again winterblood. Smile

Bill G.
Frozen St. Paul, MN
land of the frozen mosquito

Log in or register to post comments