Save info   Get password
Home Submit your blog Edit Account Rules RSS-Archive Contact
    • Python




      The Monty Python DVD Megaset: Dramatic Discounts up to 65% off!
      The 16-Ton Monty Python DVD Megaset Was: $99.95 Save $39.98(40%) On Sale: $59.97 Ships to U.S. and Canada

      Written by: Napoliaffari.com


      Komodo Edit save and run python macro
      Komodo Edit is a good editor for many programming language. However, since it is free as compared to its brother Komodo IDE, there is lack of debugging function. But, Macro and run command do exist though. You can make use of those feature to save and debug your script with a click of a shortcut key. Step [...]

      Written by: selinap


      Executing Python Code Within Komodo Edit
      Komodo Edit is a good free editor for Python development. However, there is no debugging feature in Komodo Edit. Therefore, it is a cumbersome process to execute Python scripts. Fortunately, there is a feature called Run command to satisfy this job. To make use of the Run command feature to execute Python code, you can follow [...]

      Written by: selinap


      Monty Python’s Mountain Climber Scene
      For Make Me Laugh Monday, now hosted by Storm at All Things Cherished: Some days, I feel I am climbing uphill everywhere I go, even on a flat street. This was another memorable skit from those brilliant Brits, Monty Python! Are YOU climbing an ascent today? Copyright © 2008 Let the dog in!. This Feed [...]

      Written by: Let the Dog In!


      7 To 10 Metre Long Reticulated Python!
      At about 1.30am this morning Malaysian time I was heading home. Something very rare and exciting was crossing the road just a few hundred metres from where I live - a huge Reticulated Python! At first I though it was a tree fallen on the road (it was that big) but then [...]

      Written by: HYGEN Web Design And Development


      Python & Python Script Shell - Update 1.44
      Aggiornamento alla versione 1.44 per l'applicazione Python e la relativa Script Shell che ci permette di eseguire file scritti in questo linguaggio sul nostro Nokia Symbian.Le novità sono essenzialmente due: la prima è il supporto ai terminali S60 3rd FP2 e la seconda è la correzione di qualche bug relativa all'interpretazione del linguaggio con alcune applicazioni.Qui il link per il downloadFo

      Written by: AllNokiaSymbian


      Name That Knock-Off: Python Peeptoe Booties
      Our second installment of "Name That Knock-Off" puts this sinfully seductive python peep-toe bootie up on the chopping block. So who did Forever 21 copy this time? (Here's a hint: We mentioned the original lust-worthy shoe back in May.) Keep reading for the answer! Continue reading "Name That Knock-Off: Python Peeptoe Booties"

      Written by: The Budget Babe


      web2py un framework python que soporta GAE
      Buscando en la web he encontrado web2py, un poderoso framework para python que soporta incluso GAE, es decir permite desarrollar una aplicación localmente con el framework y luego podemos desplegarla si lo deseamos en Google Apps Engine. Este framework realmente me ha gustado, es extremadamente fácil de usar y esta basado 100% en web, es decir [...]

      Written by: Tecnologia y negocios


      Monty Python's Spamalot Presale Code: Calgary
      Monty Python's Spamalot presale code has just been become available. This presale password is your key to getting premium tickets. Our site has been serving ticket brokers and concert fans for years now and we are a proven source for accurate codes. Make sure to tell your friends about presale411 when you get great Monty Python's Spamalot tickets.Monty Python's SpamalotSouthern Alberta Jubilee Aud

      Written by: Presale Code and Concert BLog


      Ghibli Purple Python Tote Bag
      Often the best bags come in simple packages. And it's the simplicity that makes me love this Purple Python Tote Bag by Ghibli ($1,372). The bag is made of perfectly constructed Italian leather in a gorgeous purple color (though the description says 'raspberry'). I love the structured handles and gold hardware that sets off the purple color nicely. The inside has three large compartments, detachab

      Written by: What's Haute - A Handbag & Fashion Blog


      Inscrito em um curso de Python
      Hoje recebi uma dica do meu amigo Dezão sobre um curso de Python totalmente grátis, claro que eu não ia perder essa oportunidade, já fiz a minha inscrição, o curso começa dia 23. Agora começa pra valer o meu projeto de aprender a programar, esse curso é o primeiro passado, esperto obter um bom resultado com [...]

      Written by: Ricktl.com


      Python's working on DSL
      I found a .uci of Python today, and ran it under the latest version of DSL. It installed quickly, and works fine, but I was unable to import the pyserial library to it due to the way that DSL loads uci's into a read-only memory space. I had to copy the contents of the "serial" directory in the "pyserial-2.2" archive to the root of my program folder. I then had to rename "__init__.py" to "serial.py

      Written by: thisismyrobot


      Orange Python Handbags
      This bag makes a refreshing change from black and is ideal for casual days or work you choose. If you are looking for a quality Python bag then this is the one for you and of course you love... [[ This is a content summary only. Visit my website for full links, other content, and more! ]]

      Written by: fashionbyjakel


      Python, Javascript, And PHP as Languages for Beginners
      "Python, Javascript, and PHP are all known as languages that beginners can use to sink their teeth in programming. Those three language are also frequently used in many commercial applications. Given all these three choices, which language should a beginner learn?"[via coding experiments]

      Written by: Geek Picks


      Aprenda Python e desenvolva programas para celulares Nokia!
      A linguagem Python, apesar se simples, permite o desenvolvimento de uma série de programas muito interessantes para celulares Nokia com sistema operacional Symbian. Para aqueles que querem aprender um pouco sobre Python e começar a desenvolver os seus próprios programas, a Nokia disponibilizou em seu forum  o curso online “Python for the S60 Plataform eLearning”. Com [...]

      Written by: rodrigostoledo.com


      Python_Reference_Manual.pdf
      Python is an interpreted, object-oriented, high-level programming language with dynamic semantics. Its high-level built in data structures, combined with dynamic typing and dynamic binding, make it very attractive for rapid application development, as well as for use as a scripting or glue language to connect existing components together. Python's simple, easy to learn syntax emphasizes readabilit

      Written by: Free Computer E-Books


      Orange Python Bags
      Benvenutti Store is really glad go to show that his new python handbags’collection, realized with a spicy mixture of look, patience, perseverance and very innovative style, in order to make your... [[ This is a content summary only. Visit my website for full links, other content, and more! ]]

      Written by: fashionbyjakel


      Big Deal: Liquor Control Board of Ontario (LCBO) Switches to Paper Bags, Maintains Python-like Grip on Booze Sales
      When it comes to purchasing alcoholic bevvies in our home province, there is only one game in town and that is the retail equivalent of Dodge Ball, the Liquor Control Board of Ontario (LCBO). When Ontarians speak of going to "The Beer Store", or "The Liquor Store" it is not due to some inherent Canadian fondness for speaking in generalities, but an actual trademark reflecting the incredible height

      Written by: The Shark Guys


      13 reasons why Ruby, Python and the gang will push Java to die… of old age
      Lately I seem to find everywhere lots of articles about the imminent dismissal of Java and its replacement with the scripting language of the day or sometimes with other compiled languages. No, that is not gonna happen. Java is gonna die eventually of old age many many years from now. I will share the reasoning behind my [...]

      Written by: Little Tutorials


      Pauric Sweeney Python Ostrich Ryder Bag
      One of my favorite online boutiques, Shop Jake, has the most carefully edited selection of affordable luxury goods. I love the clean feel of the site along with the cosmopolitan chic-ness of the items. Jake already carried a cool mix of designers but I'm excited to discover that they now carry Pauric Sweeney handbags too! I'm a lover of all things python and Pauric Sweeney is the master of desig

      Written by: What's Haute - A Handbag & Fashion Blog


      Monty Python’s Flying Circus
      No começo a televisão era sem graça. Então Deus criou o Monty Python’s Flying Circus e houve muita confusão. Extremamente engraçados, os Pythons revolucionaram a comédia e mudaram o caminho da História Humana. Agora, através do milagre do DVD, você pode assistir a linda, remasterizada e autêntica Primeira Série Completa deste programa inovador, incluindo episódios divinamente inspi

      Written by: zoio download


      Como gerar arquivos PDF com Python
      Para gerar PDF será necessário instalar a biblioteca ReportLab, disponível em Depois de instalada a ReportLab “chame” ela no prompt interativo do Python: >> import reportlab Se esse comando não gerar erros então a biblioteca foi instalada corretamente. Hello World: Utilizando Django from reportlab.pdfgen import canvas from django.http import HttpResponse def some_view(request)

      Written by: Espinhara Blogs


      Google Treasure Hunt: A Python Approach
      Google has launched Google Treasure Hunt 2008, a 'a puzzle contest designed to test yer problem-solving skills in computer science, networking, and low-level UNIX trivia', as they say on their blog. As always, I was eager to try myself. At the time of writing this post, the first two challenges are available. I started with the second (more recent) one. I'm not going to post my solution here, I'll

      Written by: aatiis|blog


      Google Treasure Hunt: A Python Approach
      Google has launched Google Treasure Hunt 2008, a 'a puzzle contest designed to test yer problem-solving skills in computer science, networking, and low-level UNIX trivia', as they say on their blog. As always, I was eager to try myself. At the time of writing this post, the first two challenges are available. I started with the second (more recent) one. I'm not going to post my solution here, I'll

      Written by: aatiis|blog


      Summer Python Leather Bags
      Benvenutti Store have just released their summer collection of python bags. You can now get am10% discount. Enter the code bagcol02 in the apposite field that you will find during your purchase,and... [[ This is a content summary only. Visit my website for full links, other content, and more! ]]

      Written by: fashionbyjakel


      Monty Python’s Birthing Sketch
      For Make Me Laugh Monday, hosted by Absolutely Bananas, here is Monty Python’s Birthing Sketch. I just love these guys. We used to watch MP’s Flying Circus on PBS every Sunday night when I was in junior high. I saw part of this scene recently in Ricki Lake’s the Business of Being [...]

      Written by: Let the Dog In!


      Blogs About Python
      I've found a few blogs about the Python programming language. I knew about the most well-known web sites and forums, but the ones listed below are real, up-to-date blogs. Check them out if you like to read about my favorite, 'Avant-Garde' programming languages. Just a little Python This one I found on Google. Seems good and understandable. The latest posts seem to be SQL-related, which I am par

      Written by: aatiis|blog


      Blogs About Python
      I've found a few blogs about the Python programming language. I knew about the most well-known web sites and forums, but the ones listed below are real, up-to-date blogs. Check them out if you like to read about my favorite, 'Avant-Garde' programming languages. Just a little Python This one I found on Google. Seems good and understandable. The latest posts seem to be SQL-related, which I am par

      Written by: aatiis|blog


      Python tutorial for beginners
      This tutorial is just for beginners who never programmer before on the python.Python is one of the strong language which make long code in just few lines.Have a look over this video. Python runs on... view more in the download hut of honeytechblog

      Written by: honeytech


      Python pratico: seconda lezione
      Come vi avevo detto le lezioni di venerdì 9 e lunedì 11 sono saltate, perché ero alla Python Conferente 2 a Firenze (stupenda, ringrazio tutti i partecipanti!). Quindi, eccovi la lezione di oggi, venerdì 16 maggio: (lezione 2.ogg) Scusate se ho cambiato formato, server eccetera, ma ho provato molti programmi e servizi per offrire queste lezioni [...]

      Written by: BongoLinux


      Tira LinuxHispano: Java y Python
      DescripciónPara quien no lo entienda, Java (el de la vecinita) es un lenguaje de programación que tiene fama de ser algo complejo y enrevesado, mientras que Python (el de Foo) es sumamente sencillo, rápido y cómodo. Si sigues sin entenderlo se resumen en que la forma de ser de la mujer es compleja y la de los hombres es muy simple xDFuente: LinuxHispano

      Written by:


      News: Ex-Monty Python John Cleese's divorce 'worth every penny'
      This news item in the Telegraph highlights some of the obvious costs to divorce, which John Cleese typically greets with humour. Emotionally divorce presents a huge life change for both parties, leading to a sense of new-found freedom for some and deep loneliness for others. Therapy can be useful in negotiating this transition.

      Written by: TherapyMe.com news blog


      Python code for extracting email addresses
      There have been times where I’ve wanted to mass email a bunch of people sharing the same domain name: for example, I’d like to send a notice to everyone I know who attends my school and thus has a @swarthmore.edu email address. Exporting my contacts from Gmail into CSV, I coded the following in Python [...]

      Written by: rioleo media design studios


      Boa vs. Python
      DOWNLOAD MOVIE Actors: Hewlett David Emmett Bergman Jaime Monica Woller Kirk B.R. Agent Sharpe Kendrick Adam Broddick Boris Angel Eve Stanicheva Marianne Agent Koznetova Furst Griff James Naidenov Ivo Littlefield Sheffey George R. Danner Srebrev Atanas Foley Anichkin Harry Tex Rank Jeff Kent Humphries Blatechki Assen Ramon Binev Velizar Louis Talkington Jona

      Written by: VideoSamba: Movie Download


      Python 3.0 Alpha 5
      Python is a dynamic object-oriented programming language that can be used for many kinds of software development. It offers strong support for integration with other languages and tools, comes with extensive standard libraries, and can be learned in a few days. Many Python programmers report substantial productivity gains and feel the [...]

      Written by: IT NEWS


      Tutorial de Python en PDF
      Raul de MundoGeek ha realizado un excelente tutorial de python el cual podemos descargar gratis en formato PDF. El tutorial esta bajo la licencia creative commons y los temas que tratan son los siguientes: Tipos básicos Control de flujo Funciones Orientación a objetos Programación funcional Excepciones Módulos y paquetes Entrada / Salida Expresiones regulares Sockets Interacción con webs Threads Enlace: Tutorial de Python ‘Python para todos’ | MundoGeek Relacionados: Manual de [...]

      Written by: WebAdictos - Una Dosis Diaria de Web@


      MICHAEL Michael Kors Faux Python Watch
      It is important for every woman to own a watch. Not only is it smart to have something else besides your cell phone to tell the time, it is also safe. Imagine you are going on an interview and for some reason, your phone is not working. Instead of asking busy people walking in the streets for the time, you could have saved yourself time and energy by looking at your own watch. If you want a watch primarily for work, you need one that is classy and not so flashy. Anne Klein, Cartier, Michael Kors, Tag Heuer and hundreds of other designers have nice watches to fit your style and budget.Check out this lovely watch from Michael Kors. Michael by Michael Kors Faux Python Watch Python-embossed band is made of full grain leather that is accented with gold hardware. This watch is a must if you love

      Written by: The Glamazon Diaries


      Python Accessories
      I have selected 4 python accessories that are stunning and for everyday use. Bracelet Orange with Rhinestone Price 65 Euro Buy Now Keyring in Python Price 35 Euro Buy Now Fine Belt Price 70... [[ This is a content summary only. Visit my website for full links, other content, and more! ]]

      Written by: fashionbyjakel


      Minority Ultra in Printed Leather - not Python!
      I'm in love with python. Some people don't like the scaly feel of snake skin but python is just so luxurious to me, but pricey. So anytime I can get my hands on an affordable python piece, I grab it! LuxCouture has one of the best selections of luxury bags (thus the name LuxCouture!) and they have an enviable selection of python bags. This one in particular caught my eye. I was surprised to discover it actually isn't python but looks so much like it I love it anyway! The Ultra in Printed Leather is by Minority and it's a brilliant bronze-y oversized clutch with scalloped, snakeskin-like leather detailing. $725 is a price typically reserved for authentic python skin but this bag is so gorgeous it might just get a pass! And for those of you who don't like snakes, this one's for you!

      Written by: What's Haute - A Handbag & Fashion Blog


      Lezioni di Python pratico in gif
      In questi giorni ho provato un programa che si chiama byzanz, assieme alla sua applet (byzanz-applet). Questo programma permette di registrare, in formato gif, il nostro desktop, o solo una sua area (come una finestra). A questo punto mi si è accesa una lampadia: perché non fare delle mini-lezioni a tema su Python sfruttando questa [...]

      Written by: BongoLinux


      Embedding Python in Your C Programs
      "C, meet Python. Python, this is C. With surprisingly little effort, the Python interpreter can be integrated into your program to add features quickly that could take months if written entirely in C." Linux Journal

      Written by: Linux Cortex


      Writing custom redirector plugin for squid in python
      Mission To write a custom Python program which can act as a plugin for Squid to redirect a given URL to another URL. This is useful when already existing redirector plugins for Squid doesn't suit your needs or you want everything of your own. Use Cases When you want to redirect URLs using a database like mysql or postgresql. When you want to redirect based on mappings stored in simple text files.

      Written by: Fedora India - Open Source Open Minds


      Writing custom redirector plugin for squid in python
      Mission To write a custom Python program which can act as a plugin for Squid to redirect a given URL to another URL. This is useful when already existing redirector plugins for Squid doesn't suit your needs or you want everything of your own. Use Cases When you want to redirect URLs using a database like mysql or postgresql. When you want to redirect based on mappings stored in simple text files.

      Written by: Fedora India - Open Source Open Minds


      Python 60 Vers. 1.4.3. - update
      E' stata rilasciata la nuova edizione del programma Python for S6o.Per chi non lo conosce questo programma è l’interprete del linguaggio omonimo che permette di utilizzare tantissime e innovative applicazioni. Tra le novità uan gestione degli SMS, che ora possono avere una lunghezza massima di 39015 caratteri.Per quanto rigurada il GPS è stata aggiunta la funzione “ultima posizione” al modulo di posizionamento. Per ulteriori informazioni potrete visionare direttamente il sito di Python. Per il download potrete cliccare qui sotto. Il file contiene PythonForS6o che dovrete installare per primo e PythonScriptShell da installare successivamente . Il tutto dovrà essere installato preferibilmente sulla memoria del cellulare.

      Written by:


      Python v1.4.3 disponível para download
      O programa Python foi atualizado para a versão v1.4.3 (download), e se você estiver usando qualquer aplicação baseada neste software, é altamente recomendável que atualize para a versão mais recente. Parece que os bugs com o Nokia N95 - 3 ainda não foram totalmente corrigidos, mas de qualquer forma vale a pena fazer o download [...]

      Written by: rodrigostoledo.com


      Python Gold Bag
      Handbag Porto Cervo Real Skin Python Gold This bag is truely stunning and works for summer or winter. I have listed this as Benvenutti-store are giving 10% off this bag. COLOR:HANDBAG PYTHON... [[ This is a content summary only. Visit my website for full links, other content, and more! ]]

      Written by: fashionbyjakel


      Python - Bigg Shotz [Explicit][Retail][2008]
      Python - Bigg Shotz [Explicit][Retail][2008][GroupRip] Artist:......... Python Title:.......... Bigg Shotz Language:....... English Label:.......... Manhunt Records Genre:.......... Gangsta Tracks:......... 16 Size:........... 75,4 MB Quality:........ VBRkbit 44.1kHz Joint-Stereo Encoder:........ Lame 3.97 -V 2 --vbr-new URL:............ myspace.com/TrueVillanMafia .:Track List:. 01.Paper - (

      Written by:


      Writing custom basic authentication plugin for squid in python
      Mission To write a Python program which can be used to authenticate for Squid proxy server. This is useful when you don't want to configure complex systems like LDAP, ntlm etc. Use Cases When you want to authenticate clients using mysql database. When you want to authenticate clients using flat files or /etc/passwd file or some custom service on your network. read more

      Written by: Fedora India - Open Source Open Minds


      Writing custom basic authentication plugin for squid in python
      Mission To write a Python program which can be used to authenticate for Squid proxy server. This is useful when you don't want to configure complex systems like LDAP, ntlm etc. Use Cases When you want to authenticate clients using mysql database. When you want to authenticate clients using flat files or /etc/passwd file or some custom service on your network. read more

      Written by: Fedora India - Open Source Open Minds


      Python almost kills shop owner!
      EUGENE, Ore. A 12-foot Burmese python tries to eat owner at a pet shop! If it wasn’t for the Sgt Ryan Nelson Teresa Rossiter could have easily been a dead woman after the Python bit her and wrapped around her left arm! The sergeant and few fire rescue responders manage to free the snake and get it back into the sage. Snakes aren’t pets people they are killers and never wanted to be caged up! Only zoos and nature should keep snakes! It is sad to think that people just want to make money off of selling them! If you read around the net you will find cases of animal retaliation is on the rise! Talking about a real life revenge of the snakes!

      Written by: Crazy American News


      When a Python Bites... don't kill the poor snake!
      It's time for 'that' post again. The post I try to write after a python makes the news. Here it is this time.. from CNN; EUGENE, Oregon (AP) -- A pet store owner is calling a police sergeant a hero for saving her from the coils of a 12-foot Burmese python doing its best to turn her into a meal.Teresa Rossiter had reached into a cage Thursday to show the huge snake to a customer when it bit

      Written by: It's Just the Coffee Talking


      Oregon cop battles 12-foot python to save pet store owner
      Oregon cop battles 12-foot python to save pet store owner A pet store owner is calling a police sergeant a hero for saving her from the coils of a 12-foot Burmese python doing its best to turn her into a meal. Teresa Rossiter had reached into a cage Thursday to show the huge snake to a customer [...]

      Written by: Health and Survival


      Python, ¿lenguaje del futuro?
      Pareció que Java (de la mano de Sun) llegaba para quedarse para siempre. Tras el imperio de C y C++ en la informática de escritorio, Java iba a gobernar la programación de la Red con su máquina virtual. Pero apareció PHP (de la mano de nadie), se revalorizó MySQL frente a Oracle o los sistemas de [...]

      Written by: Lic. Francisco Florencio Tello


      Python: Conditional Statement with lambda
      Suppose that we have a conditional statement:In Python, we can write it in three ways: 1 f = lambda x: x > 2 and (x + 1) or 0 or 1 f = lambda x: 0 if x <= 2 else (x + 1) or 1 f = lambda x: [x + 1, 0][x <= 2] However, if the number of conditions if more [...]

      Written by: selinap


      Python: Parse Apache log to sqlite database
      This Python script was written for a friend in Australia, for part of his Ph.D project. The script will parse the Apache server log into sqlite3 database. Apache server log like this 1 23.13.171.152 - - [26/Sep/2007:21:20:36 +0800] "GET /forum/Themes/BlueStory/images/bbc/ftp://ftp.gif HTTP/1.1" 200 191 " "Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8.1.7) Gecko/20070914 Firefox/2.0.0.7" could be parse to an [...]

      Written by: selinap


      Python: py2exe setup file example
      1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 from distutils.core import setup import py2exe import sys   # no arguments if len(sys.argv) == 1: sys.argv.append(“py2exe”)   def compile(appName, console=False): OPTIONS = {“py2exe”: {“compressed”: 1, “optimize”: 0, “bundle_files”: 1, } } ZIPFILE = None   if console: setup( [...]

      Written by: selinap


      Monty Python - Always Look on the Bright Side of Life - Video Clip and Lyrics
      Some things in life are badThey can really make you madOther things just make you swear and curse.When you're chewing on life's gristleDon't grumble, give a whistleAnd this'll help things turn out for the best... And...always look on the bright side of life... Always look on the light side of life... If life seems jolly rottenThere's something you've forgottenAnd that's to laugh and smile and dance and sing.When you're feeling in the dumpsDon't be silly chumpsJust purse your lips and whistle - that's the thing. And...always look on the bright side of life... Always look on the light side of life... For life is quite absurdAnd death's the final wordYou must always face the curtain with a bow.Forget about your sin - give the audience a grinEnjoy it - it's your last chance anyhow

      Written by: Nostalgy Clips


      Executing a Python Source Code File
      Note: filename means you must replace the text filename with the name of the file including extension that you are using. C:\Python23 is an example; replace C:\Python23 with the actual drive letter and directory where your Python is installed. Command Line Open a Windows Console. Navigate to the drive and working directory of your choice. Enter one of the following

      Written by: Python Programming


      Python Interpreter
      Using Command PromptThe windows command prompt can be accessed via START/RUN/CMD The phrase "Enter the command ..." means type the command at the prompt and press the Enter key. C:\Python25 is an example; replace C:\Python25 with the actual drive letter and directory where your Python is installed. Open a Windows Console (a.k.a.. "DOS Window"; "Command Prompt Window&

      Written by: Python Programming


      Python.... what it is ?
      Python is an interpreted language, even though there is a compile step in the translation from ASCII text source code to binary machine language. However, because the source code is interpreted the compile step occurs each time you execute a Python program, and no compiled machine-readable object file is created. Python is a command line application; on Windows operating systems it runs in a

      Written by: Python Programming


      Real Python Skin Handbag
      San Remo Handbag Real Python Skin Gold Description: - Little bag with double handle, magnetic snap closure and zip-Type: On shoulder and in hand - Inside pocket with zip closure- Inside open... [[ This is a content summary only. Visit my website for full links, other content, and more! ]]

      Written by: fashionbyjakel


      Python: Conditional Statement with lambda
      Let say that we have a conditional statement:In Python, we can write it in three ways:>>> f = lambda x: x > 2 and (x + 1) or 0or>>> f = lambda x: 0 if x <= 2 else (x + 1)or>>> f = lambda x: [x + 1, 0][x<=2]However, if the number of conditions if more than 2, it is best to use the first method.For example, consider this conditional statement:The Python code is like below:>>> f = lambda x: (x>=5 and x+1) or ( (x < 5 and x > 2) and 3) or 0We read it as:if x >= 5, f(x) = x + 1else, if x > 2 and x

      Written by: selinap


      Star Trek and the Monty Python
      The meeting of the sci-fi and the legend:) technorati tags: star trek monty python sci-fi legend video youtube captain kirk funny video del.icio.us tags: star trek monty python sci-fi legend video youtube captain kirk funny video icerocket tags: star trek monty python sci-fi legend video youtube captain kirk funny video keotag tags: star trek monty python sci-fi legend video youtube captain kirk funny video

      Written by: News blog


      Dive Into Python
      "Dive Into Python is a Python book for experienced programmers. You can buy a printed copy, read it online, or download it in a variety of formats. It is also available in multiple languages."[via dive into python]

      Written by: Geek Picks


      Real Python Skin
      Cagliari Handbag Real Python Skin This bag is perfect for summer and if you love python skin you will not find a better bag on the market. COLOR:RED and WHYTE PYTHON LEATHERHEIGHT: 12.5 cm WIDTH : 24... [[ This is a content summary only. Visit my website for full links, other content, and more! ]]

      Written by: fashionbyjakel


      Python: Parse Apache log to sqlite database
      Apache server log like this23.13.171.152 - - [26/Sep/2007:21:20:36 +0800] "GET /forum/Themes/BlueStory/images/bbc/ftp://ftp.gif HTTP/1.1" 200 191 " "Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8.1.7) Gecko/20070914 Firefox/2.0.0.7"could be parse to an sqlite database, with the class below.class Parser:    def __init__(self, serverLog, db):                if db.strip() == "":            db = "log.db"        try:            conn = sqlite3.connect(db)    

      Written by: selinap


      Python: Parse Apache log to sqlite database
      Apache server log like this23.13.171.152 - - [26/Sep/2007:21:20:36 +0800] "GET /forum/Themes/BlueStory/images/bbc/ftp://ftp.gif HTTP/1.1" 200 191 " "Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8.1.7) Gecko/20070914 Firefox/2.0.0.7"could be parse to an sqlite database, with the class below.class Parser:    def __init__(self, serverLog, db):                if db.strip() == "":            db = "log.db"        try:            conn = sqlite3.connect(db)    

      Written by: selinap


      Python: py2exe setup file example
      from distutils.core import setupimport py2exeimport sys# no argumentsif len(sys.argv) == 1:    sys.argv.append("py2exe")    def compile(appName, console=False):    OPTIONS = {"py2exe": {"compressed": 1, "optimize": 0, "bundle_files": 1, } }    ZIPFILE = None    if console:        setup(            options=OPTIONS,            zipfile=ZIPFILE,            

      Written by: selinap


      Python: py2exe setup file example
      from distutils.core import setupimport py2exeimport sys# no argumentsif len(sys.argv) == 1:    sys.argv.append("py2exe")    def compile(appName, console=False):    OPTIONS = {"py2exe": {"compressed": 1, "optimize": 0, "bundle_files": 1, } }    ZIPFILE = None    if console:        setup(            options=OPTIONS,            zipfile=ZIPFILE,            

      Written by: selinap


      Animal Friendly - Elaine Turner Paige Stone Python Frame Bag
      We all love the look of snakeskin handbags but don't necessarily love the price or the methods behind garnering this precious commodity, which is why ELAINE TURNER handbags are a God-sent. Famous for her reptile skin embossed leather handbag styles, the Paige stone python purse looks like a million bucks but is far from it. One of her most popular styles, the ELAINE TUNER Paige frame bag features gorgeous reptile embossed leather in tan, black and nude hues, black leather trim and gold hardware. Sophisticated, stylish and sexy all at once, we can understand why this bag is sold out everywhere. ELAINE TURNER satchel measures about 9 x 15 x 6 inches. Purchase the ELAINE TURNER Paige handbag at 39% off retail now!____________

      Written by: BrandsBoutique: Designer Fashion Brands


      Python: Initialize list and tuple values
      To initialize list myList values to 0, with 10 items:myList = (0,)*10If we need to have 5 item of list with the value 0 and the rest 5 with the value 1:myList = [0]*5 + [1]*5To initialize tuple myTuple values to 0, with 10 items:mytuple = (0,)*10If we need to have 5 item of tuple with the value 0 and the rest 5 with the value 1:myList = (0,)*5 + (1,)*5For tuple, don't forget the ','. It means one item.

      Written by: selinap


      Python: Initialize list and tuple values
      To initialize list myList values to 0, with 10 items:myList = (0,)*10If we need to have 5 item of list with the value 0 and the rest 5 with the value 1:myList = [0]*5 + [1]*5To initialize tuple myTuple values to 0, with 10 items:mytuple = (0,)*10If we need to have 5 item of tuple with the value 0 and the rest 5 with the value 1:myList = (0,)*5 + (1,)*5For tuple, don't forget the ','. It means one item.

      Written by: selinap


      Burmese Python Burst After Eating an Alligator
      A 13-foot Burmese python burst after eating an alligator almost equal to it's size. The dead animals was discovered by rangers at the Everglades National Park.The remains of the two prodigious reptiles were discovered by surprised rangers in the Everglades National Park. The rangers say the find implies that non-native Burmese pythons might even challenge alligators' leading position in the food chain in the swamps. The python's remains were found with the victim's tail sticking out from its burst midsection. The head of the python was missing. The stomach of the python still surrounded the head, shoulders, and forelimbs of the alligator. Link

      Written by: The Xo Directory


      Monty Python: Always Look on the Bright Side of Life
      Escena final de la genial película “La vida de Brian” (Life of Brian) de los Monty Python Always Look on the Bright Side of Life (a continuación traducido al español) Some things in life are bad They can really make you mad Other things just make you swear and curse. When you’re chewing on life’s gristle Don’t grumble, give a whistle And [...]

      Written by: The quiet man


      Running Python Script on Windows
      TIPS AND TRICKSPython is a free and interpreted object-oriented programming allows you to create any type of application compatible with all operating systems.You can deploy a stand-alone application or CGI scripts. There are many web servers, which provide support for the deployment of Python scripts.If you use the Apache web server on Windows platform, you have a lot of options for creating a certain configuration, which enables you to run Python scripts via CGI. Configuring Apache web server can be done by editing the httpd.conf file.First, you need to download and install the latest Python for Windows distribution. It was recommended to install it directly to the root of the c: drive to the executable file (python.exe) located at: \ Python directory. This file can be found in httpd.con

      Written by: IT News and Technology update


      Python: Make division always produce real numbers
      A division of 7/2 in Python will gives a result of 2. However, this is not correct. Since Python always assume that the numbers are whole numbers, the resultant will be truncated from 2.5 to 2.A work around is to write one of the numbers as a decimal:>>> print 7/3.02.5>>> print 7.0/32.5>>> print 7.0/3.02.5In order to change this behaviour of Python, throughout the program execution, so that Python will always produce real numbers, a module division has to be imported.>>> from __future__ import division>>> print 7/32.5

      Written by: selinap


      Python: Make division always produce real numbers
      A division of 7/3 in Python will gives a result of 2. However, this is not correct. Since Python always assume that the numbers are whole numbers, the result will be truncated from 2.5 to 2.A work around is to write one or both of the numbers as a decimal:>>> print 7/3.02.5>>> print 7.0/32.5>>> print 7.0/3.02.5In order to change this behaviour of Python, throughout the program execution, so that Python will always produce real numbers, a module division has to be imported.>>> from __future__ import division>>> print 7/32.5

      Written by: selinap


      Boots Real Python Skin
      Amazing Python Boots Entirely hand-made from highest quality python and leather by master Italian shoemakers. Making and shipping4 week work days. Heel: 6 cm Composition outside:Real skin python... [[ This is a content summary only. Visit my website for full links, other content, and more! ]]

      Written by: fashionbyjakel


      Python: Put comma(s) to numbers
      This script will put commas between each group of three digits number. For example, 1234567 will become 1,234,567.import reputComma = lambda x: (','.join(re.findall("\d{1,3}", str(x)[::-1])))[::-1]print putComma(1234567) # 1,234,567print putComma(12345678) # 12,345,678print putComma(123456789) # 123,456,789print putComma(1212) # 1,212

      Written by: selinap


      Python: Put comma(s) to numbers
      This script will put commas between each group of three digits number. For example, 1234567 will become 1,234,567.import reputComma = lambda x: (','.join(re.findall("\d{1,3}", str(x)[::-1])))[::-1]print putComma(1234567) # 1,234,567print putComma(12345678) # 12,345,678print putComma(123456789) # 123,456,789print putComma(1212) # 1,212

      Written by: selinap


      Using Python to create UNIX command line tools
      Do you fully understand the OSI model? Are you comfortable with subnetting? Do you understand UNIX permissions? By the end of this article, anyone involved in IT at any capacity should be able to create at least a simple command line tool.

      Written by: Server Tales


      Using Python to create UNIX command line tools
      Do you fully understand the OSI model? Are you comfortable with subnetting? Do you understand UNIX permissions? By the end of this article, anyone involved in IT at any capacity should be able to create at least a simple command line tool.

      Written by: Server Tales


eXTReMe Tracker