# Python program need help when trying run program on other pc

**URL:** <https://forum.freecodecamp.org/t/python-program-need-help-when-trying-run-program-on-other-pc/324666>\
**Category:** General\
**Created:** [October 29, 2019, 11:42pm UTC](https://forum.freecodecamp.org/t/python-program-need-help-when-trying-run-program-on-other-pc/324666 "2019-10-29T23:42:17Z")\
**Posts on this page:** 10\
**Page:** 1

<div class="post-metadata">

**Author:** ![Code-Ex](https://sea3.discourse-cdn.com/freecodecamp/user_avatar/forum.freecodecamp.org/code-ex/32/124932_2.png) [@Code-Ex](https://forum.freecodecamp.org/u/Code-Ex)\
**Post date:** [October 29, 2019, 11:42pm UTC](https://forum.freecodecamp.org/t/python-program-need-help-when-trying-run-program-on-other-pc/324666/1 "2019-10-29T23:42:17Z")

</div>

hello i need some help, after i design a python program if i put that program on another pc and i try to run it excepts if python is installed and also if the modules are that i used in designing the program exist that’s when its gonna work is there any way i can design a program on python and install it on another pc and work successfully?

---

<div class="post-metadata">

**Author:** ![Code-Ex](https://sea3.discourse-cdn.com/freecodecamp/user_avatar/forum.freecodecamp.org/code-ex/32/124932_2.png) [@Code-Ex](https://forum.freecodecamp.org/u/Code-Ex)\
**Post date:** [October 29, 2019, 11:48pm UTC](https://forum.freecodecamp.org/t/python-program-need-help-when-trying-run-program-on-other-pc/324666/3 "2019-10-29T23:48:34Z")

</div>

i understand but i wont like users to see my script

---

<div class="post-metadata">

**Author:** ![Code-Ex](https://sea3.discourse-cdn.com/freecodecamp/user_avatar/forum.freecodecamp.org/code-ex/32/124932_2.png) [@Code-Ex](https://forum.freecodecamp.org/u/Code-Ex)\
**Post date:** [October 29, 2019, 11:49pm UTC](https://forum.freecodecamp.org/t/python-program-need-help-when-trying-run-program-on-other-pc/324666/4 "2019-10-29T23:49:39Z")

</div>

even if i make it an executable file is there a way i can make all the file be hidden in a different folder?

---

<div class="post-metadata">

**Author:** ![camperextraordinaire](https://avatars.discourse-cdn.com/v4/letter/c/5f9b8f/32.png) [@camperextraordinaire](https://forum.freecodecamp.org/u/camperextraordinaire)\
**Post date:** [October 30, 2019, 12:06am UTC](https://forum.freecodecamp.org/t/python-program-need-help-when-trying-run-program-on-other-pc/324666/5 "2019-10-30T00:06:16Z")

</div>

Not sure what you mean by hidden in a different folder, but the file would be an executable file (binary), so your code would not be seen unless someone uses some type of decompyler (which is possible for any executable file).

---

<div class="post-metadata">

**Author:** ![Code-Ex](https://sea3.discourse-cdn.com/freecodecamp/user_avatar/forum.freecodecamp.org/code-ex/32/124932_2.png) [@Code-Ex](https://forum.freecodecamp.org/u/Code-Ex)\
**Post date:** [October 30, 2019, 12:08am UTC](https://forum.freecodecamp.org/t/python-program-need-help-when-trying-run-program-on-other-pc/324666/6 "2019-10-30T00:08:14Z")

</div>

okay i understand  
thanks

---

<div class="post-metadata">

**Author:** ![JeremyLT](https://sea3.discourse-cdn.com/freecodecamp/user_avatar/forum.freecodecamp.org/jeremylt/32/291894_2.png) [@JeremyLT](https://forum.freecodecamp.org/u/JeremyLT)\
**Post date:** [October 30, 2019, 2:50am UTC](https://forum.freecodecamp.org/t/python-program-need-help-when-trying-run-program-on-other-pc/324666/8 "2019-10-30T02:50:50Z")

</div>

Fair warning, there are some folks out there that professionally, or as a hobby, try to recreate source code (Reverse Engineering). One your executable is out in the wild, its generally best practice to assume that a particularly dedicated person can reconstruct your code, so you don’t want any sensitive information or security features to depend upon the user not being able to reconstruct the source code.

---

<div class="post-metadata">

**Author:** ![Code-Ex](https://sea3.discourse-cdn.com/freecodecamp/user_avatar/forum.freecodecamp.org/code-ex/32/124932_2.png) [@Code-Ex](https://forum.freecodecamp.org/u/Code-Ex)\
**Post date:** [October 30, 2019, 6:40am UTC](https://forum.freecodecamp.org/t/python-program-need-help-when-trying-run-program-on-other-pc/324666/9 "2019-10-30T06:40:47Z")

</div>

yeah that’s what i mean

---

<div class="post-metadata">

**Author:** ![Code-Ex](https://sea3.discourse-cdn.com/freecodecamp/user_avatar/forum.freecodecamp.org/code-ex/32/124932_2.png) [@Code-Ex](https://forum.freecodecamp.org/u/Code-Ex)\
**Post date:** [October 30, 2019, 6:42am UTC](https://forum.freecodecamp.org/t/python-program-need-help-when-trying-run-program-on-other-pc/324666/10 "2019-10-30T06:42:09Z")

</div>

but i’m already constructing my own code encryption so that it can be more secured

---

<div class="post-metadata">

**Author:** ![JeremyLT](https://sea3.discourse-cdn.com/freecodecamp/user_avatar/forum.freecodecamp.org/jeremylt/32/291894_2.png) [@JeremyLT](https://forum.freecodecamp.org/u/JeremyLT)\
**Post date:** [October 30, 2019, 2:59pm UTC](https://forum.freecodecamp.org/t/python-program-need-help-when-trying-run-program-on-other-pc/324666/11 "2019-10-30T14:59:05Z")

</div>

It’s your project, so you know it better than I what you need, but the golden rule of crypto is [Don’t Roll Your Own](https://www.vice.com/en_us/article/wnx8nq/why-you-dont-roll-your-own-crypto).

---

<div class="post-metadata">

**Author:** ![ILM](https://sea3.discourse-cdn.com/freecodecamp/user_avatar/forum.freecodecamp.org/ilm/32/363239_2.png) [@ILM](https://forum.freecodecamp.org/u/ILM)\
**Post date:** [January 16, 2021, 2:46pm UTC](https://forum.freecodecamp.org/t/python-program-need-help-when-trying-run-program-on-other-pc/324666/12 "2021-01-16T14:46:13Z")

</div>

Closed on January 16, 2021, 2:46pm UTC


