Solved

Compact Lua Files

Posted on 2010-09-02
6
390 Views
Last Modified: 2012-05-10
I do not know if and permitodo post FILES for download here on Experts ...
But I have a problem in that case would be integration with Delphi Python ...
I have this series of files in python, and I want to compress all files in the folder ...
So a file with the. KOM

It is possible?

Archive .lua
https://nkilla.box.net/files#/files/0/f/49847828/1/f_496028178

If possible the compactor in Language Format .Bat or Delphi ...
Thanks for the help
0
Comment
Question by:nkilla
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 3
  • 2
6 Comments
 
LVL 15

Accepted Solution

by:
mish33 earned 500 total points
ID: 33597563
Python supports importing from .zip archives since version 2.3 (http://docs.python.org/library/zipimport.html)
0
 

Author Comment

by:nkilla
ID: 33604356
Can u help me if code ?

I dont understing your question of supports from zip imporiting..
0
 
LVL 15

Expert Comment

by:mish33
ID: 33605161
Just add zip archive file to sys.path and use import as usual to get modules from the archive file. See also an example with code at the bottom of the link above.
0
 

Author Comment

by:nkilla
ID: 33608988
Dont have a way more sample ?
0
 

Author Closing Comment

by:nkilla
ID: 33651804
Python supports importing from .zip archives since version 2.3 (http://docs.python.org/library/zipimport.html)
0

Featured Post

Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
Python Assistance 7 94
Difference of import usage in Python 1 85
python error - set 2 44
Help with a Python script converting xml to csv 4 47
Introduction On September 29, 2012, the Python 3.3.0 was released; nothing extremely unexpected,  yet another, better version of Python. But, if you work in Microsoft Windows, you should notice that the Python Launcher for Windows was introduced wi…
Strings in Python are the set of characters that, once defined, cannot be changed by any other method like replace. Even if we use the replace method it still does not modify the original string that we use, but just copies the string and then modif…
Learn the basics of lists in Python. Lists, as their name suggests, are a means for ordering and storing values. : Lists are declared using brackets; for example: t = [1, 2, 3]: Lists may contain a mix of data types; for example: t = ['string', 1, T…
Learn the basics of if, else, and elif statements in Python 2.7. Use "if" statements to test a specified condition.: The structure of an if statement is as follows: (CODE) Use "else" statements to allow the execution of an alternative, if the …

696 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question