On Nov 24, Zachary Borschuk <zachary.borsc...@gmail.com> wrote:

> Also, I am nearing completion of my personal movie info database
> using your module to gather the data.  If you would like, once I
> have a version I feel happy with sharing, ie cleaned up the code,
> I would be happy to send you a copy of it for your own use and
> modification.

Good!
If you decide to let it be available to the public, let me know
so that I could include it in the list of IMDbPY-based projects.

> Let me know if you have any suggestions.

I notice that some strings (like runtime information) still
contain the '::' separator, used by IMDbPY.
In the imdb.helpers module there is the makeTextNotes function
that can be used to nicely handle these strings.

E.g.:
        from imdb.helpers import makeTextNotes
        my_pretty_strings = '%(text)s<if notes> [NOTE: %(notes)s]</if notes>'
        prettify = makeTextNotes(my_pretty_strings)

        info = 'Germany:78::(cut version)'
        print prettify(info)


The above is just a simple example, but it can be quite useful,
if you're building HTML links or somthing like that.


Bye!
-- 
Davide Alberani <davide.alber...@gmail.com> [GPG KeyID: 0x465BFD47]
http://erlug.linux.it/~da/

------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus on 
what you do best, core application coding. Discover what's new with
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
_______________________________________________
Imdbpy-help mailing list
Imdbpy-help@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/imdbpy-help

Reply via email to