<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def tablestructure(tablename, dataman=True, column=True, subtable=False, sort=False):
 """Print the structure of a table. It is the same as :func:`table.showstructure`, but without the need to open the table first. """

    t = table(tablename, ack=False)
    six.print_(t.showstructure(dataman, column, subtable, sort))