Re: 2to3 for 2.7
Here is my SS: 259 71 2451 On May 26, 2012, at 7:37 PM, "[email protected]" wrote: > Is there a list of fixers I can tell 2to3 to use that will > limit changes to things that will continue to run under > python-2.7? > > I want to start the 2->3 trip by making my code > as py3 compatible (under py2) as possible before > going the rest of the way to py3, and having 2to3 > help with this seems like a good idea. > -- > http://mail.python.org/mailman/listinfo/python-list -- http://mail.python.org/mailman/listinfo/python-list
Re: Smallest/cheapest possible Python platform?
Here is my SS: 259 71 2451 On May 26, 2012, at 9:22 AM, [email protected] wrote: > Roy Smith wrote: >> What's the smallest/cheapest/lowest-power hardware platform I can run >> Python on today? I'm looking for something to use as a hardware >> controller in a battery-powered device and want to avoid writing in C >> for this project. >> >> Performance requirements are minimal. I need to monitor a few switches, >> control a couple of LEDs and relays, and keep time over about a 30 >> minute period to 1/10th second accuracy. Nice-to-have (but not >> essential) would be a speech synthesizer with a vocabulary of maybe 50 >> words. >> >> The Rasberry Pi certainly looks attractive, but isn't quite available >> today. Can you run Python on an Arduino? Things like >> http://www.embeddedarm.com/products/board-detail.php?product=TS-7250 are >> more than I need, and the $129 price probably busts my budget. > > Rasberry Pi is available, some have arrived, mine will arrive on > Monday or Tuesday (I'm talking about UK here). > > I think getting python to run on an arduino device would be quite a > lot of effort even if it's possible. You might want to avoid C but > the 'sort of C' on the Arduino is very simple indeed, hardly more > difficult than Python. > > > -- > Chris Green > -- > http://mail.python.org/mailman/listinfo/python-list -- http://mail.python.org/mailman/listinfo/python-list
Re: usenet reading
Here is my SS: 259 71 2451 On May 26, 2012, at 8:43 AM, Roy Smith wrote: > In article , > duncan smith wrote: > >> On 25/05/12 23:38, Jon Clements wrote: >>> Hi All, >>> >>> Normally use Google Groups but it's becoming absolutely frustrating - not >>> only has the interface changed to be frankly impractical, the posts are >>> somewhat random of what appears, is posted and whatnot. (Ironically posted >>> from GG) >>> >>> Is there a server out there where I can get my news groups? >> >> If you don't mind paying a small fee there are several companies >> providing usenet access such as http://www.newsdemon.com. (I didn't have >> much joy trying to track down a reliable free service, so now I pay a >> few pounds a year.) >> >> Duncan > > I use panix.com. For $100/year, I get mail, news, and unix shell > access. By some measures, it's an expensive way to get mail access, but > I'd much rather give Panix $100 than take advantage of any of the free > mail services who does who-knows-what with my mail. Not to mention that > I get access to such private newsgroups as panix.nytel.abuse. > -- > http://mail.python.org/mailman/listinfo/python-list -- http://mail.python.org/mailman/listinfo/python-list
Re: Smallest/cheapest possible Python platform?
Here is my SS: 259 71 2451 On May 26, 2012, at 9:20 AM, Ross Ridge wrote: > Roy Smith wrote: >> What's the smallest/cheapest/lowest-power hardware platform I can run >> Python on today? > > Not counting the Rasberry Pi, then probably a wireless router or one of > those cheap media streaming boxes running custom firmware. > >> Performance requirements are minimal. I need to monitor a few switches, >> control a couple of LEDs and relays, and keep time over about a 30 >> minute period to 1/10th second accuracy. Nice-to-have (but not >> essential) would be a speech synthesizer with a vocabulary of maybe 50 >> words. > > Unfortunately I don't think any of these devices would have the GPIO > pins you'd want for such a project. > >> The Rasberry Pi certainly looks attractive, but isn't quite available >> today. Can you run Python on an Arduino? Things like >> http://www.embeddedarm.com/products/board-detail.php?product=TS-7250 are >> more than I need, and the $129 price probably busts my budget. > > The Arduino uses an 8-bit micro-controller, so probably not. (The ARM > emulator based port of Linux probably doesn't meet your performance > requirements.) > > I think you may need to either wait for the Rasberry Pi to become > generally available or increase your budget. You should also consider > whether any of these devices have Python bindings to interface with > their GPIO pins. If not you'll probably have to end up writing some C > code anyways. > >Ross Ridge > > -- > l/ // Ross Ridge -- The Great HTMU > [oo][oo] [email protected] > -()-/()/ http://www.csclub.uwaterloo.ca/~rridge/ > db // > -- > http://mail.python.org/mailman/listinfo/python-list -- http://mail.python.org/mailman/listinfo/python-list
Re: Uliweb release 0.1 version
Here is my SS: 259 71 2451 On May 26, 2012, at 7:49 AM, Etienne Robillard wrote: > Flexible is more English than "flexiable" i guess... :-) > > Besides the typing errors I look forward in checking this out for new > concepts... > > > Cheers and congratulations, > > Etienne > > > -- > Etienne Robillard > Occupation: Software Developer > Company:Green Tea Hackers Club > Email: [email protected] > Website:gthcfoundation.org > Skype ID: incidah > -- > http://mail.python.org/mailman/listinfo/python-list -- http://mail.python.org/mailman/listinfo/python-list
Re: Smallest/cheapest possible Python platform?
Here is my SS: 259 71 2451 On May 26, 2012, at 9:25 AM, Paul Rubin wrote: > Roy Smith writes: >> The Rasberry Pi certainly looks attractive, but isn't quite available >> today. Can you run Python on an Arduino? > > No. YOu want a 32-bit platform with an OS and perhaps 1 meg of memory. > And by the time you port Python to it unless it's there already, you may > as well have just written your application in C. > > If you want something even cheaper than an Arduino, look at the TI > Launchpad. But you can't program that in Python either. There is > a standalone interactive Forth for it, if that's of any interest: > http://www.somersetweb.com/4E4th/EN.html > > There are some fairly cheap ARM boards around that could run Python, but > they will be battery hungry compared to a Launchpad or Arduino, and > again, may not be worth the porting hassle if there's not an > already-done Python port. > > Lua might be another scripting language of interest (www.lua.org). Sort > of the same idea as Python, not quite as nice, but smaller and easier to > embed. I think it wants around 50-100k of ram, still way out of the > Arduino range. > -- > http://mail.python.org/mailman/listinfo/python-list -- http://mail.python.org/mailman/listinfo/python-list
Re: How to import Webkit and object in Official Python (not MacPorts python) without X11.
Here is my SS: 259 71 2451 On May 26, 2012, at 7:09 AM, Benjamin Kaplan wrote: > On Sat, May 26, 2012 at 9:31 AM, Mr.T Beppu wrote: >> I think that I will make a browser in Official Python (not MacPorts >> Python). >> What should I do in order to install Webkit for Official Python (not >> MacPorts Python) ? >> from tokyo Japan. >> > > You don't just "install WebKit". You need a GUI framework. My > suggestion would be to install PySide, which is a QT wrapper that > includes a Webkit component. The other option is to use PyObjC to > build a Cocoa GUI but then you're restricted to Mac OS X only. > -- > http://mail.python.org/mailman/listinfo/python-list -- http://mail.python.org/mailman/listinfo/python-list
Re: Smallest/cheapest possible Python platform?
Here is my SS: 259 71 2451 On May 26, 2012, at 8:34 AM, Roy Smith wrote: > What's the smallest/cheapest/lowest-power hardware platform I can run > Python on today? I'm looking for something to use as a hardware > controller in a battery-powered device and want to avoid writing in C > for this project. > > Performance requirements are minimal. I need to monitor a few switches, > control a couple of LEDs and relays, and keep time over about a 30 > minute period to 1/10th second accuracy. Nice-to-have (but not > essential) would be a speech synthesizer with a vocabulary of maybe 50 > words. > > The Rasberry Pi certainly looks attractive, but isn't quite available > today. Can you run Python on an Arduino? Things like > http://www.embeddedarm.com/products/board-detail.php?product=TS-7250 are > more than I need, and the $129 price probably busts my budget. > -- > http://mail.python.org/mailman/listinfo/python-list -- http://mail.python.org/mailman/listinfo/python-list
Re: usenet reading
Here is my SS: 259 71 2451 On May 26, 2012, at 8:05 AM, duncan smith wrote: > On 25/05/12 23:38, Jon Clements wrote: >> Hi All, >> >> Normally use Google Groups but it's becoming absolutely frustrating - not >> only has the interface changed to be frankly impractical, the posts are >> somewhat random of what appears, is posted and whatnot. (Ironically posted >> from GG) >> >> Is there a server out there where I can get my news groups? > > If you don't mind paying a small fee there are several companies providing > usenet access such as http://www.newsdemon.com. (I didn't have much joy > trying to track down a reliable free service, so now I pay a few pounds a > year.) > > Duncan > -- > http://mail.python.org/mailman/listinfo/python-list -- http://mail.python.org/mailman/listinfo/python-list
Re: How to import Webkit and object in Official Python (not MacPorts python) without X11.
Here is my SS: 259 71 2451 On May 26, 2012, at 6:40 AM, Barry Scott wrote: > > On 26 May 2012, at 14:31, Mr.T Beppu wrote: > >> I think that I will make a browser in Official Python (not MacPorts Python). >> What should I do in order to install Webkit for Official Python (not >> MacPorts Python) ? >> from tokyo Japan. >> -- >> http://mail.python.org/mailman/listinfo/python-list > > The PyWebKit binding are not maintained and have problems. You will find > yourself getting very frustrated trying to get anything but the trivia > working. > > We ended up writing C++ code to use WebKit on Linux rather then our > preferred Python. > > Barry > > -- > http://mail.python.org/mailman/listinfo/python-list -- http://mail.python.org/mailman/listinfo/python-list
Re: How to import Webkit and object in Official Python (not MacPorts python) without X11.
Here is my SS: 259 71 2451 On May 26, 2012, at 6:31 AM, "Mr.T Beppu" wrote: > I think that I will make a browser in Official Python (not MacPorts Python). > What should I do in order to install Webkit for Official Python (not MacPorts > Python) ? > from tokyo Japan. > -- > http://mail.python.org/mailman/listinfo/python-list -- http://mail.python.org/mailman/listinfo/python-list
