Tag: python

Jul 07 2018

CoPrA – An Asyncronous Python Websocket Client for Coinbase Pro

I know it’s too much too hope that I have any regular readers, but if you  come here even infrequently you may have noticed it’s been seven months since I last posted. You may even have wondered what I have been up to.  What could’ve possible kept Tony so busy that he would totally ignore …

Continue reading

Jun 26 2017

How to Suppress Python unittest Warnings

warning symbol

In general it’s a good idea to see warnings your code generates while you are testing, but if you are anything like me, you usually don’t need to see warnings generated by third party code. I was plagued by this today as I was testing a function that utilized NLTK, one of, if not the …

Continue reading

Mar 04 2017

Testing Django Pages Containing the csrf_token Tag

Django logo

If you’ve created any forms at all using the Django web framework then you should already be familiar with Django’s CSRF middleware and the protection it provides web site’s against cross site forgery request attacks. When the middleware is active, and unless the view has this protection overridden, any form POSTed will be expected to contain …

Continue reading

Jan 21 2017

How to Install Pip on Ubuntu 16.10 Yakkety Yak

Python Logo

I am excited this evening. Why? Because I am finally getting back to some real Python development. While I have recently coded up some GIMP plug-ins, I haven’t really taken the time to properly set up my Python environment since making the switch from OS X to Ubuntu in December.  Now I’ve got some Django programming …

Continue reading

Jan 04 2017

Program Python Plug-ins for GIMP: Hello, GIMP World

Hello, GIMP World

In my last post, I briefly explained GIMP‘s scripting and plug-in system and the two most common ways to program custom extensions and scripts: Script-Fu and Python-Fu. Script-Fu, being the older of the two options, is well documented and the more widely used of the two. Not because I love the road less traveled, but …

Continue reading

Dec 09 2016

Programming Scripts and Plug-ins for GIMP: Introduction

GIMP logo

For several years now, Adobe Photoshop has been the sole reason that I have continued to run Mac OS X. During that time, I have done the majority of my work in an Ubuntu instance running in a Parallels virtual machine. I’ve finally bitten the bullet and installed Ubuntu as the primary operating system on …

Continue reading

Feb 02 2016

Learning Python by Mark Lutz

Title: Learning Python Author: Mark Lutz Genre: Computers Publisher: O'Reilly Media; Fifth Edition edition (July 6, 2013) Release Date: July 6, 2013 Pages: 1594 Get a comprehensive, in-depth introduction to the core Python language with this hands-on book. Based on author Mark Lutz’s popular training course, this updated fifth edition will help you quickly write …

Continue reading