Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Tutorial requires revision #16

Closed
GoogleCodeExporter opened this issue Sep 25, 2015 · 5 comments
Closed

Tutorial requires revision #16

GoogleCodeExporter opened this issue Sep 25, 2015 · 5 comments

Comments

@GoogleCodeExporter
Copy link

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
Copy link
Author

The padding attribute also.

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

@GoogleCodeExporter
Copy link
Author

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
Copy link
Author

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
Copy link
Author

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

  • Changed state: Accepted

@GoogleCodeExporter
Copy link
Author

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

  • Changed state: Fixed

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant