محمد الصافي-2 نشر 26 أكتوبر 2017 أرسل تقرير مشاركة نشر 26 أكتوبر 2017 عاوز طريقة او برنامج او موقع لتحويل ملف بايثون لملف تنفيذي .... بس تكون طريقة غير بتاعت موديل py2exe عشان مش عاوز تشتغل معايا اقتباس رابط هذا التعليق شارك على الشبكات الإجتماعية More sharing options...
0 طارق مجدي نشر 15 نوفمبر 2017 أرسل تقرير مشاركة نشر 15 نوفمبر 2017 Download and Install Py2Exe for Windows http://sourceforge.net/projects/py2exe/files/py2exe/0.6.9/Py2Exe Unfortunately it's only available for windows Step 2Create the Python Program You Want to Compile I called mine myScript.py Step 3Create setup.py This is the python script that py2exe uses to create your exe. I think it's fairly self-explanatory. Make sure you save it in the same directory as the file you want to compile. Note, if you are using any third party python modules, you must specify them in this file. For example, if myScript.py made use of the pandas module, I would specify it here like so: Step 4Compile! Now go to your command prompt and compile your program, by running the following: python setup.py py2exe Step 5Test Out Your Exe Py2Exe will have created two folders: build and dist. The dist folder contains your exe, and it's safe to delete the build folder. Step 6Happy Compiling! Not a very exciting tutorial, but one that you'll hopefully find useful اقتباس رابط هذا التعليق شارك على الشبكات الإجتماعية More sharing options...
السؤال
محمد الصافي-2
عاوز طريقة او برنامج او موقع لتحويل ملف بايثون لملف تنفيذي .... بس تكون طريقة غير بتاعت موديل py2exe عشان مش عاوز تشتغل معايا
رابط هذا التعليق
شارك على الشبكات الإجتماعية
1 جواب على هذا السؤال
Recommended Posts
انضم إلى النقاش
يمكنك أن تنشر الآن وتسجل لاحقًا. إذا كان لديك حساب، فسجل الدخول الآن لتنشر باسم حسابك.