Тёмный

How To Make a Python Program Executable in Linux 

matty tripps
Подписаться 9 тыс.
Просмотров 82 тыс.
50% 1

This video will show you how to create an executable python program in linux
create custom Classes in python
• Custom Classes Python ...
• Python Tutorial - Bank...
In my zazzle store I have a multitude of beautiful, colorful, and artsy wall art along with some pretty exciting and attention grabbing t-shirts mainly themed around the ocean. Click the link to see my store!
www.zazzle.com/store/encahnte...
Kokatat makes the best drysuits in my opinion. And they have outstanding customer service. I highly recommend their products.
Click the link below to buy their top of the line suit
geni.us/KokatatDrysuit
if your looking for a wetsuit then O'Neill has been providing great suits for a very long time! my wetsuit is an O'Neill and it's gotten me through some cold days in my kayak. Click the link below to buy it
geni.us/Oneill
🛒 Click here to buy this great macro lens from Rokinon. It's a very affordable yet high quality lens for a variety of camera models
geni.us/RokinonMacro
🎥 Seen here
• A Worm That BITES! Gro...
And here
• Praying Mantis Eating ...
And here
• Sony A7s Rokinon 100mm...
🛒 Here are some soft umbrella lights which make for great lighting when recording videos
geni.us/SoftLights
🛒 Here is a great greenscreen backdrop for doing chroma key effects
geni.us/GrenScreen
🛒 Clean ashes from your wood stove without the mess! Buy the Minuteman International No Mess Ash Box on Amazon
geni.us/TpcYH
seen here
🎥 [ • How to Clean WoodStove... ]
🛒 Please checkout this easy chimney cleaning kit through my Amazon affiliate link
geni.us/7wzcTnB
seen here
🎥 [ • Easy Chimney Cleaning!... ]
🛒 Check out this cheap and genius solution for carrying firewood effortlessly on amazon
geni.us/Tote
🎥 Seen here
• Firewood Bags: Easily ...
🛒 This is the same maul that I use for splitting firewood. Click on the link to buy it on Amazon
geni.us/WoodSplittingMaul
🎥 Seen here
• Splitting Firewood - E...
🛒 Click here to buy the Mofeez firewood rack, an affordable yet sturdy rack for storing firewood
geni.us/FirewoodRack
🎥 Seen here
• Assemble Like a Pro! S...
🛒 Click here to buy the U`King Mini DJ Lights
geni.us/PartyLights
🎥 Seen here
• U`King Mini DJ Lights ...
🛒 Click here to purchase the Akron lifting house jack
geni.us/Akron
Click here to purchase the Vestil house jack
geni.us/Vestil
🎥 Seen here
• Akron and Vestil Floor...

Хобби

Опубликовано:

 

19 янв 2018

Поделиться:

Ссылка:

Скачать:

Готовим ссылку...

Добавить в:

