pmutale / prettytable

Automatically exported from code.google.com/p/prettytable
Other
0 stars 0 forks source link

Tutorial requires revision #16

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
The tutorial on the Wiki is out of date. Atleast:

        x.set_field_align("City name", "l")

should be:

        x.align["City name"] = 'l'

There may be others too.

Cheers!

Original issue reported on code.google.com by vex...@gmail.com on 10 Aug 2012 at 2:03

GoogleCodeExporter commented 8 years ago
The padding attribute also.

Original comment by vex...@gmail.com on 10 Aug 2012 at 2:09

GoogleCodeExporter commented 8 years ago
Just noticed the tutorial06 page.

Perhaps rename 'tutorial' to 'tutorial-old' so that others dont make the same 
mistake.

Cheers

Original comment by vex...@gmail.com on 10 Aug 2012 at 2:19

GoogleCodeExporter commented 8 years ago
Also, the new tutorial mentions a printt() method, which does not appear to 
exist in the newest release (0.6).

Original comment by vex...@gmail.com on 10 Aug 2012 at 2:34

GoogleCodeExporter commented 8 years ago
You're right, the tutorial page is looking pretty sad these days.  The plan was 
(or still is, I guess), to get the 'tutorial' page fully up to scratch and then 
delete the 'tutorial06' page so there's no confusion, but I've  been lazy about 
it.  I'll try to get the 'tutorial' page up to date in the near future.  Thanks 
very much for pointing out specific shortcomings, that will make it a quicker 
and easier task!

Original comment by luke@maurits.id.au on 20 Aug 2012 at 3:58

GoogleCodeExporter commented 8 years ago
I have just extensively updated the Tutorial page after releasing PrettyTable 
0.7, and completely deleted the old Tutorial06 page to make future confusion 
impossible.  The new Tutorial page *should* be free of all references to old 
<=0.5 syntax.

Original comment by luke@maurits.id.au on 17 Feb 2013 at 8:13