On Sunday, July 22, 2012 8:45:31 PM UTC+2, C Anthony Risinger wrote: > > On Sun, Jul 22, 2012 at 12:49 PM, sltr <silentrun...@sonnenkinder.org> > wrote: > > Hi everybody, > > > > i try to come to grips with PyJS and its components. > > I want to create a javascript file with pyjs and include it into a html > > document and access its functions from the html file. > > > > If I understand correctly pyjampiler would be the tool of choice for > that > > purpose. > > pyjscompile is actually the tool to use ... save any reasonable > objection i'll be nixing pyjampiler to prevent confusion in the > future. > > using the tools in this manner (direct interaction from JS) is not > currently supported or even straightforward to explain and/or > accomplish. in short, you have translated only a single module, and > are missing the the basic bootstrapping libraries that implement the > actual python language, along with the entire python stdlib. i > wouldn't expect much to work :-) > > start with `pyjsbuild` first, and work your way from there to understand > more. > > -- > > C Anthony >
Thanx for the fast reply. I think a have a good idea how pyjsbuild works, but i ran into some trouble using pyjamas and svg. see the new post: https://groups.google.com/forum/#!topic/pyjs-users/H6moEfmhAto i though using pyjampiler would be a workaround to not use the DOM-wrapper. But right now im a little bit clueless how to go on with pyjamas, but maybe the svg problem can be solved. thanks again --