---
title: "Discussion on \"Python with a Command Line Interface\" | Hashnode"
description: "Discussion on \"Python with a Command Line Interface\". Main Menu\nTo start the cli.py file, we will add the main menu.\n#cli.py\ndef main_menu():\n    print('''\n\n    ********************\n        Main Menu\n    ********************\n\n    Select an option:\n    g. List all genres\n    v. List all movies\n    r. Lis..."
url: "https://hashnode.com/posts/python-with-a-command-line-interface/653de15d48e39ab14f6c2fe6"
---

[Feed](https://hashnode.com/feed) /

Discussion

# [Python with a Command Line Interface](https://listerfelt.hashnode.dev/python-with-a-command-line-interface?utm_source=hashnode&utm_medium=feed)

Main Menu To start the cli.py file, we will add the main menu. #cli.py def main\_menu(): print(''' \*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\* Main Menu \*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\* Select an option: g. List all genres v. List all movies r. Lis...

Oct 29, 2023 · 4 min read · listerfelt.hashnode.dev  
Read the article

-   [#python](https://hashnode.com/tag/python)
-   [#cli](https://hashnode.com/tag/cli)
-   [#command-line-interface](https://hashnode.com/tag/command-line-interface)
-   [#menu](https://hashnode.com/tag/menu)

## Written by

[Nicole Listerfelt](https://hashnode.com/@nlisterfelt)

@nlisterfelt

  
[View profile](https://hashnode.com/@nlisterfelt)

## Responses

Markdown supported · ⌘↵ to post

No responses yet.
