View Single Post
Old 06-02-2014, 12:08 PM   #2756
JimmXinu
Plugin Developer
JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.
 
JimmXinu's Avatar
 
Posts: 7,025
Karma: 4604635
Join Date: Dec 2011
Location: Midwest USA
Device: Kobo Clara Colour running KOReader
I agree that Python is a nice language.

And I'll admit that FFDL isn't necessarily a great project to learn python with because a lot of FFDL reflects my personal C/Perl/Java background and isn't properly 'pythonic'. It's the project I learned python on.

Quote:
Originally Posted by cryzed View Post
That reminds me: Is there any reason why you are not updating the BeautifulSoup version Jimm? All the changes should be backwards-compatible and the new BeautifulSoup 4 has some new useful features and is more pythonic generally.
I recall two reasons off hand: the version that's included in FFDL has been mildly modified and newer versions are packaged--they have to be installed via pip or equivalent into the python environment. Neither the user or I have control of the python environment in calibre or in the web service version.

So I've stuck with what I know works rather than try to work around proper packaging of new BeautifulSoup versions to include it directly.
JimmXinu is offline