472,353 Members | 1,264 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 472,353 software developers and data experts.

add re module to a embeded device phyton interpreter

I hav to add the re (regular expressions) functionality to an
Embeded device that I'm using. I read the re.py file and it says I
need several dependencies, one of them is the pcre module but I found
no pcre.py or pcre.pyc file. Someone knows where to find something to
solve my problem. Thanks a lot

Jan 10 '07 #1
1 1140
odlfox wrote:
I hav to add the re (regular expressions) functionality to an
Embeded device that I'm using. I read the re.py file and it says I
need several dependencies, one of them is the pcre module but I found
no pcre.py or pcre.pyc file. Someone knows where to find something to
solve my problem. Thanks a lot
that drills down to a .dll/.so thing depending on installation and python version.

Best make a project/test/dummy script using all the things you want - or actually your project as it.
And then use cx-freeze like "FreezePython -OO mystart.py" to let him collect all the dependent modules in a dist-folder. Then you don't have to worry about all the details yourself.
You can also use UPX and 7zip to further compress the dll's/so's and the py-modules zip archive well.
Robert
Jan 10 '07 #2

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

16
by: P.C. | last post by:
Hi My son like many youngsters been around computers, fast online games, he acturly for main part learned to read and write ,beside his second...
0
by: Ilariu Raducan | last post by:
Hi All, In embeded python, is it possible to add functions to a module after initialization with Py_InitModule? I don't know the function names...
8
by: Torsten Mohr | last post by:
Hi, i write an extension module in C at the moment. This module does some work on some own data types that consist of some values. The...
4
by: Andrew E | last post by:
Hi all I've written a python program that adds orders into our order routing simulation system. It works well, and has a syntax along these...
1
by: Thomas Heller | last post by:
I'm using the code module to implement an interactive interpreter console in a GUI application, the interpreter running in a separate thread. To...
9
by: jdlists | last post by:
I have inheirted some existing code, that i will explain in a moment, have needed to extend and ultimately should be able to run in threads. I've...
11
by: gslm | last post by:
Hi! I'm too new on phyton.I have installed phyton.But when I write phyton command, unfortunately, i can't run.I suppose that it is bacause of...
4
by: Peter J. Bismuti | last post by:
I'm having trouble understanding how namespaces work in modules. I want to execute a module within the interpreter and then have values that are...
1
by: mostro713 | last post by:
Hi all, Can someone point me in the right direction? I'm looking for a module to monitor the Windows Event Viewer. Thanks
1
by: Kemmylinns12 | last post by:
Blockchain technology has emerged as a transformative force in the business world, offering unprecedented opportunities for innovation and...
0
jalbright99669
by: jalbright99669 | last post by:
Am having a bit of a time with URL Rewrite. I need to incorporate http to https redirect with a reverse proxy. I have the URL Rewrite rules made...
0
by: antdb | last post by:
Ⅰ. Advantage of AntDB: hyper-convergence + streaming processing engine In the overall architecture, a new "hyper-convergence" concept was...
0
by: Matthew3360 | last post by:
Hi there. I have been struggling to find out how to use a variable as my location in my header redirect function. Here is my code. ...
0
by: AndyPSV | last post by:
HOW CAN I CREATE AN AI with an .executable file that would suck all files in the folder and on my computerHOW CAN I CREATE AN AI with an .executable...
0
by: Arjunsri | last post by:
I have a Redshift database that I need to use as an import data source. I have configured the DSN connection using the server, port, database, and...
0
hi
by: WisdomUfot | last post by:
It's an interesting question you've got about how Gmail hides the HTTP referrer when a link in an email is clicked. While I don't have the specific...
0
by: Matthew3360 | last post by:
Hi, I have been trying to connect to a local host using php curl. But I am finding it hard to do this. I am doing the curl get request from my web...
0
BLUEPANDA
by: BLUEPANDA | last post by:
At BluePanda Dev, we're passionate about building high-quality software and sharing our knowledge with the community. That's why we've created a SaaS...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.