# How should I add the ray framework to the previous code

**URL:** https://discuss.ray.io/t/how-should-i-add-the-ray-framework-to-the-previous-code/14244
**Category:** Uncategorized
**Created:** [April 1, 2024, 3:46pm UTC](https://discuss.ray.io/t/how-should-i-add-the-ray-framework-to-the-previous-code/14244 "2024-04-01T15:46:51Z")
**Posts on this page:** 1
**Page:** 1

<div class="post-metadata">

### Author: ![zhenhua\_wu](https://sea2.discourse-cdn.com/flex020/user_avatar/discuss.ray.io/zhenhua_wu/32/5940_2.png) [@zhenhua\_wu](https://discuss.ray.io/u/zhenhua_wu)
#### Post date: [April 1, 2024, 3:46pm UTC](https://discuss.ray.io/t/how-should-i-add-the-ray-framework-to-the-previous-code/14244/1 "2024-04-01T15:46:51Z")

</div>

I am a beginner in reinforcement learning, and now I have implemented a simple snake reinforcement learning algorithm using Python. How should I add the ray framework to the previous code to achieve distributed computing in the program
