Welcome
Welcome to a320

You are currently viewing our boards as a guest, which gives you limited access to view most discussions and access our other features. By joining our free community, you will have access to post topics, communicate privately with other members (PM), respond to polls, upload content, and access many other special features. Registration is fast, simple, and absolutely free, so please, join our community today!

tiny python (tinypy) for dingux

Only for posting new Dingux software releases.

Moderator: Moderators

tiny python (tinypy) for dingux

Postby mrLogan on Tue Aug 11, 2009 7:10 pm

I was messing around and compiled tinypy for dingux along with its SDL proof of concept demo. Thought I would post it in case anyone was interested.

Warning the SDL demo julia.py works but it doesn't quit properly (what do you expect from proof of concept)
Attachments
tinypy.zip
(73.89 KiB) Downloaded 59 times
mrLogan
 
Posts: 89
Joined: Mon Aug 03, 2009 10:01 pm

Re: tiny python (tinypy) for dingux

Postby athlon4011 on Tue Aug 11, 2009 7:17 pm

hmm python scripts on dingux. this could open up a lot of possiblities.
User avatar
athlon4011
 
Posts: 50
Joined: Thu Jul 23, 2009 7:39 pm
Highscores: 4

Re: tiny python (tinypy) for dingux

Postby Haas on Tue Aug 11, 2009 8:03 pm

Before any one else start requesting stuff :P
I made a calculator topic well there a lot of python calculators so this would be awesome.
Check this out:
http://www.java2s.com/Code/Python/Appli ... ulator.htm
Haas
Moderator
 
Posts: 108
Joined: Thu Jul 02, 2009 7:18 pm

Re: tiny python (tinypy) for dingux

Postby mrLogan on Tue Aug 11, 2009 9:09 pm

Haas wrote:Before any one else start requesting stuff :P
I made a calculator topic well there a lot of python calculators so this would be awesome.
Check this out:
http://www.java2s.com/Code/Python/Appli ... ulator.htm



I think I did read this request somewhere else and I am curious about how you see it working? Calculators have a lot of buttons but dingoo only a few. I would have thought this kind of application would probably better for a device with touch screen.
mrLogan
 
Posts: 89
Joined: Mon Aug 03, 2009 10:01 pm

Re: tiny python (tinypy) for dingux

Postby ezelkow1 on Tue Aug 11, 2009 9:11 pm

just wonderin whats the difference between tinypy and regular python? I had included python in one of the earlier toolchain/rootfs's though I dont think its in booboo's latest.
ezelkow1
 
Posts: 84
Joined: Tue Apr 28, 2009 11:58 pm

Re: tiny python (tinypy) for dingux

Postby Haas on Tue Aug 11, 2009 9:30 pm

mrLogan wrote:
Haas wrote:Before any one else start requesting stuff :P
I made a calculator topic well there a lot of python calculators so this would be awesome.
Check this out:
http://www.java2s.com/Code/Python/Appli ... ulator.htm



I think I did read this request somewhere else and I am curious about how you see it working? Calculators have a lot of buttons but dingoo only a few. I would have thought this kind of application would probably better for a device with touch screen.

You can just navigate over the buttons like an normal calculator. Maybe it is a good idea to turn the dingoo 90 degree and use select to enter and the dpad to go to the buttons. Maybe xyba to select buttons and the dpad to navigate the formulas. Start to enter, and select as backspace.
The only big problem is will it fit the screen? But if you see how much information there is in the terminal this shouldn't be a problem.
Another problem is off-course some one that can do this, python looks very accessible for beginner programmers, so if it runs on Dingoo I will try to throw a rock at it :)
I'm also a Blender user so it would be cool to learn it a bit.
Haas
Moderator
 
Posts: 108
Joined: Thu Jul 02, 2009 7:18 pm

Re: tiny python (tinypy) for dingux

Postby mrLogan on Tue Aug 11, 2009 9:37 pm

ezelkow1 wrote:just wonderin whats the difference between tinypy and regular python? I had included python in one of the earlier toolchain/rootfs's though I dont think its in booboo's latest.



I am not an expert but I think it's size. It's stripped down to the absolute minimum. It will run python scripts but doesn't have pythons extensive libraries. I think if python was going to be included it would be a good idea to build in the modules that are already in dingux like SDL . That way we could use it to quickly build SDL apps for the dingux. Games would not be fast but you could knock up menu, file selectors, utilities etc etc in no time.
mrLogan
 
Posts: 89
Joined: Mon Aug 03, 2009 10:01 pm

Re: tiny python (tinypy) for dingux

Postby ezelkow1 on Tue Aug 11, 2009 10:01 pm

That was pretty much my reasoning behind including it earlier since those things you named would be able to be done in no time flat. I just wasnt sure on graphics capabilities since there would be no X you couldnt use tcl/tk/qt/whatever else and I didnt know there was an sdl lib for python.
ezelkow1
 
Posts: 84
Joined: Tue Apr 28, 2009 11:58 pm

Re: tiny python (tinypy) for dingux

Postby lordbla on Wed Aug 12, 2009 12:24 am

hmmm... didn't use python for a while, but it would really be very useful for dingoo-development.
Also remember that python is only slow, if your intensive operations are coded in python. If you use methods implemented in a lower-level language, like most things in pygame or python's math-library, overhead is quite low.
lordbla
 
Posts: 30
Joined: Sun Aug 02, 2009 11:55 pm

Re: tiny python (tinypy) for dingux

Postby ainu on Wed Aug 12, 2009 6:14 am

Sample use pygame lib. Its cool, there are many screenshots of pygame games and programs on video.

Link
Dingoo Linux user & programmer from Russia
Sorry for my poor English
ainu
 
Posts: 35
Joined: Mon May 18, 2009 8:27 pm

Next

Return to Dingux Releases

Who is online

Users browsing this forum: No registered users and 0 guests