The one example I specifically remember was this one http://code.activestate.com/recipes/532908-text-to-pdf-converter-rewrite/ - I happened to be looking for a simple pdf utility and this one was well reviewed. I subsequently have been told that the parts that 2to3 had trouble with were bad practice to begin with - but what do I know. Most of the other examples 2to3 converted (once I discovered it existed and how to use it in my setup) or I was able to decipher myself.
I’ll take a look at your tutorial - thanks. Jon Paris jon.f.pa...@gmail.com On Jul 21, 2015, at 1:35 PM, Alan Gauld <alan.ga...@btinternet.com> wrote: > Forwarding to group, please use Reply All when replying to the group. > > On 21/07/15 14:27, Jon Paris wrote: >> Just about everywhere I had looked Alan! >> >> I had figured out the print() bit pretty early on but some other things were >> more problematic - particularly when 2to3 basically just added commented >> names that effectively said to fix it manually. I subsequently found out >> that the original example (a praised published example) was using poor V2 >> coding practice and that that was the main reason that 2to3 couldn’t convert >> it. > > Name some names. > It's hard to guess without seeing examples. > > >> I guess I had just hoped that there were one or two sites that had taken the >> step of converting V2 examples or at least specialized in V3 examples. > > Some tutorial sites (including mine) have v3 versions. But libraries take > longer to update, > especially since writing documentation tends to be a non-favourite job... > > Some libraries, such as Pillow, should be v3 since it was largely motivated > by v3. > > -- > Alan G > Author of the Learn to Program web site > http://www.alan-g.me.uk/ > http://www.amazon.com/author/alan_gauld > Follow my photo-blog on Flickr at: > http://www.flickr.com/photos/alangauldphotos > _______________________________________________ Tutor maillist - Tutor@python.org To unsubscribe or change subscription options: https://mail.python.org/mailman/listinfo/tutor