Solved

Compact Lua Files

Posted on 2010-09-02
6
387 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
  • 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

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
control image tags in a string ? 12 110
Ptyhon Dex.txt how to use this regex for this python script? 40 81
SUM 2 INTEGER ARRAYS INTO 1 10 93
Convert MS Word document to a PDF file 9 62
A set of related code is known to be a Module, it helps us to organize our code logically which is much easier for us to understand and use it. Module is an object with arbitrarily named attributes which can be used in binding and referencing. …
The purpose of this article is to demonstrate how we can use conditional statements using Python.
Learn the basics of strings in Python: declaration, operations, indices, and slicing. Strings are declared with quotations; for example: s = "string": Strings are immutable.: Strings may be concatenated or multiplied using the addition and multiplic…
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…

911 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

Need Help in Real-Time?

Connect with top rated Experts

20 Experts available now in Live!

Get 1:1 Help Now