Solved

Compact Lua Files

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

Industry Leaders: 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

"The time has come," the Walrus said, "To talk of many things: Of sets--and lists--and dictionaries-- Of variable kinks-- And why you see it changing not-- And why so strange are strings." This part describes how variables and references (see …
In my programming career I have only very rarely run into situations where operator overloading would be of any use in my work.  Normally those situations involved math with either overly large numbers (hundreds of thousands of digits or accuracy re…
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 while and for loops in Python.  while loops are used for testing while, or until, a condition is met: The structure of a while loop is as follows:     while <condition>:         do something         repeate: The break statement m…

729 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