Sign in or Join FriendFeed
FriendFeed is the easiest way to share online. Learn more »
Python

Python

The programming language
Michael R. Bernstein
imabonehead
A Quick Introduction to the Spring Python Framework — Developer.com - http://www.developer.com/open...
"The original Spring, written for Java, is a framework which at its heart uses an "Inversion of Control" container (IoC). Inside of Spring, are several subframeworks for handling aspect oriented programming(aop), Data Access Framework (Dao), transaction management, a object to relational mapping(orm), and other features. The SpringPython framework, is a port of the original Java framework. Mind you, the developers of SpringPython didn't do a "direct port of existing code" from the Java counterpart, but rather rewrote it using Python idioms." - imabonehead from Bookmarklet
Adriano
Android Scripting Environment :: for Python . [android-scripting in alpha] - http://code.google.com/p...
Android Scripting Environment :: for Python . [android-scripting in alpha]
"The Android Scripting Environment (ASE) brings scripting languages to Android by allowing you to edit and execute scripts and interactive interpreters directly on the Android device. These scripts have access to many of the APIs available to full-fledged Android applications, but with a greatly simplified interface. ASE is designed for developers and is alpha quality software." - Adriano from Bookmarklet
Uche Ogbuji
Moin on #WebFaction without exposing "index.cgi" in the header (updated recipe now supprots #openid) - http://forum.webfaction.com/viewtop...
Moin on #WebFaction without exposing "index.cgi" in the header (updated recipe now supprots #openid)
Adriano
Guido van Rossum :: Python in the Scientific World . [Py4Science, UC Berkeley] - http://neopythonic.blogspot.com/2009...
Guido van Rossum :: Python in the Scientific World . [Py4Science, UC Berkeley]
"Yesterday I attended a biweekly meeting of an informal UC Berkeley group devoted to Python in science (Py4Science), organized by Fernando Perez. The format (in honor of my visit) was a series of 4-minute lightning talks about various projects using Python in the scientific world (at Berkeley and elsewhere) followed by an hour long Q&A session. I was blown away by the wide variety of Python use for scientific work. It looks like Python (with extensions like numpy) is becoming a standard tool for many sciences that need to process large amounts of data, from neuroimaging to astronomy... [see list of very interesting TOPICS and projects]." \\ see also http://fperez.org/py4scie... which includes links \ Video at http://www.archive.org/details... - Adriano from Bookmarklet
Micah Wittman
Transfr - Python / Django, jQuery based file sharing web app. #OpenSource - http://haineault.com/projects/
"Transfr is a simple file sharing application developped in house at Centdessin Design. The first goal was to make the process of sharing files securely as easy as possible for our graphic designers and our clients. After years of using the FTP protocol to transfer files between our graphic designers and clients we got tired of the recurrents problems that can't be fixed with FTP." - Micah Wittman from Bookmarklet
Michael R. Bernstein
Freon
http://blog.teltub.com/2009... - A python str/repr thing: Call it a bug? A glitch?
Mengu
we are not able to use if var1 < var2, if var1 > var2, if var1 <= var2 and if var1 >= var2 in django templates. luckily there is smart_if. check it at: http://www.djangosnippets.org/snippet...
Mike Chelen
Peter Hoffmann
[Python-ideas] Proposal: Moratorium on Python language changes - Guido van Rossum - http://mail.python.org/piperma...
"I propose a moratorium on language changes. This would be a period of several years during which no changes to Python's grammar or language semantics will be accepted. The reason is that frequent changes to the language cause pain for implementors of alternate implementations (Jython, IronPython, PyPy, and others probably already in the wings) at little or no benefit to the average user (who won't see the changes for years to come and might not be in a position to upgrade to the latest version for years after)." - Peter Hoffmann from Bookmarklet
Yu-Jie Lin
Fwd: Thank you for giving me the opportunity to explain this to you - http://diveintomark.org/archive... (via http://friendfeed.com/versesa...)
Uche Ogbuji
Making the move from setuptools to distribute on my Mac. Notes here. #python - http://wiki.xml3k.org/UcheOgb...
Uche Ogbuji
Amara and #akara nigtlies now available so users don't need mercurial ftp://hg.akara.info/pub/nightlies/
Uche Ogbuji
Carl Trachte, doing some fine work coordinating diverse language pages for the #Python wiki, asked me for an #Igbo version of the stock example, which I provided, and is now posted. - http://wiki.python.org/moin...
Carl Trachte, doing some fine work coordinating diverse language pages for the #Python wiki, asked me for an #Igbo  version of the stock example, which I provided, and is now posted.
Too cool. - Maxamad (Amazigh)
FWIW: I used the Central #Igbo dialect, i.e. near Owerri town. And considering I'm an "aje-butta" my Igbo could always be considered suspect ;) - Uche Ogbuji
Peter Hoffmann
Introducing WebFinger and a python client - http://mrtopf.de/blog...
Mengu
Test a Python regular expression on text and get results: http://re-try.appspot.com/
benim degil, sansa bala buldum, kullaniyorum, gencler de bilsin, kullansin dedim :) - Mengu
API dökümantasyonuna biraz göz at mirat. - Emre Yılmaz
misal "keyword friends:mirat" seklinde yaparsan sadece arkadaslarinda arar, grupta aramaz. - Mengu
arkadaşlarının herhanbi bir gruptaki postu çıkar yine. - Emre Yılmaz
Mengu
imabonehead
"Today the Django project is issuing a set of releases to remedy a security issue. This issue was disclosed publicly by a third party on a high-traffic mailing list, and attempts have been made to exploit it against live Django installations; as such, we are bypassing our normal policy for security disclosure and immediately issuing patches and updated releases." - imabonehead from Bookmarklet
Uche Ogbuji
Front Range Pythoneers 2009 Unconference (FRUncon09) this weekend in #Boulder. #python #fruncon09. #Unconference Sat Oct 10 @ Google Boulder office, 2590 Pearl Street (Google will be sponsoring the event). Day 2 CodeJam Sun Oct 11 @ Bivio Software, 2701 Iris, Suite S, Boulder. Please RSVP (see wiki for link) - http://wiki.python.org/moin...
Front Range Pythoneers 2009 Unconference (FRUncon09) this weekend in #Boulder. #python #fruncon09. #Unconference Sat Oct 10 @ Google Boulder office, 2590 Pearl Street (Google will be sponsoring the event). Day 2 CodeJam Sun Oct 11 @ Bivio Software, 2701 Iris, Suite S, Boulder. Please RSVP (see wiki for link)
I have soccer games to coach so will not be there till 12:30 :/ #fruncon09 - Uche Ogbuji
Just got here. Nice digs, Google! Will be using identi.ca as a scratchpad #fruncon09 - Uche Ogbuji
Michael R. Bernstein
Rich out-of-the-box functionality; Zope uses Python; Zope uses an object database; Zope is very secure; Easy scalability; Ground-breaking technology. - Michael R. Bernstein from Bookmarklet
You know i have a love/hate relationship with Zope but since this is about the love let me add my own entries... - Joelle Nebbe (iphigenie)
Deployment - now i hope they havent changed that in newer versions, because deployment between a development and live server was an absolute dream. It would show you which things have changed, which might be different from the last sync too (thanks to versioning), and let you chose what to deploy. Not seen it done better on any platform I have used - Joelle Nebbe (iphigenie)
TAL - I would marry TAL (sorry R!). This is the one thing that can give a whole order of magnitude improvement in quality and productivity in a web production environment. Proper decoupling of design and development (when done right, of course). Seriously. Should be in every language and every framework. Every nasty surprise and day lost I have had due to Zope/Plone is easily redeemed... more... - Joelle Nebbe (iphigenie)
Who uses Zope? - Meryn Stol
more than I would have thought if the number of job enquiries that end up in my email are anything to go by. It's good for intranets needing multi lingual and workflow etc. Some newspaper portals. Large institutions and charities too. Easier out of the box than all the java portals, if you need a portal style site - Joelle Nebbe (iphigenie)
So mostly for internal use? - Meryn Stol
That's where it is used the most, but you also have external facing portals - say a city site or a government site. But I havent used Zope in ages, Michael will know better - Joelle Nebbe (iphigenie)
Meryn, Zope is used in many places. Plone is a popular CMS for both internal and public-facing sites that is built on top of Zope. There are also non-portal web apps like Zenoss that are Zope-based. - Michael R. Bernstein
And that is aside from projects that use Zope libraries for non-Zope (even non-web-app) purposes. - Michael R. Bernstein
true - i noticed the libraries even on minimalistic distros like Slitaz - had one of those "whats zope doing here" moment - Joelle Nebbe (iphigenie)
ĎÚβĨŐÚŚ Dod
During the last days of web.py 0.2, Weboid stopped working and I've started doing non-webpy stuff. Now, once again I need to write an OpenID enabled app, and web.py looks like a good platform for it, so here's a much leaner version of weboid that works with web.py 0.32 https://code.launchpad.net/~weboid... - ĎÚβĨŐÚŚ Dod from Bookmarklet
Amund Tveit
How to use C++ compiled Python for Amazon's Elastic Mapreduce - http://atbrox.com/2009...
imabonehead
Dive Into Python 3 available [LWN.net] - http://lwn.net/Article...
"Mark Pilgrim's Dive into Python has been updated for Python 3; the result is Dive into Python 3. It is licensed under the Creative Commons Attribution Sharealike license and downloadable as HTML, PDF, or straight from the Mercurial repository." - imabonehead from Bookmarklet
recommend chp. 13 on serializing Python objects http://diveintopython3.org/seriali... which had some interesting facts re v3 -- influenced warehouse http://yserial.sourceforge.net with SQLite. - Adriano
I like the reason he gives for making it look good in Lynx ;) - Maxamad (Amazigh)
Arnaldo M Pereira
Make a Python game in minutes with Gloss | TuxRadar - http://www.tuxradar.com/content...
"When Hudzilla isn't busy working on his free Mono tutorials using C#, he likes to hack on one of his pet Python projects: Gloss. It's hosted right here on TuxRadar and you may already have given it a try. If not, he wrote a short tutorial for PC Plus magazine a few months ago, and took the time to repurpose it for the web. So, if you fancy learning the fastest way to create Python games, read on as Hudzilla talks you through an example Gloss project..." - Arnaldo M Pereira from Bookmarklet
Adriano
faster cPython :: Unladen Swallow . [Collin Winter, 5 Sep 2009] - http://vimeo.com/6461983
faster cPython :: Unladen Swallow . [Collin Winter, 5 Sep 2009]
Play
from PyCon Argentina: "an optimization branch of cPython, intended to be fully compatible and significantly faster. GOALS: 1. produce a version of python at least 5x faster than cPython. 2. python application performance should be stable. 3. maintain source-level compatibility with cPython applications. 4. maintain source-level compatibility with cPython extension modules. 5. we do not want to maintain a python implementation forever; we view our work as a branch, not a fork." http://code.google.com/p... \\ enjoyable video -- almost a stand-up comedy routine based on the dynamic features of Python ;-) - Adriano from Bookmarklet
Even if Unladen Swallow never meets its goal of merging completely into CPython, I have to give big credit for the positive side effects of the project, mentioned at the end of the talk. CPython has already apparently incorporated many changes from their Q1 release, and as a result of needing to debug US, they contributed patches allowing the GNU Debugger (GDB) to hook into LLVM. Wonderful. - Chris Lasher
Overheard: Bing uses Hadoop..cool! - Hari
Peter Hoffmann
Python Project Howto — Python Project Howto - http://infinitemonkeycorps.net/docs...
"You have a pile of Python code. You think, “this could be useful to someone else.” You want to release it as an open-source project. You’ve come to the right place. This guide will help you release a high-quality Python project. The file layout below illustrates the correspondence between the components of a good Python project and the files you create. I’ll be using my googlemaps module as a running example." - Peter Hoffmann from Bookmarklet
Adriano
y_serial :: warehouse compressed Python objects with a SQL database . [py module] - http://etherpad.com/PA8Jp1089t
August 27 from Bookmarklet - Comments disabled - Share
Bret Taylor wrote a wonderful post about how Friendfeed uses MySQL to store schema-less data, which got me thinking about the details. Compressing pickled objects via zlib is straightforward, yet getting that BLOB in and out of a database is worth a module for Python programs requiring persistence. Currently its usefulness is getting arbitrary objects (for example, lists, dictionaries and classes) into a single compact SQLite file where tables can represent different projects. The next step is to separately index the contents, but for now an expedient retrieval remedy is to subquery appended notes, i.e. cherry-pick objects without the hassle of many scattered files and unpacking them. Feel free to comment directly on the code (it's publicly editable on Etherpad). - Adriano from Bookmarklet
a lot of comments there - Vezquex: God of FF
29 August, revision 8: Thanks for your suggestions. I've added some helper functions, but more importantly, now there's a quick example up front which demonstrates the entire compress/pickle/insert/subquery database cycle in a just FIVE lines of code -- really convenient, and I hope sufficiently documented. [30 Aug, rev 10: added tests, minor features.] - Adriano
nice Adriano, examples help me learn quickly. - Mark Essel
Wow, great work Adriano. I'm going to peruse the code this evening. - Jason Huebel
Thanks very much for the compliments. Today (2009-09-02 revision 15) I had to add another argument to functions which take a subquery in order to strictly conform to parameter substitutions per the DB-API designed to prevent SQL injection attacks. This is CRUCIAL; the EOF commentary shares the interesting details which I learned recently. #yserial - Adriano
so how is the module working for you? Have a great weekend! \\ 2009-09-05 revision 17: added objmaxglob to conveniently handle arbitrary number of conjunctive subqueries on notes... so refining search is easier. - Adriano
the code has *moved* to SourceForge http://yserial.sourceforge.net (download, discussion, bugs). Further comments at Hacker News http://news.ycombinator.com/item... Reddit http://www.reddit.com/r... Delicious http://delicious.com/url... Big thanks to all participants! #yserial also useful as persistent LIFO queue. - Adriano
Peter Hoffmann
The apps that power Django-Mingus | Monty Lounge Blog - http://blog.montylounge.com/2009...
A brief description accompanied with brief annotations for each reusable app and how they fit into Mingus. The below discusses all 34 reusable apps Mingus leverages. - Peter Hoffmann from Bookmarklet
can you make an archive file with this requirements? im so lazy :) - Ceyhun Alyeşil
Adriano
Bret Taylor :: talk on TORNADO . (24 Sep 2009, video and slides) - http://bret.appspot.com/entry...
concise and enjoyable presentation of the modular features, discussion of design (versus other frameworks): simple, digestible, very flexible, fast. Bret makes it look way too easy ;-) ... explaining the details of "non-blocking" was helpful; how everyone's connection to FF just hangs in there to get updates in real-time. Q&A follows. \\ "Tornado is an open source version of the scalable, non-blocking web server and tools that power FriendFeed." - Adriano from Bookmarklet
"Video Unavailable" WTF? - Kaan Ertürk
Nice talk. - Meryn Stol
Onur and Kaan, perhaps use a US-based proxy server... - Adriano
Adriano, yeah it worked that way, thanks. Tho I hate "regional restrictions", especially when they are pointless! - Kaan Ertürk
Other ways to read this feed:Feed readerFacebook