Posts filed under “python”

Utilizing a Web Service Start to Finish

The Internet is filled with many web sites that offer web services. We take a look at an example site that generates ASCII Art based on text you give it. Using FireBug, a python script, and a little creativity we use this anywhere we want and for (almost) any purpose.

Compare Two Files with Python

Recently I had some old code and a newer version of those same files.  I couldn’t just use one of them, deleting any changes made in the other.  I had to know what’d changed in each file.

Change Line Endings (Windows, UNIX, MacOS)

End Of Lines Have you ever opened a text file on your Windows computer and had it be all one line? It happens to me quite frequently. The problems this causes can range from making you constantly scroll right, to having a program that can’t even read it. To solve this, we’ll write a script [...]

Your Own IRC Bot in Python

Internet relay chat is a wonderful way to talk about topics that interest you with others. All you need is a browser to use an online service. One popular server is freenode, which has its own browser based client. What is IRC? Wikipedia defines it as follows, Internet Relay Chat (IRC) is a form of [...]