python

10 posts tagged with python [Feeds]

Tarek ZiadeDaniel Greenfeld blogged this first. I just stole the idea.

1. What's the coolest Python application, framework, or library you have discovered in 2009?

Well, I can't really say Django, but I really got into it in 2009, learned a lot of cool/new stuff and applied them in different projects.

I met the awesome power of ftplib and smtplib (which is kinda typical python style, it's just that I didn't know about them before). I was also introduced to Pip, Virtualenv and Tarek Zaide's Distribute.

2. What new programming technique did you learn in 2009?

I learned that I hate ASP.Net! I haven't really done anything nifty with it, but some gigs involved it. I'm not saying it's bad of ...

It is true that the best idea comes when you’re not aware of it (or anything related to it) and that’s what happened with LiveTweeting.com. Here’s the whole story: Samer Karam, a web consultant from Lebanon was looking for a way to implement the best twitter coverage for Le Web 09, he came up with the concept of live tweeting with croudsourced translations. At that time, my brother (who’s a friend of Samer) suggested me to develop it. Samer also contacted the awesome Maya Zankoul who did the design and illustrations.

So, Live Tweeting is an interactive real-time web app for multi-language live ...

This screenscast will show you how to install Pinax on Windows:

You can download the high quality version here.

Update: Genshi was removed after beta3, so you don't have to worry about that anymore (once rc1 is released).

Update2: In the screencast, I copied the "basic_project" folder  from "site-packages" to the "pinax-env" folder that pinax-boot created, two things wrong here:

Expert Python Programming
By Tarek Ziade
ISBN: 978-1-847194-94-7
Release date: September 2008
Packt Publishing

A couple of weeks ago, Niraja Mulye from Packt Publishing sent me a copy of Expert Python Programming by Tarek Ziade and asked me to review it.

 To put it simple, the book is fabulous, not because it's full of advanced python programming tricks and practices, but also because they're presented in a way that makes them easy and interesting to follow.

As the name of the book intends, it's aimed for python developers who want to be more efficient and productive. The book is divided to 14 chapters, and even though ...

Django tips - Tip #4

Date/Time: March 27, 2009 at 17:00 PM

In this episode you'll learn how to create custom template tags and filters and how to use them in your django projects...

You can watch the episode online from here... (sorry for the low volume)


Django Tips - Tip #4 - Part 1 from Beshrkayali on Vimeo.

or download it here (iPhone/iPod Touch ready).

download the project used in this episode (eventsbox) from here.

Hello all :)

Okay, so I started Django Tips Podcast about two months ago (or more) and made three episodes and then stopped. I don't want to start making lame execuses for this, but the good news is it's coming back :)

It won't take more than a week (maybe less) to get going with it. So get ready :)

 

 

TinyMCE in django admin

Date/Time: Feb. 17, 2009 at 21:56 PM



In this post, I'm going to talk about using TinyMCE (Javascript HTML editor) with django's admin application.

In django administration application, TextFields are represented as <textarea></textarea> tags, so it can be pretty annoying to add content when using these fields to represent HTML content (like in blog posts). The solution comes with Javascript by using one of the many HTML editors, like TinyMCE.

The few steps I'm going to show you in this post are perfect for these situations, but sometimes, you might really need a regular <textarea> for a model and TinyMCE for another. These cases won't be discussed in this post (saving for another post ^^).

Now let's get to work,

Of course, you'll need TinyMCE, which you can get from Share on StumbleUpon Share on Reddit Add to del.icio.us

Tip #3 of Django of Django Tips - Using the comments framework

Tip #2 of Django Tips - Using Flatpages application

I'm going to repost Django Tip Screencasts that I created a while ago (I only made three tips).