How to create table in existing database with sqlalchemy

Solution
conn = engine.connect() 
metadata = MetaData(engine)

exist=sqlalchemy.inspect(engine).has_table("Products")
if exist == False:
print("=Table doesn't exist=")
products = Table('products', metadata,
            Column('id', Integer(), primary_key=True),
            Column('product', String(200), nullable=False),
            Column('price', Integer())
            )
 metadata.create_all(engine)
 print("=Table was created=")
else:
 print("=Table exists=")
 logging.info('Table exists')