Python - PrettyTable module

preview_player
Показать описание
If you ever got into trouble formatting tabular information on the console this video is for you! The "prettytable" module of python was born for this very purpose. The module also allows you to prettify the data returned by the query of a DB cursor. Check out my guide how you can get started with it and become the god of consoles.

Рекомендации по теме
Комментарии
Автор

Your video was very helpful to me in understanding how to work with pretty tables and sqlite databases :D

Vomarik
Автор

Nice one. Very clear and concise. Keep them coming :) Just one little thing: What do yu have against your keyboard? In my earphones it sounds like you’re giving it a right beating!

hoppyspadge
Автор

How do you read the data row by row from a text file instead of hard coding it?

LenCedeno
Автор

Can you also please share how to handle LSEP while adding row data?

MrLuvBammi
Автор

How can you enter a field name which has "\n" character in between, for example: "Data\nSource ID" ?

MrLuvBammi
Автор

very thank, but you made a mistake about centaur 's life.

Racial Hit Dice: Each centaur has four levels of monstrous humanoid, granting 4d8 hit dice. For a player character, the first of his Hit Dice is maximum, but the others (racial or coming from a class) must be rolled normally. The racial hit dice of the centaurs also grant them a +4 base attack bonus as well as the following base bonuses on saves: Ref +4, Fort +1 and Flying +4. Racial HDs stack with those of any character class levels.
Centaurs' monstrous humanoid levels grant them skill points up to (2 + Int modifier) ​​x7. The class skills corresponding to these levels are Silent Movement. Detection, Auditory Perception and Survival. Centaurs do not benefit from the usual x4 multiplier on skill points for the first class level.

: )

philtoa