Solved

Compact Lua Files

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

How to run any project with ease

Manage projects of all sizes how you want. Great for personal to-do lists, project milestones, team priorities and launch plans.
- Combine task lists, docs, spreadsheets, and chat in one
- View and edit from mobile/offline
- Cut down on emails

Join & Write a Comment

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. …
Sequence is something that used to store data in it in very simple words. Let us just create a list first. To create a list first of all we need to give a name to our list which I have taken as “COURSE” followed by equals sign and finally enclosed …
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 …

707 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

16 Experts available now in Live!

Get 1:1 Help Now