Creation shortcut on desktop

Hi all,

I want to create automatically from a python program (A menu) a shortcut of itself on the desktop.
My customers use WinXP and Linux Mandriva.
Is somebody have an idea or a solution (better) ?...

Friendly.

···

--

Hugues JEAN-BAPTISTE (hjb@agorinfo.fr)
AGORINFO S.A.S. (http://www.agorinfo.fr)

Hello Hugues,

Thursday, May 11, 2006, 1:38:04 PM, you wrote:

Hi all,

I want to create automatically from a python program (A menu) a shortcut
of itself on the desktop.
My customers use WinXP and Linux Mandriva.
Is somebody have an idea or a solution (better) ?...

Friendly.

You could use Tim golden's winshell to do it under Win:
http://tgolden.sc.sabren.com/python/winshell.html

A short and easy 5-liner for creating a shortcut is found under the
link above.

BTW: TIm Golden has always been a valuable resource to win-specific
python-ing...

···

--
Best regards,
the_shelter mailto:pdftex@the-shelter.de

the_shelter wrote:

Hello Hugues,

Thursday, May 11, 2006, 1:38:04 PM, you wrote:

> Hi all,

> I want to create automatically from a python program (A menu) a shortcut
> of itself on the desktop.
> My customers use WinXP and Linux Mandriva.
> Is somebody have an idea or a solution (better) ?...

> Friendly.

You could use Tim golden's winshell to do it under Win:
http://tgolden.sc.sabren.com/python/winshell.html

A short and easy 5-liner for creating a shortcut is found under the
link above.

Cool!

Some Linux distros are starting to distribute a command-line tool that can make desktop and/or menu links for you (I think it is part of the freedesktop.org initiative.) Unfortunately I don't have the details with me currently to let you know more about it, but maybe this will give you something to search for.

···

--
Robin Dunn
Software Craftsman
http://wxPython.org Java give you jitters? Relax with wxPython!