Active Topics

 


Reply
Thread Tools
rm42's Avatar
Posts: 963 | Thanked: 626 times | Joined on Sep 2009 @ Connecticut, USA
#21
Originally Posted by Texrat View Post
This will be EXTREMELY useful!!!
Any help will be appreciated.
__________________
-- Worse than not knowing is not wanting to know! --

http://temporaryland.wordpress.com/
 
Texrat's Avatar
Posts: 11,700 | Thanked: 10,045 times | Joined on Jun 2006 @ North Texas, USA
#22
I'm just now digging into Python... may take me a while...
__________________
Nokia Developer Champion
Different <> Wrong | Listen - Judgment = Progress | People + Trust = Success
My personal site: http://texrat.net
 
rm42's Avatar
Posts: 963 | Thanked: 626 times | Joined on Sep 2009 @ Connecticut, USA
#23
Originally Posted by Texrat View Post
I'm just now digging into Python... may take me a while...
Are you already in the Python for Newbies on Maemo - Google Wave?
__________________
-- Worse than not knowing is not wanting to know! --

http://temporaryland.wordpress.com/
 
Texrat's Avatar
Posts: 11,700 | Thanked: 10,045 times | Joined on Jun 2006 @ North Texas, USA
#24
Originally Posted by rm42 View Post
Are you already in the Python for Newbies on Maemo - Google Wave?
Nope, I just started reading a book.
__________________
Nokia Developer Champion
Different <> Wrong | Listen - Judgment = Progress | People + Trust = Success
My personal site: http://texrat.net
 
rm42's Avatar
Posts: 963 | Thanked: 626 times | Joined on Sep 2009 @ Connecticut, USA
#25
Originally Posted by Texrat View Post
Nope, I just started reading a book.
Well you are welcome to join. I would love to hear your opinion. If you are interested, send me a PM.
__________________
-- Worse than not knowing is not wanting to know! --

http://temporaryland.wordpress.com/
 
rm42's Avatar
Posts: 963 | Thanked: 626 times | Joined on Sep 2009 @ Connecticut, USA
#26
A tip for all those using this wave: Performance of the Wave is incredibly better on Chrome. Must be those supper dupper javascript optimizations.
__________________
-- Worse than not knowing is not wanting to know! --

http://temporaryland.wordpress.com/
 
Posts: 376 | Thanked: 78 times | Joined on Sep 2009
#27
Hi All,

This may be another stupid question, but I've read that Python runs with an "Interpreter" so it doesn't need compiling. Great, I can write something click Run (or Execute or whatever) and test my code straight away. But I'm missing a link somewhere, how does it work for the end user?

e.g. I could write a windows App in VB, and compile it to an exe (that either runs standalone or installs an App)

If I write an app or widget for the N900, I'd not expect a user to know how to run the script. So how does it get compiled and added to the app menu/widget menu/etc?

Sorry again if this seems a really silly question, but I've googled and must be googling using hte wrong terms or something because I can't find anything that explains that final step.

Many thanks in advance for any replies.
 
rm42's Avatar
Posts: 963 | Thanked: 626 times | Joined on Sep 2009 @ Connecticut, USA
#28
Originally Posted by Dexter1759 View Post
Hi All,

This may be another stupid question, but I've read that Python runs with an "Interpreter" so it doesn't need compiling. Great, I can write something click Run (or Execute or whatever) and test my code straight away. But I'm missing a link somewhere, how does it work for the end user?

e.g. I could write a windows App in VB, and compile it to an exe (that either runs standalone or installs an App)

If I write an app or widget for the N900, I'd not expect a user to know how to run the script. So how does it get compiled and added to the app menu/widget menu/etc?

Sorry again if this seems a really silly question, but I've googled and must be googling using hte wrong terms or something because I can't find anything that explains that final step.

Many thanks in advance for any replies.
From the wave:
"The interpreter must, either be installed on the computer that needs to run the Python program, or the Python program must be packaged in conjunction with the interpreter so that it can be run by computers without Python."

So, in the case of the N900, users of your app will need to install Python on their device. That shouldn't be a problem since there are surely going to be many other apps that require Python.

On Windows, I have used a package called Py2exe to create standalone Python programs. What it does is package the interpreter with your app so that end users don't have to bother installing Python. If you want to learn more about it see here:

http://www.py2exe.org/

But, again, for the N900 that should not be needed.

As for adding your app to the applications menu, I haven't gotten there yet, but that should not be too hard to do.
__________________
-- Worse than not knowing is not wanting to know! --

http://temporaryland.wordpress.com/

Last edited by rm42; 2009-12-07 at 19:16.
 
edgedemon's Avatar
Posts: 383 | Thanked: 209 times | Joined on Oct 2009 @ London UK
#29
Originally Posted by 412b View Post
Hmmm... The point of that wiki is not clear and obvious for me... There's nice tutorial and documentation on official Python site, there's 'Dive into Python', PythonInfo Wiki, PythonOnMaemo (there are really good examples and links to hildon-specific bindings, documentation etc.). So what's the point of making one more? Only if you want to get together all the information from those resources.
Remember: 'batteries included'
I agree with you in that there is alot of stuff out there, but from a noobs point of view - its not that friendly, people who can program often forget how alien the concept was to begin with so overlook alot of methodology that they think is so obvious it doesn't need explaining..
It never hurts to re-invent the wheel sometimes, if only for comparison purposes...
__________________
Hi! I'm Martin, a Maemo Greeter!

Useful links for newcomers: New members say hello, New users start here, Community subforum , Beginners'wiki page, Maemo5 101, Frequently Asked Questions (FAQ)

If I can help with anything else, just ask!
 
skalogre's Avatar
Posts: 327 | Thanked: 249 times | Joined on Sep 2009 @ Λεμεσιανός, ρε!
#30
How did not see this earlier? I have wanted to start learning Python... I even grabbed the Windows files last week. Have not done any coding since my days at the University (I don't count HTML as coding, heh) and that was ANSI C, MIPS/68k machine code/assembly so I am very very rusty... Anyone have an invite to spare for me - or some other way I can peruse the docs at least?
 
Reply

Thread Tools

 
Forum Jump


All times are GMT. The time now is 07:32.