# How to upload python files using Mender

**URL:** <https://hub.mender.io/t/how-to-upload-python-files-using-mender/5601>\
**Category:** General Discussions\
**Created:** [February 6, 2023, 11:44am UTC](https://hub.mender.io/t/how-to-upload-python-files-using-mender/5601 "2023-02-06T11:44:43Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![Nikita\_nagar62](https://avatars.discourse-cdn.com/v4/letter/n/779978/32.png) [@Nikita\_nagar62](https://hub.mender.io/u/Nikita_nagar62)\
**Post date:** [February 6, 2023, 11:44am UTC](https://hub.mender.io/t/how-to-upload-python-files-using-mender/5601/1 "2023-02-06T11:44:43Z")

</div>

Hello Everyone,

Can anyone tell me, How can I upload my python file to raspberry pi through mender ?

Thank you

---

<div class="post-metadata">

**Author:** ![kacf](https://yyz2.discourse-cdn.com/flex036/user_avatar/hub.mender.io/kacf/32/146_2.png) [@kacf](https://hub.mender.io/u/kacf)\
**Post date:** [February 7, 2023, 7:18am UTC](https://hub.mender.io/t/how-to-upload-python-files-using-mender/5601/2 "2023-02-07T07:18:28Z")

</div>

If it’s just one file you can upload it directly in the Mender UI, and it will make a file update for you which you can deploy.

If it’s more than one file, then I would look into [the `directory` Update Module](https://hub.mender.io/t/directory/325/1).

---

<div class="post-metadata">

**Author:** ![Nikita\_nagar62](https://avatars.discourse-cdn.com/v4/letter/n/779978/32.png) [@Nikita\_nagar62](https://hub.mender.io/u/Nikita_nagar62)\
**Post date:** [February 8, 2023, 10:12am UTC](https://hub.mender.io/t/how-to-upload-python-files-using-mender/5601/3 "2023-02-08T10:12:00Z")

</div>

Yup!, I upload the python code file through releases and deploy but it is not updated. Can you please tell me the reason…?

 ![IMG20230208153713](https://canada1.discourse-cdn.com/flex036/uploads/mender/original/2X/8/87670972d2b74c83315775163dd975452a149b0f.jpeg)

---

<div class="post-metadata">

**Author:** ![Nikita\_nagar62](https://avatars.discourse-cdn.com/v4/letter/n/779978/32.png) [@Nikita\_nagar62](https://hub.mender.io/u/Nikita_nagar62)\
**Post date:** [February 8, 2023, 10:15am UTC](https://hub.mender.io/t/how-to-upload-python-files-using-mender/5601/4 "2023-02-08T10:15:04Z")

</div>

![IMG20230208154345](https://canada1.discourse-cdn.com/flex036/uploads/mender/original/2X/4/4ff9f4b65c267bb1f4eae34ce430cf86914b9ca1.jpeg)  
It is showing when I simply upload the python file @kacf , @TheYoctoJester

---

<div class="post-metadata">

**Author:** ![kacf](https://yyz2.discourse-cdn.com/flex036/user_avatar/hub.mender.io/kacf/32/146_2.png) [@kacf](https://hub.mender.io/u/kacf)\
**Post date:** [February 9, 2023, 9:23am UTC](https://hub.mender.io/t/how-to-upload-python-files-using-mender/5601/5 "2023-02-09T09:23:42Z")

</div>

Hmm, which file are you trying to update? What did you enter into the upload dialog?

---

<div class="post-metadata">

**Author:** ![Nikita\_nagar62](https://avatars.discourse-cdn.com/v4/letter/n/779978/32.png) [@Nikita\_nagar62](https://hub.mender.io/u/Nikita_nagar62)\
**Post date:** [February 11, 2023, 11:53am UTC](https://hub.mender.io/t/how-to-upload-python-files-using-mender/5601/6 "2023-02-11T11:53:33Z")

</div>

I am going to upload .py file.
