Python DevCenter
oreilly.comSafari Books Online.Conferences.


advertisement


Python Topics


Atom 1.0 Feed RSS 1.0 Feed RSS 2.0 Feed

Atom 1.0 Feed RSS 1.0 Feed RSS 2.0 Feed





News


What's New in O'Reilly Answers - Windows phone and iPhone programming, algorithms in Python, recovering files in Windows 7, and much more!
by O'Reilly Media
Do I need to learn Objective-C to program the iPhone? How to get started with Windows Phone programming An introduction to genetic algorithms in Python How to recover lost, damaged, and deleted files and folders in Windows 7 How to link to a specific point in a YouTube video Will we see Java on the iPhone? Share knowledge, ask questions on O'Reilly Answers today.

PyMOTW: tabnanny - Indentation validator
by Doug Hellmann
Consistent use of indentation is important in a langauge like Python, where white-space is significant. The tabnanny module provides a scanner to report on "ambiguous" use of indentation. The simplest way to use tabnanny is to run it from the command line, passing the names of files to check. If you pass directory names, the directories are scanned recursively to find .py files to check.

Four short links: 5 March 2010 - GMail CRM, Django Best Practices, Stats-Think, and WoW Number Crunching
by Nat Torkington
Rapportive -- a simple social CRM built into Gmail. They replace the ads in Gmail with photos, bio, and info from social media sites. (via ReadWrite Web) Best Practices in Web Development with Django and Python -- great set of recommendations. (via Jon Udell's article on checklists) These and more in today's Four Short Links.

Four short links: 25 February 2010 - Rap Python, Being Believed, Hot Maps, and Old School Secrets
by Nat Torkington
gheat -- add a heatmap layer to a Google Map. For more on its design and implementation, read Chad Whitacre's blog. This and more in today's Four Short Links.

Learning Python Gets 9/10 on Slashdot - "This book continues to be Python's bible."
by O'Reilly Media
Slashdot reviewer Ahmed Al-Saadi gives Learning Python, Fourth Edition, by Mark Lutz, a 9/10 rating, and says, "Like many O'Reilly books, this is a well-written, coherent, and beautifully type-set book. I highly recommend it to anyone who wants to, or already does, program using python. It should help the novice in the transition to an excellent programming language or, otherwise, make an already familiar environment more powerful in the hands of veterans." Read more.

Four short links: 8 December 2009 - Python Moratorium, Math Pictures, Assemblers Needed, Tennis Vision
by Nat Torkington
Python's Moratorium -- Python language designers have declared a moratorium on enhancement proposals (feature requests) while the world's Python programmers get used to the last batch of New And Shiny they shipped. I'm reasonably sure that the ALGOL designers went through exactly the same discussions, and I know Perl did too. So, don't be afraid of it - don't think that Python is evolutionarily dead - it's not. We're taking a stability and adoption break, a breather. We're doing this to help users and developers, not to just be able to say 'no' to every random idea sent to python-ideas, and not because we're done. Reminds me of Perl god Jarkko Hietaniemi's signature file: "There is this special biologist word we use for 'stable'. It is 'dead'. -- Jack Cohen. This and more in today's Four Short Links.

Announcing O'Reilly Answers - Clever Hacks. Creative Ideas. Innovative Solutions.
by Allen Noren
We're launching the beta of O'Reilly Answers, and I'm inviting you to be part of it. In brief, O'Reilly Answers is a community site for sharing knowledge, asking questions, and providing answers that brings together our customers, authors, editors, conference speakers, and Foo (Friends of O'Reilly). O'Reilly is at the center of an amazing exchange of knowledge sharing and idea generation, and we want you to join us in changing the world by spreading the knowledge of innovators.

Four short links: 6 October 2009 - Birdwatching Technology, Transportation Data, Multitouch in Python, and Face Detection on the iPhone
by Nat Torkington
Bird-watching Turns To Technology (BBC) -- BBC News reports on technical advances in bird watching used by a group of researchers to monitor a population of guillemots on Skomer Island, employing a CCTV like system adapted for use in the wild. This and more in today's Four Short Links.

Four short links: 5 October 2009 - Bozo Cloud Talk, Annotation Fail(ish), Python MySQL Slash, and Infinite Books
by Nat Torkington
Brown Cloud Marketing -- An advertorial "interviewing" the general manager of a company offering "DNS in the cloud". This might be a worthwhile service, but the way he markets it (by saying open source is "freeware" and the market leader is "legacy") reveals a rich vein of bozo. This and more in today's Four Short Links.

Four short links: 25 September 2009 - On Wheel Reinvention, Research Visualization, New Comments, and Defective Congressional Data
by Nat Torkington
Diesel: A Case Study In That Thing I Just Said -- A new asynchronous I/O library in Python, which earned this fabulous review from Glyph Lefkowitz who wrote the granddaddy of all asynch libraries in Python, Twisted. This and more in today's Four Short Links.

PyMOTW: fractions - Rational Numbers
by Doug Hellmann
Python's Fraction class implements numerical operations for rational numbers.

PyMOTW: decimal - Fixed and floating point math
by Doug Hellmann
The decimal module implements fixed and floating point arithmetic using the model familiar to most people, rather than the floating point representation implemented by most computer hardware.

PyMOTW: dis - Python Bytecode Disassembly
by Doug Hellmann
The dis module converts code objects to a human-readable representation of the bytecodes for analysis.

Four Short Links: 28 August 2009 - The Future, Python Metrics, Distributed Version Control, and Stylish R
by Nat Torkington
What The Future's All About (Webstock Words) -- Bruce Sterling, one of the founders of the Electronic Frontier Foundation and a science fiction author explains, "We're not going to get a future Cloud World as somehow opposed to a future Augmented Reality World. It can’t happen. The ideas can be clearly distinguished, but ideas about technology, labels for technology, predictions and suppositions about technology, they don't map onto actual real-world technology. Human culture doesn't work like a logical argument." This and more in today's Four Short Links.

Four short links: 12 August 2009 - Health Data, Python Term Extraction, Network Neutrality, New Database
by Nat Torkington
Improving Health Care -- Adam Bosworth has posted the text of a speech he delivered at the Aspen Health Forum. Among his points Bosworth notes "the importance of giving us all the right to our health data online." The speech starts strong and just gets better: "We should require sharing of population statistics across practices and hospitals in order to better determine what works for whom. We should reward practices and hospitals that are delivering the best most cost-effective long-term outcomes and penalize those that deliver the worst." This and more in today's Four Short Links.

Introducing PyXML Introducing PyXML
In the second Python and XML column, Uche Ogbuji introduces PyXML, the add-on XML library which builds upon Python's core XML support. (Sep 25, 2002)




Python Cookbook Recipe of the Day

You need to fork a daemon process on a Unix or Unix-like system, which, in turn, requires a certain precise sequence of system calls.

Do it now.


Python Resources
  • Python Cookbook
  • Python.org
  • Starship Python
  • Daily Python URL



  • O'Reilly Network Blogs

    Loghetti: an apache log file filter in Python As announced earlier on my personal blog, I launched an open source project on Google Code called "loghetti". It's written in Python, and is a foundation for what I hope will become a very flexible tool to help admins (myself… read more Brian K. Jones


    Scale(1), Scale(2), ... Scale(n) Ted Neward attempted to pull apart some of the silliness in the debate over scalability with Can Dynamic Languages Scale?. In particular, one of the most important insights is: There's an implicit problem with using the word "scale" here, in… read more chromatic


    TIOBE declares Python as programming language of 2007 I really don't know what this means, but here is the page that contains the headline. Further down in the page are a few details regarding the announcement. Here are those details: Python has been declared as programming language of… read more Jeremy Jones


    setuptools tip - script creation My last two blog posts on egg-related topics had a title prefix of "easy_install tip". This post is related, but since it's handled with setuptools rather than easy_install, I'm prefixing it accordingly. Have you ever wondered how various packages you… read more Jeremy Jones


    TMTOWTDI -> The Right Way to Do It J. David Blackstone has a pointed journal post entitled The Right Way To Do It which praises Perl's "There's More Than One Way To Do It" philosophy: TMTOWTDI is anarchy. It scares people who want to keep order by force. Allowing people… read more chromatic


    You Can Use Statistics To Prove Anything That's Remotely True (TIOBE 2008) "Perl is dead", crows TIOBE's January 2008 index. The world belongs to Python. You see what you want to see in statistics though. For example, you could compare Perl, Python, PHP, and Ruby job trends. Don't drop those sigils yet.… read more chromatic


    TPT (Tiny Python Tip): Virtualenv Google Group Ian Bicking just created a Google Group for Virtualenv here, and a bug tracker at launchpad for virtualenv here. I also have slides from a talk at Pyatl here Links: noahgift.com My O'Reilly Feed Virtualenv Google Group Virtualenv Launchpad Bug Tracker Virtualenv Package Information Virtualenv Slides Noah Gift


    More ONLamp Posts



    Sponsored by: