473,320 Members | 1,950 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

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

Using XUL with python

Hi guys,

hiow can I create a XUL application that runs with python?? Which libreries
I need??

bye
Jul 18 '05 #1
5 4216
> Gabriele Farina wrote:
Hi guys,

hiow can I create a XUL application that runs with python?? Which libreries
I need??


Learn to use the tools at your disposal.

http://www.google.com/search?hl=en&q...search&btnG=go

PterK

--
Peter van Kampen
pterk -- at -- datatailors.com
Jul 18 '05 #2
Gabriele Farina wrote:
Hi guys,

hiow can I create a XUL application that runs with python?? Which libreries
I need??

bye


I only know two ways, that are worth considering (searching on the net
shows a lot of results but it's hard to pick the good ones ...):

- "LUXOR": afaik written in Java with Python/Jython abilities. Could be
a promising platform (but I don't know much about this) ...
- PyXPCOM: enable Python in the Mozilla-Framework (most of the stuff on
the net is quite old, however the actual code is stored in Mozilla-cvs
and recent. ActiveState use Python+XUL/Mozilla for their apps)
(Useful links might be:
http://lxr.mozilla.org/seamonkey/sou.../python/xpcom/ !!!
http://www.mozilla.org/catalog/archi...xpcom/pyxpcom/
http://pygecko.sourceforge.net/)

IMO pygecko is a bit of "the right idea".
Mozilla Project should split up their stuff and make a standalone
XUL-Server supporting multiple languages. (Hey M$ is currently doing
something similar for Longhorn...)
cu cbf
Jul 18 '05 #3
Tnx a lot to everyone.

I looked at Luxor yesterday, but I don't want to use jython to build my
application.

Instead pyXPCOM seems a good job, but I cant install the estension under
windows.

Now I'll try to read the documentation you give me and then I'll try to
install the extension.

It seems pyXPCOM needs mozilla running to be functional. Is this true?? How
can I merge my program and mozilla toghether to work like Komodo does?

tnx a lot, good night :)


Jul 18 '05 #4
Gabriele Farina wrote:

Tnx a lot to everyone.

I looked at Luxor yesterday, but I don't want to use jython to build my
application.

Instead pyXPCOM seems a good job, but I cant install the estension under
windows.

Now I'll try to read the documentation you give me and then I'll try to
install the extension.

It seems pyXPCOM needs mozilla running to be functional. Is this true?? How
can I merge my program and mozilla toghether to work like Komodo does?


It seems likely to me that since so few people are approaching
application development this way, the answers are not straightforward
and you should be prepared for a lot of trial-and-error development
on your own, rather than finding a nice tutorial that tells you how
to do it all.

I could be wrong... it just doesn't look like mainstream technology from here.

-Peter
Jul 18 '05 #5
aifaik Peter Hansen is right.

There's just no easy "plug & program"-library.

You have to compile yourself a version of Mozilla. Basically following
the instructions (search them on mozilla.org) isn't to hard and you'll
get an Python-enabled Mozilla framework. However it takes a lot
computing resources (I did this on a laptop PII 400/128MB and it took
24h to complete and >1GB diskspace)


I agree that Mozilla should provide a readily useable XUL+(C, Python,
Perl, Java, ...)-Framework. But nobody wants to do this task (it's my
and your fault, too -- or would you do such a thing :-) ).

cu cbf
Jul 18 '05 #6

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

Similar topics

5
by: MiLF | last post by:
Is it possible to write a Audio CD Player by using python only?
4
by: The_Incubator | last post by:
As the subject suggests, I am interested in using Python as a scripting language for a game that is primarily implemented in C++, and I am also interested in using generators in those scripts... ...
8
by: Sridhar R | last post by:
Hi, I am a little experienced python programmer (2 months). I am somewhat experienced in C/C++. I am planning (now in design stage) to write an IDE in python. The IDE will not be a simple...
8
by: Joakim Persson | last post by:
Hello all. I am involved in a project where we have a desire to improve our software testing tools, and I'm in charge of looking for solutions regarding the logging of our software (originating...
29
by: 63q2o4i02 | last post by:
Hi, I'm interested in using python to start writing a CAD program for electrical design. I just got done reading Steven Rubin's book, I've used "real" EDA tools, and I have an MSEE, so I know what...
11
by: efrat | last post by:
Hello, I'm planning to use Python in order to teach a DSA (data structures and algorithms) course in an academic institute. If you could help out with the following questions, I'd sure...
0
by: P. Adhia | last post by:
Hello, I was wondering if anyone is successfully using using Python(2.5)+DB2+pydb2. I get an error in all situations. It seems that this problem might be limited to python 2.5. A quick Google...
9
by: dominiquevalentine | last post by:
Hello, I'm a teen trying to do my part in improving the world, and me and my pal came up with some concepts to improve the transportation system. I have googled up and down for examples of using...
14
by: Nathan Pinno | last post by:
How do I factor a number? I mean how do I translate x! into proper Python code, so that it will always do the correct math? Thanks in advance, Nathan P.
53
by: Vicent Giner | last post by:
Hello. I am new to Python. It seems a very interesting language to me. Its simplicity is very attractive. However, it is usually said that Python is not a compiled but interpreted programming...
0
by: DolphinDB | last post by:
Tired of spending countless mintues downsampling your data? Look no further! In this article, you’ll learn how to efficiently downsample 6.48 billion high-frequency records to 61 million...
0
by: ryjfgjl | last post by:
ExcelToDatabase: batch import excel into database automatically...
1
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
0
by: Vimpel783 | last post by:
Hello! Guys, I found this code on the Internet, but I need to modify it a little. It works well, the problem is this: Data is sent from only one cell, in this case B5, but it is necessary that data...
0
by: jfyes | last post by:
As a hardware engineer, after seeing that CEIWEI recently released a new tool for Modbus RTU Over TCP/UDP filtering and monitoring, I actively went to its official website to take a look. It turned...
0
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
0
by: Defcon1945 | last post by:
I'm trying to learn Python using Pycharm but import shutil doesn't work
0
by: af34tf | last post by:
Hi Guys, I have a domain whose name is BytesLimited.com, and I want to sell it. Does anyone know about platforms that allow me to list my domain in auction for free. Thank you
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome former...

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.