# C# / dotnet workflow worker with Python

**URL:** <https://community.temporal.io/t/c-dotnet-workflow-worker-with-python/7698>\
**Category:** Community Support\
**Tags:** python-sdk, dotnet-sdk\
**Created:** [March 27, 2023, 10:27am UTC](https://community.temporal.io/t/c-dotnet-workflow-worker-with-python/7698 "2023-03-27T10:27:19Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![mahdiakhi](https://sea2.discourse-cdn.com/flex016/user_avatar/community.temporal.io/mahdiakhi/32/3564_2.png) [@mahdiakhi](https://community.temporal.io/u/mahdiakhi)\
**Post date:** [March 27, 2023, 10:27am UTC](https://community.temporal.io/t/c-dotnet-workflow-worker-with-python/7698/1 "2023-03-27T10:27:19Z")

</div>

Hi there  
I’m going to use Temporal in C#. I want to use Python SDK to define the workflow.  
I’ve seen [this example](https://github.com/temporalio/samples-dotnet/tree/main/src/ActivityWorker) but instead of the Golan, I want to use Python.  
How can I do this? I mean the Python code

---

<div class="post-metadata">

**Author:** ![Chad\_Retz](https://sea2.discourse-cdn.com/flex016/user_avatar/community.temporal.io/chad_retz/32/1396_2.png) [@Chad\_Retz](https://community.temporal.io/u/Chad_Retz)\
**Post date:** [March 27, 2023, 11:55am UTC](https://community.temporal.io/t/c-dotnet-workflow-worker-with-python/7698/2 "2023-03-27T11:55:24Z")

</div>

> [@mahdiakhi](#):
>
> How can I do this? I mean the Python code

The same way the Go code is done but in Python. Create a worker and workflow that starts an activity you define in C#. Is there a specific part of creating a worker/workflow in Python that I can help clarify?

---

<div class="post-metadata">

**Author:** ![mahdiakhi](https://sea2.discourse-cdn.com/flex016/user_avatar/community.temporal.io/mahdiakhi/32/3564_2.png) [@mahdiakhi](https://community.temporal.io/u/mahdiakhi)\
**Post date:** [March 31, 2023, 2:51pm UTC](https://community.temporal.io/t/c-dotnet-workflow-worker-with-python/7698/3 "2023-03-31T14:51:26Z")

</div>

I do this and put my code [here](https://github.com/mahdiAkhi/TemporalSample)
