Create an executable from a python script?

0

I already asked a similar question but it did not end up giving results using cx_freeze. So what would be the best way to create an executable from a python script? Use python 3.6.5 (32 bits)

The imports:

# -*- coding: utf-8 -*

import pygame,sys,os
import tkinter as tk
import configparser as cp
from pygame.locals import *
from numbers import Number
from tendo import singleton
    
asked by ElAlien123 01.05.2018 в 02:31
source

1 answer

0

I usually recommend py2exe, but maybe pyInstaler will help you:

  • py2exe
  • pyInstaller
  • With py2exe you can include the libraries that you use or directory dependencies. PyInstaller allows also to be used in other OS generating the executables of the own OS in which they are executed, not only for windows.

        
    answered by 02.05.2018 в 09:36