Hi:
*Introductory information for the question:*
For the Leo-tutorial Im developing (yes, its taking more than expected
> hehe) I have decided to use kivy as the standard-default GUI.
> Some of the reasons for this is that, for any app we make through the
> rapid-app-creator im making for Leo, thanks to kivy, those apps will be
> directly available to Android, IOs, windows, linux, raspbery pi, and many
> other platforms.
> So when the user quickly develops an app through the Leo app creator Im
> making, he will be developing it for multi-platform instead of doing so
> only for Leo. As a side note, I will be able to also deploy the rapid
> app-creator in multi-platform, and since Its going to require very few
> writting (just namig the variables, the rest will be able to be done
> through buttons), we will be able to program with it in our android!!
> So far, already got Leo to make a GUI in kivy with a button, that when
> pressed will do "g.es('hello')" =)
> Well that was as simple as just installing kivy <http://kivy.org/#home>
> with this pre-packaged already compiled
> exe<http://www.lfd.uci.edu/~gohlke/pythonlibs/#kivy> then
> using a very basic button script with "g.es" as command.
*Well the question of this post is:*
For kivy to work, it needs some .kv files to be accesible in the same
> folder as the python script that is calling them. So, if I use Control+B to
> execute the python script, they wont be available (since the python script
> is created elsewhere) and the program wont be able to run.
> But if I go to the script actual file, and execute it, it will be executed
> in an external python, not through Leo, so they wont be able to interact
> (g.es command i am already using, just wont work).
> So, is there a way in which I could make the @auto sibilngs file nodes of
> the script be available for the script, and at the same time be executing
> it within Leo?
> I cant call the file of the .kv sibiling files since kivy requires those
> files to be in the same folder as the scrip.
> Thank you very much.
A similar case would be, for instance, executing a python script through
Leo that needs of other python scripts, sibiling @auto nodes, to be in the
same folder as that one, but without the possibility of calling them
through their path.
--
You received this message because you are subscribed to the Google Groups
"leo-editor" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/leo-editor.
For more options, visit https://groups.google.com/groups/opt_out.