How to run Python egg files directly without installing them?

前端 未结 4 2074

Is it possible to run Python egg files directly as you can run jar files with Java?

For example, with Java you might dos something like:



        
4条回答
  •  执笔经年
    2021-01-31 03:46

    Python Egg file direct execution steps

    Suppose if you have egg file and driver file to run through below command.

    PYTHONPATH=eggfilename.egg python driverfile.py
    

    above command for without install egg file with python code.

提交回复
热议问题