Slashdot Log In
Yahoo! Launches Python Developer Center
Posted by
ScuttleMonkey
on Wed Aug 09, 2006 11:06 AM
from the snakes-on-a-page dept.
from the snakes-on-a-page dept.
SimonW writes "Yahoo! has launched a Python Developer Center as part of their Developer Network. The new site explains how to access Yahoo!'s many web service APIs using Python, and includes tutorials on using Python with REST, JSON, XML and RSS. The site joins Yahoo!'s existing developer centers for PHP and JavaScript."
This discussion has been archived.
No new comments can be posted.
The Fine Print: The following comments are owned by whoever posted them. We are not responsible for them in any way.
Full
Abbreviated
Hidden
Loading... please wait.
Javascript (Score:5, Insightful)
Python developer, I think this is great. I'm glad that Python is gaining more acceptance.
If the quality is on par with their Javascript library, we're in for a real treat
Re:Javascript The 'L' Word. (Score:2)
The web already has a Lisp dialect. It's called XML.
You're not helping things. (Score:5, Insightful)
And yes, Scheme is a great language, and I love it, but it's not the best thing for every situation. If you truly think one language is the best choice for everything, then you're a total idiot.
Also, no even slightly popular browser supports client side scripting with Scheme, and most web hosts don't offer server-side scripting with it either.
Parent
Re:Having it both ways (Score:2)
Re:Rogues gallery of languages (Score:2)
I could live with it (Score:2)
I can't say I have specialized in it, but I have used it. If you are going to program with side effects (OO) it doesn't get any simpler. I could live with it. How can anyone explain the madness of Python's fashionability over smalltalk?
Re:I could live with it (Score:2)
Re:I could live with it (Score:2)
Let's take an example:
I don't like C++ as a language. But I much rather develop a Win32 database front-end in C++ Builder rather than Python. Why? Because this specific tool was perfected for that specific task with a proper IDE and a great framework. Likewise, there are tasks for which Python is the bes
Re:Rogues gallery of languages (Score:2)
Oh is it?
Scheme with or without macros?
Scheme without macros is a laughably weak language compared to Python.
Scheme with macros can not be said to be simpler than Python.
More expressive? Show me any good expressive Scheme program that can not be expressed with round-the-same-length Python program, that is also easier on the eyes?
Misconceptions about scheme (Score:2)
Some do. I use yasos which is part of slib. You must be a C++ person who doesn't like macros because one of the priests of strong typing told you not to. A pity. Macros are an irreplacable feature being forgotten now in dumbed down languages. Read Paul Graham's On Lisp someday and get clued in.
???
Scheme supports Lists, vectors, and alists and iteration natively.
Re:Javascript (Score:2)
Re:Javascript (Score:2)
Actually try Python (Score:2)
Only after using it for a little while we understood that we can never go back.
The way I resisted whitespace in the beginning now seems so stupid..
There really is no real claim against significant whitespace except the knee-jerk reaction of ".. but
If you actually try to use Python, you'll never want to go back to cluttering your visual space with unnecessary noise {}.
There's always the ob
Re:Javascript (Score:2)
They're all good, they're all useful, and they're all readable (although Perl comes at the bottom of my list.)
But your block-ending comment is inane. You can never know *what* block was ending (ie, what control or condition statement started the block) without scrolling up, indentation-dependant or curly-brace dependant. You must use *really* fancy closing brakets; the kind that actually contain meta-data on the block they're closing or something.
I kinda li
Whython (Score:3, Interesting)
I wonder why they've made this foray into the Python world? I know they decided to focus on PHP a few years back. Did they find some tasks were easier to accomplish in Python? Or are they simply trying to reach out to another developer community?
2004 (Score:2, Funny)
Re:Whython (Score:3, Informative)
Re:Here's to progress (Score:2)
No, providing a few dev tools does not make past mistakes 'better'. But it does show they can actually care.
Yawn. (Score:2, Funny)
Guido! Let my whitespace go!
Re:Yawn. (Score:3, Funny)
Snakes and a Train?
Whitespace (Score:5, Insightful)
I know everybody gets hung up on the whitespace thing when they look at Python. But you know what? Once you start actually coding in it for any significant amount of time, it's not a big deal. When you first start, I know you expect it to be really annoying, but that simply doesn't turn out to be the case. The supposed problem evaporates.
Every time you hear anybody moan about Python's significant whitespace, ask them how long they've spent actually writing Python. You'll see the same thing as I do - that virtually everybody complaining has never given Python a chance, and that virtually everybody who has given Python a chance has realised that the significant whitespace isn't a big deal.
Parent
Re:Whitespace (Score:2)
Re:Whitespace (Score:2, Informative)
Underscores! __init__ __new__ __getattr__ __setattr__ __len__ __getitem__ . . .
range(1,5) = [1, 2, 3, 4]
The list goes on and on and on and on and on. Python has an incredible number of infuriating misfeatures for such a useful language.
Python sort of pretends to be a functional language, and you can do a lot
Re:Yawn. (Score:2, Funny)
Re:Yawn. (Score:2)
Abstraction || Versatility
That's what I thought too. I was very skeptical until I actually started learning rails. I now see why it is getting very popular, because it takes advantage of some of the unique aspects of Ruby to blur that dividing line. It actually provides both abstraction and versatility. You get a lot of help out of the box or through an increasing number of plugins, but there are also convenient hooks to customize apps in pretty much any way you want.
Howto (Score:4, Informative)
Furthermore, unlike their previous offerings, they have released little new code here. The only code they have released is an API to their search engine. The rest seem to be HOWTOs on how to python to access their services.
Still good info though. Thanks
Value of their feeds? (Score:4, Interesting)
While browsing through this, I noticed the following in ther Weather RSS feed page:
The feeds are provided free of charge for use by individuals and non-profit organizations for personal, non-commercial uses.
and then
Yahoo! also reserves the right to require you to cease distributing these feeds at any time for any reason.
So, while it's cool and all, is there any value to using their weather RSS feed (and I assume it's similar with other services), beyond my ability to play with them? I mean, even I'm not making any money off it, presumably, if I put the effort in accessing those feeds, I expect them to be available to me in the future? Or do they provide a paid-for version for this?
Re:Value of their feeds? (Score:2)
I would imagine that its just
Re:Value of their feeds? (Score:4, Insightful)
Your expectations seem to be ever so slightly unrealistic.
Parent
Re:Value of their feeds? (Score:2)
Great, and good packages (Score:5, Informative)
Not only did they release a nice guide, but the guide is actually good: while the first XML library they talk about in XML parsing is xml.dom.minidom, they also explain how to use the XML API with effbot's ElementTree (and link to both ElementTree and cElementTree), which is more than likely the best Python XML library. And the recommend UFP (Universal Feed Parser) for RSS parsing.
The worst thing you can say about them is that they did their homework, kudos to the Yahoo guys.
Re:Great, and good packages (Score:2)
Not only is your sentence redundant, but your sentence is actually redundant.
Re:Great, and good packages (Score:2)
Snakes are naturally quiet (Score:2, Interesting)
Which is fine with me. As long as Yahoo and other outlets keep that in mind that is. Python is no
Re:Snakes are naturally quiet (Score:2)
Re:Snakes are naturally quiet (Score:3, Informative)
So the
Re:Snakes are naturally quiet (Score:2)
Re:Snakes are naturally quiet (Score:2)
I also am having a hard time recalling any good OReilly Python books that came out recently. That may have something to do with this as well.
creator of Python works at Google (Score:2)
Re:How refreshing! (Score:4, Funny)
Parent
Re:How refreshing! (Score:3, Insightful)
Regards,
Steve
Re:How refreshing! (Score:5, Interesting)
What Yahoo is doing is great, but you're not giving Google nearly enough credit.
You might be right. But I've had the chance to use the Web API's for Yahoo, Google, and MSN. Yahoo's Web Search API has been much easier to use than Google's or MSN's. I know there are many other API's to use than just web search, but I've been impressed with what I've seen from Yahoo, more so than from the others.
Direction is everything, and you have to admit Yahoo has been moving in the right direction lately. Here's to hoping they don't lose focus of what's giving them such good publicity! =)
Parent
Re:How refreshing! (Score:2)
Need I remind you about the X10 popups? That caused me to switch my home page over to Google and have never, ever looked back.
Perhaps Yahoo is just playing catchup to google with crap like search.yahoo.com and now this. Seems like they are no longer innovating but they are just copying.
Seen their new Mail client? Fully Ajax driven. Hmmm. Gmail anyone?
Re:FIXED (Score:2)
Uhh.. Not to nit-pick... ok, yes, to nit-pick (sorry!), I think Yahoo's competitors are saying "Don't be evil" [google.com] not "Do no evil".
You're not the only one making this mistake [googlefight.com].
Re:Is Python created by a religious person? (Score:3, Funny)
I don't know anything about Ruby's creator, but Larry Wall has always creeped me out too. I sure was happy when Python came along - a sensible language created by a logical Dutchman.
Matz said to be LDS (Score:2)
Re:Is Python created by a religious person? (Score:2)
Re:Is Python created by a religious person? (Score:3, Interesting)
Hard to do if you are a GNU user (Score:5, Funny)
You are narrowing your options considering who [stallman.org] who developed the initial versions of GCC.
Parent
Product Placement (Score:2)
Launch...?
Python....?
Snakes on a Plane!!!
Yep, it's another Product Placement deal. Pretty shameless -- all the searches shown in the movie start at yahoo.com, and yahoo.com plugs the movie right down to the programmer level. Pitiful.