# Julia Channels in Python

**URL:** <https://discourse.julialang.org/t/julia-channels-in-python/40180>\
**Category:** New to Julia\
**Tags:** question, python\
**Created:** [May 26, 2020, 9:49am UTC](https://discourse.julialang.org/t/julia-channels-in-python/40180 "2020-05-26T09:49:42Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Impressium](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/impressium/32/19575_2.png) [@Impressium](https://discourse.julialang.org/u/Impressium)\
**Post date:** [May 26, 2020, 9:49am UTC](https://discourse.julialang.org/t/julia-channels-in-python/40180/1 "2020-05-26T09:49:42Z")

</div>

Hey Community 🙂

I wrote a module in Julia and want to use it in Python. The module gets data from a TCP connection and puts it in a channel. The user of this module can than take one element as soon as it is ready. Now I want to use this module in Python. I think I will need the following.

- load module
- get channel from init function of this module
- `for el in channel` in python

How would I do these steps in Python?

---

<div class="post-metadata">

**Author:** ![pixel27](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/pixel27/32/8902_2.png) [@pixel27](https://discourse.julialang.org/u/pixel27)\
**Post date:** [May 26, 2020, 1:34pm UTC](https://discourse.julialang.org/t/julia-channels-in-python/40180/2 "2020-05-26T13:34:05Z")

</div>

I suspect you would need to use this:

> **[GitHub - JuliaPy/pyjulia: python interface to julia](https://github.com/JuliaPy/pyjulia)**
>
> python interface to julia. Contribute to JuliaPy/pyjulia development by creating an account on GitHub.

Other than that, I have no clue.
