List Plex Shows

List shows for a given Plex server and library using Python

# run 'pip3 install plexapi' first
# run the code below with python 3.x

from plexapi.myplex import MyPlexAccount
account = MyPlexAccount('your_username', 'your_password')
plex = account.resource('your_server').connect()

shows = plex.library.section('your_show_library')
for show in shows.search():
    print(show.title)