# How many nodes per python script are allowed?

**URL:** <https://get-help.theconstruct.ai/t/how-many-nodes-per-python-script-are-allowed/26341>\
**Category:** Open Discussions\
**Tags:** ros2, python3\
**Created:** [September 17, 2023, 7:39am UTC](https://get-help.theconstruct.ai/t/how-many-nodes-per-python-script-are-allowed/26341 "2023-09-17T07:39:05Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![rlekkerkerker](https://get-help.theconstruct.ai/letter_avatar_proxy/v4/letter/r/d6d6ee/32.png) [@rlekkerkerker](https://get-help.theconstruct.ai/u/rlekkerkerker)\
**Post date:** [September 17, 2023, 7:39am UTC](https://get-help.theconstruct.ai/t/how-many-nodes-per-python-script-are-allowed/26341/1 "2023-09-17T07:39:06Z")

</div>

Hi there,  
I have two questions for you:

1. I’ve been following some ROS2 python courses and I noticed that every node was initialized in its own Python script. Is it actually possible to initialize multiple nodes in 1 python script?

2. During research I’ve noticed that ROS-users write about “multiple nodes per process”. What do we mean with “process” exactly in this context?

Thank you in advance, Richard

---

<div class="post-metadata">

**Author:** ![system](https://get-help.theconstruct.ai/uploads/default/original/2X/9/9d3ce8305cc0d0d9b6e07d15767a6f245c526f1b.jpeg) [@system](https://get-help.theconstruct.ai/u/system)\
**Post date:** [September 24, 2023, 7:40am UTC](https://get-help.theconstruct.ai/t/how-many-nodes-per-python-script-are-allowed/26341/2 "2023-09-24T07:40:01Z")

</div>

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.
