[ros-users] [Discourse.ros.org] [Next Generation ROS] Questioning the .launch.py file extension

Alexander Rössler via Discourse.ros.org ros.discourse at gmail.com
Wed Jan 9 13:14:46 UTC 2019

Thank you for the explanation.

Using `importlib` or to implement the code to test inside a Python module is indeed possible.

However, I still prefer the `_launch.py` suffix, since this would conform to pep naming and enable unit tests without creating additional Python modules.

I would also be interested to hear from users that moving from ROS1 to ROS2 if the `_launch.py` syntax feels unnatural compared to `.launch.py` or the other way around.

[Visit Topic](https://discourse.ros.org/t/questioning-the-launch-py-file-extension/6352/5) or reply to this email to respond.

More information about the ros-users mailing list