I have file test.robot with test cases.
How can i get the list of this test cases without activating the tests, from command line or python?
You can check out testdoc tool. Like explained in the doc, "The created documentation is in HTML format and it includes name, documentation and other metadata of each test suite and test case".