Page 3 of 5 FirstFirst 12345 LastLast
Results 21 to 30 of 46

Thread: Photostory: A simple Python program

  1. #21
    Join Date
    Mar 2009
    Location
    Ireland
    Beans
    362
    Distro
    Ubuntu 12.04 Precise Pangolin

    Re: Photostory: A simple Python program

    The team can be found here:
    https://launchpad.net/~photostory-team

    Thanks for your contributions, chaps! FFK, this code is great, but I had a think about this earlier over breakfast and worked out that it doesn't really matter if there are gaps in the numbering of the photos! So your original code works perfectly...sorry!

    Anyway, I will be away for the next week at camp, so if anyone wants to add anything please post it here or to the project. Thanks!

    EDIT: Never mind, I was wrong - FKK's new code is necessary. However, it doesn't work - ind is not being decremented properly. Can you check? Also, your indentation looks a bit funny?
    Last edited by Tahakki; July 12th, 2010 at 08:49 AM.

  2. #22
    Join Date
    Apr 2009
    Location
    Canada
    Beans
    414
    Distro
    Ubuntu 12.04 Precise Pangolin

    Re: Photostory: A simple Python program

    What editor are you using? The tabbing is probably because we were using different programs. I used gedit to write that. It would be best if we used the same program for this, so which one are you using?

    Also I tested the decrement out and it did work. What did your database look like? And which did you delete?

  3. #23
    Join Date
    Mar 2009
    Beans
    927
    Distro
    Ubuntu 12.04 Precise Pangolin

    Re: Photostory: A simple Python program

    Quote Originally Posted by Tahakki View Post
    Also, your indentation looks a bit funny?
    Quote Originally Posted by Finalfantasykid View Post
    What editor are you using? The tabbing is probably because we were using different programs. I used gedit to write that. It would be best if we used the same program for this, so which one are you using?
    Mixed tabs and spaces - try to use 4 spaces for indentation according to PEP8. It might help if you set this up though gedit: Edit -> Prefernces -> Editor -> Tab Stops -> Tab width: 4, Insert spaces instead of tabs.
    Last edited by Penguin Guy; July 13th, 2010 at 06:37 PM.

  4. #24
    Join Date
    Apr 2009
    Location
    Canada
    Beans
    414
    Distro
    Ubuntu 12.04 Precise Pangolin

    Re: Photostory: A simple Python program

    Thanks I'll make sure to do that

  5. #25
    Join Date
    Mar 2009
    Location
    Ireland
    Beans
    362
    Distro
    Ubuntu 12.04 Precise Pangolin

    Re: Photostory: A simple Python program

    FFK - could you fix the code (4 spaces instead of a tab) and merge it to the lphotostory branch?

    Thanks! I see there are a few bug reports - some are fixed, some will be. Remember to make a blueprint for each feature, even the delete feature!

  6. #26
    Join Date
    Mar 2009
    Location
    Ireland
    Beans
    362
    Distro
    Ubuntu 12.04 Precise Pangolin

    Re: Photostory: A simple Python program

    [Double post, sorry.]

  7. #27
    Join Date
    Jun 2007
    Location
    Porirua, New Zealand
    Beans
    Hidden!
    Distro
    Ubuntu

    Re: Photostory: A simple Python program

    Excuse me but:

    Forum DOs and DON'Ts
    Please use CODE tags
    Including your email address in a post is not recommended
    My Blog

  8. #28
    Join Date
    Mar 2009
    Location
    Ireland
    Beans
    362
    Distro
    Ubuntu 12.04 Precise Pangolin

    Re: Photostory: A simple Python program

    Photostory != Photo Story. They do different things too.

  9. #29
    Join Date
    Mar 2009
    Beans
    927
    Distro
    Ubuntu 12.04 Precise Pangolin

    Re: Photostory: A simple Python program

    Quote Originally Posted by Tahakki View Post
    Photostory != Photo Story.
    I doubt that 'Photostory' is trademarked, it's too ambiguous a name and trademarks are usually marked with '™'.

  10. #30
    Join Date
    Mar 2009
    Location
    Ireland
    Beans
    362
    Distro
    Ubuntu 12.04 Precise Pangolin

    Re: Photostory: A simple Python program

    Indeed.

    Anyway, I'm using the Launchpad branch to add changes. Please keep checking it if you want the latest updates!

    The file chooser dialog is done and pushed, happily. Keep adding blueprints! ^_^

Page 3 of 5 FirstFirst 12345 LastLast

Tags for this Thread

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
  •