Re: Beginner Questions
Adam Walley <[email protected]> Mon, 15 Mar 2010 00:08:57 +0000
| Newsgroups | gmane.comp.python.windows-ce |
|---|---|
| Message-ID | <[email protected]> |
--===============1888896434== Content-Type: multipart/alternative; boundary=0016e6db66f9fd601b0481cbaf90 --0016e6db66f9fd601b0481cbaf90 Content-Type: text/plain; charset=ISO-8859-1 Hi, Remco. Thanks for spotting the bad link - I had taken it down to update the SDL version. Fixed it now. The 'wrapper' is a simple set of C functions that go between the SDL library and PythonCE's ctypes module, making it easy to call SDL functions from Python scripts. Python is probably a great choice as a first language, as it is so elegant. A lot can be achieved in a few lines of code. It is worth noting that it was originally a scripting language (not really for programming per se), but so much is now possible with it that the lines become blurred. The online docs for the Python language are pretty comprehensive, so I'm sure you will find what you need. Adam. On 14 March 2010 21:55, Remco Krijgsman <[email protected]> wrote: > Hi Adam, > > I'm new to python(ce) as well. I checked out your link and found the link "Get > the SDL 1.2.13 compiled for ARM processors here"<http://watersprite.awardspace.com/python/zip/SDL>to be dead. What exactly is this SDL? And what is the wrapper? > > I read your page and am also interested in getting devices like iPAQ's to > control stuff since the old ones are cheap and low power so it seems logical > to use them this way. I have a few 3600 and 3660's lying around somewhere. > But first I must read a couple of books like Invent Your Own Games with > Python to get a feel for the language and get some programming experience > since it's my first programming language. > > regards, > > Remco > > Op 3/14/2010 8:21 PM, Adam Walley schreef: > > Welcome, Christopher! > > I hope you like what you have seen so far with Python and PythonCE. To > answer your questions: > > - Yes, the setup executable is intended to work through Activesync, so next > time you connect Activesync will do the install on your device for you. > > - Running the setup executable directly on your device will not work > (because it is compiled to run on a PC and then transfer through Async). To > install directly on your device you need a CAB package (I seem to have one > for PythonCE 2.5 in my original install files so it is probably available > out there somewhere). > > - PythonCE is definitely not only for smartphones, although that is a > popular use for it. Any platform that runs Windows CE or Windows Mobile > should (hopefully) let you run PythonCE without any problems. PythonCE will > not run on Symbian or Android phones because PythonCE needs Microsoft's > operating system - there may be other Python packages for these platforms > (but that's not anything to do with this list). > > - Your objectives are not unreasonable, although depending on your exact > requirements you may find "stand-alone" to be a sticking point; the target > device will need to have PythonCE installed before any scripts will run on > it, and there is no method for making a single executable file from your > script (as you might do with a C compiler, for example). > > - Java and C experience will certainly be useful. > > - Documentation is mainly what you find on the wiki and sourceforge pages, > as well as the main Python pages (most things are implemented the same way > in PythonCE). Many things are covered in this list. > > I have some personal pages I put together, which may be of interest - > including how to record from the built-in microphone and save out to a WAV > file, as well as stylus input. There is also information about using the > system's notifications to schedule a script to run at a certain time. Take a > look here: http://watersprite.awardspace.com/python > > Happy Python-ing! > > Adam > > On 14 March 2010 00:36, Christopher Gray <[email protected]> wrote: > >> Hello: >> >> I am new to Python and even newer to PythonCE. Here are a couple of >> relatively elementary questions. >> >> I found what looks to be the newest download called pythoncesetup.exe. It >> ran on my PC under Windows XP and upon finishing says it will install >> PythonCE the next time I attach my PDA. Is this done somehow through >> ActiveSync? >> >> I tried running pythoncesetup.exe on my PDA directly using a thumb drive. >> I got an error that the program was not a valid win32 application. Is this >> expected behavior? >> >> On the Python wikki, I found a lot of files that seem to be a smartphone >> application. Is PythonCE only for smartphones? What about Symbian phones >> or the Google phone and droids? >> >> Right now, I'm mostly learning Python using the ActiveState Python 2.6 on >> a PC running XP and Ubuntu Linux. My longer term objectives are to: >> >> Create stand-alone applications on mobile phones that allow blind, >> visually impaired and numeracy impaired people to gather data from medical >> equipment and have it spoken from their cell phones or PDAs >> >> Explore the use of PythonCE on a braille PDA running Windows CE 6. >> >> Do these seem like reasonable objectives? >> >> I have experience programming in Java and C, assisted in the >> implementation of the FORTH language on a braille-based PDA, so am not a >> complete stranger to this work. >> >> Any advice, particularly pointers to documentation, would really be >> appreciated. >> >> Thanks. >> >> Chris >> >> >> ---------------------------------------- >> Christopher Gray, President >> Bay Area Digital >> >> Promoting good health with innovative technology and superior health >> products >> >> 870 Market Street, #653 >> San Francisco, CA 94102 >> Phone: (415) 217-6667 >> fax: (415) 962-2520 >> Email: [email protected] >> >> Visit my blog at http://ChristopherGray.squarespace.com >> >> Visit me on Facebook by linking to http://www.facebook.com/cpgray >> >> _______________________________________________ >> PythonCE mailing list >> [email protected] >> http://mail.python.org/mailman/listinfo/pythonce >> > > > _______________________________________________ > PythonCE mailing [email protected]://mail.python.org/mailman/listinfo/pythonce > > --0016e6db66f9fd601b0481cbaf90 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Hi, Remco.<br><br>Thanks for spotting the bad link - I had taken it down to= update the SDL version. Fixed it now.<br><br>The 'wrapper' is a si= mple set of C functions that go between the SDL library and PythonCE's = ctypes module, making it easy to call SDL functions from Python scripts.<br= > <br>Python is probably a great choice as a first language, as it is so eleg= ant. A lot can be achieved in a few lines of code. It is worth noting that = it was originally a scripting language (not really for programming per se),= but so much is now possible with it that the lines become blurred. The onl= ine docs for the Python language are pretty comprehensive, so I'm sure = you will find what you need.<br> <br>Adam.<br><br><br><div class=3D"gmail_quote">On 14 March 2010 21:55, Rem= co Krijgsman <span dir=3D"ltr"><<a href=3D"mailto:[email protected]">remc= [email protected]</a>></span> wrote:<br><blockquote class=3D"gmail_quote" sty= le=3D"border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex;= padding-left: 1ex;"> =20 <div bgcolor=3D"#ffffff" text=3D"#000000"> Hi Adam,<br> <br> I'm new to python(ce) as well. I checked out your link and found the link <font size=3D"2" face=3D"arial"><font color=3D"#000000">"Get the = SDL 1.2.13 compiled for ARM processors <a href=3D"http://watersprite.awardspace= .com/python/zip/SDL" target=3D"_blank">here"</a></font></font> to be dead. What exactly is this SDL? And what is the wrapper?<br> <br> I read your page and am also interested in getting devices like iPAQ's to control stuff since the old ones are cheap and low power so it seems logical to use them this way. I have a few 3600 and 3660's lying around somewhere. But first I must read a couple of books like Invent Your Own Games with Python to get a feel for the language and get some programming experience since it's my first programming language.<br> <br> regards,<br> <br> Remco<br> <br> Op 3/14/2010 8:21 PM, Adam Walley schreef: <div><div></div><div class=3D"h5"><blockquote type=3D"cite">Welcome, Christ= opher!<br> <br> I hope you like what you have seen so far with Python and PythonCE. To answer your questions:<br> <br> - Yes, the setup executable is intended to work through Activesync, so next time you connect Activesync will do the install on your device for you.<br> <br> - Running the setup executable directly on your device will not work (because it is compiled to run on a PC and then transfer through Async). To install directly on your device you need a CAB package (I seem to have one for PythonCE 2.5 in my original install files so it is probably available out there somewhere).<br> <br> - PythonCE is definitely not only for smartphones, although that is a popular use for it. Any platform that runs Windows CE or Windows Mobile should (hopefully) let you run PythonCE without any problems. PythonCE will not run on Symbian or Android phones because PythonCE needs Microsoft's operating system - there may be other Python packages for these platforms (but that's not anything to do with this list).<br> <br> - Your objectives are not unreasonable, although depending on your exact requirements you may find "stand-alone" to be a sticking po= int; the target device will need to have PythonCE installed before any scripts will run on it, and there is no method for making a single executable file from your script (as you might do with a C compiler, for example).<br> <br> - Java and C experience will certainly be useful.<br> <br> - Documentation is mainly what you find on the wiki and sourceforge pages, as well as the main Python pages (most things are implemented the same way in PythonCE). Many things are covered in this list.<br> <br> I have some personal pages I put together, which may be of interest - including how to record from the built-in microphone and save out to a WAV file, as well as stylus input. There is also information about using the system's notifications to schedule a script to run at a certain time. Take a look here: <a href=3D"http://watersprite.awardspace.co= m/python" target=3D"_blank">http://watersprite.awardspace.com/python</a><br= > <br> Happy Python-ing!<br> <br> Adam<br> <br> <div class=3D"gmail_quote">On 14 March 2010 00:36, Christopher Gray <span= dir=3D"ltr"><<a href=3D"mailto:[email protected]" target=3D"_blan= k">[email protected]</a>></span> wrote:<br> <blockquote class=3D"gmail_quote" style=3D"border-left: 1px solid rgb(204= , 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">Hello:<br> <br> I am new to Python and even newer to PythonCE. =A0Here are a couple of relatively elementary questions.<br> <br> I found what looks to be the newest download called pythoncesetup.exe. =A0It ran on my PC under Windows XP and upon finishing says it will install PythonCE the next time I attach my PDA. =A0Is this done somehow through ActiveSync?<br> <br> I tried running pythoncesetup.exe on my PDA directly using a thumb drive. =A0I got an error that the program was not a valid win32 application. =A0Is this expected behavior?<br> <br> On the Python wikki, I found a lot of files that seem to be a smartphone application. =A0Is PythonCE only for smartphones? =A0What about Symbian phones or the Google phone and droids?<br> <br> Right now, I'm mostly learning Python using the ActiveState Python 2.6 on a PC running XP and Ubuntu Linux. =A0My longer term objectives are to:<b= r> <br> =A0 =A0 Create stand-alone applications on mobile phones that allow blind, visually impaired and numeracy impaired people to gather data from medical equipment and have it spoken from their cell phones or PDAs<br> <br> =A0 =A0 Explore the use of PythonCE on a braille PDA running Windows CE 6.<= br> <br> Do these seem like reasonable objectives?<br> <br> I have experience programming in Java and C, assisted in the implementation of the FORTH language on a braille-based PDA, so am not a complete stranger to this work.<br> <br> Any advice, particularly pointers to documentation, would really be appreciated.<br> <br> Thanks.<br> <br> Chris<br> <br> <br> ----------------------------------------<br> Christopher Gray, President<br> Bay Area Digital<br> <br> Promoting good health with innovative technology and superior health products<br> <br> 870 Market Street, #653<br> San Francisco, CA 94102<br> Phone: =A0(415) 217-6667<br> fax: =A0 =A0(415) 962-2520<br> Email: =A0<a href=3D"mailto:[email protected]" target=3D"_blank">chri= [email protected]</a><br> <br> Visit my blog at <a href=3D"http://ChristopherGray.squarespace.com" target= =3D"_blank">http://ChristopherGray.squarespace.com</a><br> <br> Visit me on Facebook by linking to <a href=3D"http://www.facebook.com/cpgra= y" target=3D"_blank">http://www.facebook.com/cpgray</a><br> <br> _______________________________________________<br> PythonCE mailing list<br> <a href=3D"mailto:[email protected]" target=3D"_blank">PythonCE@pytho= n.org</a><br> <a href=3D"http://mail.python.org/mailman/listinfo/pythonce" target=3D"= _blank">http://mail.python.org/mailman/listinfo/pythonce</a><br> </blockquote> </div> <br> <pre><fieldset></fieldset> _______________________________________________ PythonCE mailing list <a href=3D"mailto:[email protected]" target=3D"_blank">[email protected]= g</a> <a href=3D"http://mail.python.org/mailman/listinfo/pythonce" target=3D"_bla= nk">http://mail.python.org/mailman/listinfo/pythonce</a> </pre> </blockquote> </div></div></div> </blockquote></div><br> --0016e6db66f9fd601b0481cbaf90-- --===============1888896434== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ PythonCE mailing list [email protected] http://mail.python.org/mailman/listinfo/pythonce --===============1888896434==--