Using new social networking service Identi.ca from the command line

23 July 2008

In this post I introduce the social networking site identi.ca, and I show how to use identi.ca from the command line using my Python module.

Read More

Python and TCL

02 July 2008

In this post I write a function for finding the nearest neighbours in a list for both Python and TCL.

Read More

SFTP in Python: Really Simple SSH

29 May 2008

In this article, I explain how to use ssh.py, my really simple to use SSH module.

Read More

SFTP in Python: Paramiko

28 May 2008

In this post, I attempt to copy a file over SFTP using Python and the Paramiko SSH module.

Read More

Is Django stable?

25 May 2008

A friend of mine keeps asking "but is it stable?" whenever Django is mentioned. In this post I explore the question.

Read More

List files recursively by modified time

22 May 2008

In this post I share my little command-line Python application for getting back up to date with a project directory.

Read More

An Introduction to ReStructuredText

17 May 2008

In this post I explain what ReStructuredText is, and demonstrate example ReStructuredText markup.

Read More

ReStructuredText in Django

16 May 2008

In this post I reply to user feedback and explain how to use ReStructuredText in Django.

Read More

How not to program WSGI

12 May 2008

In this post I explain how, (perhaps to my shame), I hacked PyBlosxom to serve robots.txt. Kids, do not follow at home.

Read More

Email Syntax Check in Python

03 May 2008

Sometimes you may want to check that an email address is not syntactically invalid, i.e. it looks like a recognisable email address. In this post I examine a couple of ways of doing that.

Read More

Twelve commandments for Beautiful Python code

25 April 2008

In this article, I argue that the benefits of reading Python code in a standardised format outweigh any benefits of bespoke code styles. I then look at 12 rules that will make your code your Python code more readable,

Read More

Sharing our scripts together

15 April 2008

In this post I talk about a project on Launchpad called "Eden" for sharing of specialised but useful scripts.

Read More

Scripting Twitter with Python

09 April 2008

Twitter is a social networking service where users can write a sentence (maximum 140 characters) about themselves. It also has an API that we can use to receive and send data from Twitter.

Read More

Using OpenOffice History at the Command Line

07 April 2008

In this post I write a Python module to print out all the stored OpenOffice document history.

Read More

OOXML Vote: The Python Script Walkthrough

27 March 2008

I talk about my Python script that allowed me to produce live updates of the vote in the OOXML standardisation process.

Read More

Scripting the National Lottery: Part One

25 March 2008

I had a chat with an older lady about the British National Lottery. She buys six tickets for each draw, one for everyone in her family. So the question is what she is getting in return for the ticket price? Lets write some Python scripts to find out.

Read More

Setting up a bazaar server

24 February 2008

So last year I wrote a little tutorial about using bazaar for my own personal projects. Please read that if you have no idea what I am talking about.

This weekend I started working on a project with a small group of friends. Therefore we decided to create a bzr server so we can all track the code that we are writing together.

Read More

Baby Steps with Django - Part 4 Django Applications and flow

18 February 2008

In the previous installment of this series, I explained that a Django site is normally organised into a 'project' which contains 'applications'.

We started a new Django 'project' (i.e. a website). This was a directory with a few files in. The most interesting were settings.py, the project's settings, and urls.py which maps URLs to functions.

Read More

Baby Steps with Django - Part 3 Django projects

02 February 2008

In this post we start our Django project and configure the settings.py and urls.py files.

Read More

Baby Steps with Django - part 2 database setup

25 January 2008

So I introduced this series seven months ago, oops! Oh well, let's get started.

Read More

Older

About

Hello, my name is Zeth, I'll be your host here.

Command Line Warriors is about taking control of your own technology, it looks at our experiences of computing; especially using GNU/Linux, the Python programming language, the command-line and issues such as techno-ethics, best practices and whatever is cool now. If you take control of your technology then you are a Warrior too!

This site is your site too which means that you can contribute and get involved. You can leave comments using the facility provided. For me, the comments and discussions are by far the best part of the site. So please do have your say!

Latest Discussions

Omar Zabaneh

July 25, 2008
Zeth, Thank you for this post, very helpful. I used it as a basis for my own email validation function that i wish to share with you, in a selfish ...
Email Syntax Check in Python

Double Booting Bastard

July 24, 2008
I agree with Nui, Linux is great for many things but not everything. A lot of, less mainstream, hardware is a time consuming and often fruitless task to install and ...
Give Linux a chance

John

July 23, 2008
Duncan, sadly the permissions are stored with the data (inode), not with the directory entries (hard-links). Zeth needs ACLs -- no way to do this with basic unix permissions.
Advanced Unix Groups

Garrick

July 21, 2008
I do love my iPhone. That being said, I would trade it in a heartbeat for a STABLE Openmoko FreeRunner.
This week - iPhone vs a can of compressed air, and Django NewFormsAdmin

Daniel Davies

July 21, 2008
With regards to your last paragraph, you are certainly correct. Right now Django is a nightmare to use across multiple sites... we have some sites running the newformsadmin branch, others ...
This week - iPhone vs a can of compressed air, and Django NewFormsAdmin

Nui

July 18, 2008
Hmm, this would be more persuasive as an argument with some evidence. I am a happy admin of Windows and a novice user of Linux, so I have taken the ...
Give Linux a chance

Paddy3118

July 18, 2008
Hi, I too work with Electronic Design Automation tools, where Tcl is used extensively. I tend to only occasionally have to write in Tcl and so find the TclTutor utility: ...
Python and TCL

Cliff Wells

July 17, 2008
I personally cannot live without the Web Developer extension or Firebug. Unfortunately these are probably both among the more difficult to port extensions. Given how poorly Firefox functions on Linux ...
Will Epiphany be able to compete with Firefox's extensions?

Åke Forslund

July 13, 2008
I'm pretty much a novice in both of these languages but I find them both easy to use and preform the tasks I give them. However I rarely use them ...
Python and TCL

Christopher Thoday

July 12, 2008
A single test is not sufficient to give you confidence that the algorithm is working. You should make 'number' an argument of 'main' so that you can test some boundary ...
Python and TCL

paul21

July 10, 2008
Shame on Mozilla. They should make developers specify the extension license before hosting it. They should show the license next to download button as well.
Are your Firefox extensions proprietary software?

Tris

July 8, 2008
Justin - You say they had not heard of Linux? That doesn't sound very professional to me!
Give Linux a chance

michael

July 8, 2008
what about Galeon? in Gnome i use Galeon mostly. it is fast and stable and has a nice portal with search masks for Debian, FSF, Freshmeat and so on. wtf ...
Will Epiphany be able to compete with Firefox's extensions?

vermin

July 7, 2008
> Eventually, after a bit of digging and Googling, I found their Toolbar-License... You simply found the license of the StumbleUpon Toolbar for Internet Explorer. This is another product, much ...
Are your Firefox extensions proprietary software?

Andrew West

July 6, 2008
Both the Python and the Tcl example could do with error checking. While at first this may not seem on topic with the post I think it better shows the ...
Python and TCL