2 posts tagged with python by mecran01.
Displaying 1 through 2 of 2.

ruby/python database tutorial?

I'm searching for a simple ruby/python database application tutorial. A long time ago, like six years ago, I came across this simple tutorial for php/mysql that showed you, from the ground up, how to put a simple database of your video collection online. Is there a similar tutorial that emphasizes creating a simple front-end for a mysql database using ruby or python, geared toward n00bs? [more inside]
posted by mecran01 on Sep 12, 2006 - 5 answers

Using Grep within BBedit to change some data in tables.

I'm using Grep within BBedit 6.1.2 lite, in order to change some data in tables from "regular" time in the format: "0530PM" to military time: "1730"

Essentially, I am able to locate the data I want using:


Which, in the above example returns: "0530"

So here's the question: I want to treat that result as a number, and add 1200 to it to convert it to military time.

Is there a way to do this within BBedit using the replacement patterns, or do I have to go figure out how to write a perl/python/awk/applescript to accomplish this?
posted by mecran01 on Jan 6, 2005 - 10 answers

Page: 1