Мой плейлист
Посмотреть позже
Комментарии : 75   
@mattytripps
@mattytripps 5 лет назад
If anyone likes the video enough to want to donate, then you can do so at www.mattytripps.com
@anupammishravlogs7278
@anupammishravlogs7278 3 месяца назад
hello, i am facing a issue that when i launches my application through the icon , so my background image is not visible , but when i run througn ./main.py at that time it is perfectly running fine. please suggest some solution for this
@aavalos163
@aavalos163 2 года назад
Thank you. This was a great tutorial.
@sugapriya2073
@sugapriya2073 Год назад
Thanks man..I m exactly looking for this ..
@claudiunemes2813
@claudiunemes2813 5 лет назад
it works, tested it on mint xfce 19 - good job.
@gaffclant
@gaffclant 4 года назад
I also use mint xfce:D
@alexislopez16
@alexislopez16 6 лет назад
nice vid, its a great start!
@ampaholic2
@ampaholic2 6 лет назад
Great tutorial. Now I need find out how to stop the program from running. THANKS!
@mattytripps
@mattytripps 6 лет назад
You probably have an infinite loop
@zasbirrahmanzayan8648
@zasbirrahmanzayan8648 2 года назад
btw if you are on linux on some desktop environments and you need to force shut it down use ctrl+alt+esc and then double click and then you are good to go
@afish2281
@afish2281 4 года назад
What about modules? Because I might want to run it on a different computer without the modules.
@afish2281
@afish2281 4 года назад
@maDev NA What about executables for Linux. I can make it an EXE, but not for Linux.
@yousefsaber1
@yousefsaber1 5 лет назад
worked for me on Ubuntu thanks very much
@defbat7908
@defbat7908 4 года назад
Thanks for the good tutorial.
@jotaro-gogogo
@jotaro-gogogo 2 года назад
Does this method works with Gnome? I followed your guide but it does not launches, even though I have permission to execute it and the icon shows in the app drawer.
@FRIENDSofCAP
@FRIENDSofCAP 5 лет назад
How can I do the same thing for Mac OSX. I am running the latest OS, Mac Mojave.
@mikeberger1688
@mikeberger1688 2 года назад
So this also converts the python script into something that can't be read or reverse engineered? Is it C code? How does it find your data files?
@bibash3128
@bibash3128 6 лет назад
How to include the imported modules and used pngs?
@dustybeats5620
@dustybeats5620 2 месяца назад
Did u find an answer
@sukhsagardubey48
@sukhsagardubey48 5 лет назад
A game file (.py) just get closed automatically after getting open on click of the icon? it work good with terminal.
@shahin4387
@shahin4387 4 года назад
did you forget the .mainloop() inside the code?
@farofarafa
@farofarafa 6 месяцев назад
Muito obrigado♥
@vcxz3965
@vcxz3965 5 лет назад
what linux you have ?
@srujanapatel5
@srujanapatel5 6 лет назад
Can i use this with virtual box unix? I do not have python installed in virtual unix. I am getting an error 'No such file or directory'
@mattytripps
@mattytripps 6 лет назад
No such file or directory usually means there is an error with the location of something in the picture itself
@charliesimon7595
@charliesimon7595 5 лет назад
how does one fix this?
@saeedsedigh1032
@saeedsedigh1032 4 года назад
make more py tutorial videos
@Just_JasonZA
@Just_JasonZA 4 года назад
when you say backslash you show forward slash so I'm guessing I should use forward and not back?
@mattytripps
@mattytripps 4 года назад
Yeah probably
@serserivolkan2397
@serserivolkan2397 3 года назад
which you use linux distro
@kacperw587
@kacperw587 5 лет назад
Nice trillby.
@manivarmaindukuri7801
@manivarmaindukuri7801 5 лет назад
Sir , I have a python script which included some bash commands in os.system() method . If I convert this python script to exe, will this exe file work properly in windows or will I face any issues since Windows can't run bash commands ?
@mattytripps
@mattytripps 5 лет назад
Honestly, I don't know. I only know how to make it run on linux and macs
@manivarmaindukuri7801
@manivarmaindukuri7801 5 лет назад
@@mattytripps Thank you Sir . Atleast you responded to my comment .
@user-it8xn2ez1p
@user-it8xn2ez1p Год назад
my launcher is not working. Is just as the same as a text file.......😞
@davidkingsley8940
@davidkingsley8940 3 года назад
What OS is this?
@code-to-learn
@code-to-learn Год назад
Thanks a lot sir❤❤
@mattytripps
@mattytripps Год назад
Your welcome
@shahin4387
@shahin4387 4 года назад
will the same file work on windows too or do i have to convert it .exe
@KillBillPandey
@KillBillPandey 3 года назад
pyinstaller --onefile filename.py this will convert the py code to an exe and will be stored in dist folder
@michaelandersen1161
@michaelandersen1161 3 года назад
What distro Are you using in This video?
@mattytripps
@mattytripps 3 года назад
Ubuntu
@ZojDrek
@ZojDrek 6 лет назад
it gave me a /usr/bin/env: 'python3 ': No such file or directory
@mattytripps
@mattytripps 6 лет назад
At what stage did you get that output? Maybe you do not have python 3 installed?
@ampaholic2
@ampaholic2 6 лет назад
Did you write your program in python 3? (3.4.2) Something to that effect? Are you sure you typed in #!/usr/bin/envSPACEpython3 on the very first line of your code?
@patrickklein9328
@patrickklein9328 6 лет назад
did you write your program on windows or mac before you ran it on linux? in that case you should consider converting your python-script using dos2unix. stackoverflow.com/questions/9975011/pycharm-usr-bin-pythonm-bad-interpreter
@ZojDrek
@ZojDrek 6 лет назад
Patrick Klein Thank you so much
@patrickklein9328
@patrickklein9328 6 лет назад
Glad to help you!
@123joj
@123joj 6 лет назад
What distro is this?
@mattytripps
@mattytripps 6 лет назад
It was either xubuntu or ubuntu mate, i forget which one i was using
@michaelsargsyan9627
@michaelsargsyan9627 6 лет назад
What is??
@mattytripps
@mattytripps 6 лет назад
Is there a launch anyway option? I would just click that. If you made the file then you know it can be trusted
@michaelsargsyan9627
@michaelsargsyan9627 6 лет назад
No, I just click on a.desktop file.
@mattytripps
@mattytripps 6 лет назад
There has to be a way of marking it as trusted. Im not sure of how because i did not have that problem with my ubuntu distro
@michaelsargsyan9627
@michaelsargsyan9627 6 лет назад
I understood, thank you.
@joshuafernandes5669
@joshuafernandes5669 6 лет назад
right click and go to properties. in that go to permissions tab. there will be an option to give permission to execute
@MuhammadAzeem-mn7if
@MuhammadAzeem-mn7if 5 лет назад
How to make py to exe in ubuntu
@Just_JasonZA
@Just_JasonZA 4 года назад
ru-vid.com/video/%D0%B2%D0%B8%D0%B4%D0%B5%D0%BE-RMkPGjGhzxg.html
@dontbemadsunshine
@dontbemadsunshine 3 года назад
you f***ing beauty.. Thank you!
@hishot9442
@hishot9442 5 лет назад
It opens the code in text editor :(
@nicoi5251
@nicoi5251 4 года назад
you have to mark it as an exacutable
@mattytripps
@mattytripps 4 года назад
Try CD-ing to the directory that has the python file and then run chmod +x filename.py then run ./filename.py and see if it runs
@guyclykos
@guyclykos 5 лет назад
Was half skeptical about this video. Expected me to download wine and compile it as an exe.
@renanlira9180
@renanlira9180 5 лет назад
I tested it on Ubuntu and it did not work.
@yousefsaber1
@yousefsaber1 5 лет назад
faced the same problem I fixed it by coping the untitled.ui ( which was imported for my application in its source code ) in the home folder try to run the application and the code from command line in the home folder to see exactly why it isn't running
@umemurastudios3348
@umemurastudios3348 3 года назад
this fellow really does not like manually typing things
@zosyanax
@zosyanax Год назад
I got it with 'bash - x exec_file'
@JuniorMenezes7
@JuniorMenezes7 3 года назад
#!/usr/bin/env python3
@Supertimegamingify
@Supertimegamingify 4 года назад
backslash
@bigmoe7635
@bigmoe7635 5 лет назад
kinda pointless for what i was looking for. I want to compile an exe
@techydog7854
@techydog7854 5 лет назад
00:18 get back to us when you learn the difference between forward and backslash.
@cinarioan2766
@cinarioan2766 4 года назад
99% good, 1% bad. But let's focus on good. Peace
Далее
Linux File System/Structure Explained!
15:59
Просмотров 4 млн
How to Convert a Python File to .EXE
4:44
Просмотров 39 тыс.
Я ПОКУПАЮ НОВУЮ ТАЧКУ - МЕЧТУ!
39:05
Create Portable Packages With AppImage
15:58
Просмотров 26 тыс.
Why You NEED a DRIVER (for hacking games)
8:03
Просмотров 444 тыс.
Pyinstaller with Virtual Environments (venv)
16:38
Просмотров 10 тыс.
60 Linux Commands you NEED to know (in 10 minutes)
10:50
What Can You Do with Python? - The 3 Main Applications
11:30
How to Listen to Phone Calls in Wireshark
7:30
Просмотров 137 тыс.
Don´t WASTE FOOD pt.2 🍕
0:19
Просмотров 44 млн
Отнимают ребенка ч.7
0:55
Просмотров 3,5 млн