Results 1 to 5 of 5

Thread: Python Question

  1. #1
    Join Date
    Jul 2005
    Location
    North Carolina
    Beans
    91
    Distro
    Ubuntu 6.10 Edgy

    Question Python Question

    Hi all, I have been working on a media player for some time now, and wanted to butt some heads on something i'm thinking of implementing. Basically, auto update. I have no questions at all on how to actually implement it, I just want some advice from more of a design perspective.

    1st idea:
    Use gksudo, a setuid script, etc (not sure on windows) to poll a server and fetch updated python sources before the application loads.

    2nd idea, and kind of dramatic:

    Program ships with the most up-to-date code. PYTHONPATH will have ~/.nemo/runtime as part of its search path and load code from there. when the updater runs, it downloads updated modules to that location.

    I see pros and cons with both approaches, and wanted some opinions.

  2. #2
    Join Date
    Jun 2006
    Location
    Gwangju, Korea
    Beans
    3,479

    Re: Python Question

    If you can use either the package versions that are available by default or persuade your users to enable a repository containing updated packages, you'll save yourself a headache, I suspect.

  3. #3
    Join Date
    Jul 2005
    Location
    North Carolina
    Beans
    91
    Distro
    Ubuntu 6.10 Edgy

    Re: Python Question

    The player is designed to work with windows also

  4. #4
    Join Date
    Jul 2007
    Beans
    28

    Question Re: Python Question

    Quote Originally Posted by moberry View Post
    The player is designed to work with windows also
    Your player will be public? How can I test it?
    (Using Ubuntu).

    Thanks

  5. #5
    Join Date
    Jul 2005
    Location
    North Carolina
    Beans
    91
    Distro
    Ubuntu 6.10 Edgy

    Re: Python Question

    It will be yes, although I'm not quite ready to let people start playing with it right yet. I need a couple major things finished, and to write some documentation on how to write plugins.

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •