I seem to arrive at a python solution for everything I do at the moment:-
I was looking for a backup solution and, after a bit of looking around (and help from here) I have decided to use rdiff-backup. It's working well. It's written in python.
I've been looking at lightweight markup languages, in particular one for creating HTML with tables, so after hunting around for a while I find reStructuredText which is part of Docutils which is, guess what, written in python.
Digging a bit further on from my reStructuredText investigations I found pyBlosxam which seems to be my sort of blog, python of course.
Another utility I installed recently used Docutils as well.
I'm beginning to think that people who use python must think a certain way which matches the way I want things to work.
** Eur Ing Chris Green cl@isbd.net [2007-03-06 16:12]:
I seem to arrive at a python solution for everything I do at the moment:-
<snip>
Digging a bit further on from my reStructuredText investigations I found pyBlosxam which seems to be my sort of blog, python of course.
** end quote [Eur Ing Chris Green]
Which is actually a rewrite of Blosxom which is actually Perl based, but there you go ;)
I keep meaning to get to grips with Python at some point because I want to do some scripting for Scribus, but haven't actually found the time yet :(
On Tue, Mar 06, 2007 at 04:47:21PM +0000, Paul Tansom wrote:
** Eur Ing Chris Green cl@isbd.net [2007-03-06 16:12]:
I seem to arrive at a python solution for everything I do at the moment:-
<snip> > Digging a bit further on from my reStructuredText investigations I > found pyBlosxam which seems to be my sort of blog, python of > course. ** end quote [Eur Ing Chris Green]
Which is actually a rewrite of Blosxom which is actually Perl based, but there you go ;)
I keep meaning to get to grips with Python at some point because I want to do some scripting for Scribus, but haven't actually found the time yet :(
python is rather useful, first experiences I had with it was mostly MJ Ray's fault (that bastard!) back at UEA when we had a Moop[1] setup - that was fun. Then we started using Zope for www.stu.uea.ac.uk (back in the days before there was a full time "student union webmaster", when most of stu.uea.ac.uk was running off of a box called "rabbit"), I then moved on to writing perl for a fair number of years before returning to python - and now I'd *much* rather write things in python than in perl, not least of all because when you come back to the python a year later you can actually still read it!
I need to spend some more time with django[2] though, very nice python web framework, and the driving force behind the ALUG Caption Competitions website[3]. Code for that is available from my tla repository[4].
[1] http://moop.sourceforge.net/ - now being redeveloped by the looks of things! Woot! [2] http://www.djangoproject.com/ - very nice python web framework [3] http://alug.sommitrealweird.co.uk/ - simple django site for doing caption competitions [4] http://arch.sommitrealweird.co.uk/ - destructions on registering the archive with tla, or how to browse it online
Cheers,
On Tue, Mar 06, 2007 at 04:52:21PM +0000, Brett Parker wrote:
On Tue, Mar 06, 2007 at 04:47:21PM +0000, Paul Tansom wrote:
** Eur Ing Chris Green cl@isbd.net [2007-03-06 16:12]:
I seem to arrive at a python solution for everything I do at the moment:-
<snip> > Digging a bit further on from my reStructuredText investigations I > found pyBlosxam which seems to be my sort of blog, python of > course. ** end quote [Eur Ing Chris Green]
Which is actually a rewrite of Blosxom which is actually Perl based, but there you go ;)
I keep meaning to get to grips with Python at some point because I want to do some scripting for Scribus, but haven't actually found the time yet :(
python is rather useful, first experiences I had with it was mostly MJ Ray's fault (that bastard!) back at UEA when we had a Moop[1] setup - that was fun. Then we started using Zope for www.stu.uea.ac.uk (back in the days before there was a full time "student union webmaster", when most of stu.uea.ac.uk was running off of a box called "rabbit"), I then moved on to writing perl for a fair number of years before returning to python - and now I'd *much* rather write things in python than in perl, not least of all because when you come back to the python a year later you can actually still read it!
Exactly! Perl abbreviates and defaults so much that it's very difficult to follow what it's doing.
Exactly! Perl abbreviates and defaults so much that it's very difficult to follow what it's doing.
I love the perl motto:
There's More Than One Way To Do It
which, in my experience, should be:
There's More Than One Way To Do It But There's Only One Sensible Way. Unfortunately You Won't Know Which One That Is Until You're Wayyyyy. Down The Line ...
:)
Peter.
On Wed, Mar 07, 2007 at 07:14:10PM +0000, samwise wrote:
Exactly! Perl abbreviates and defaults so much that it's very difficult to follow what it's doing.
I love the perl motto:
There's More Than One Way To Do It
which, in my experience, should be:
There's More Than One Way To Do It But There's Only One Sensible Way. Unfortunately You Won't Know Which One That Is Until You're Wayyyyy. Down The Line ...
Yes, quite, I'd much prefer there to be just one way to do 'it' and that way should be explicit rather than implicit.
On Wed, 2007-03-07 at 19:14 +0000, samwise wrote:
I love the perl motto:
There's More Than One Way To Do It
Actually you are wrong there the Perl motto actually reads more like -
undef $/;open(_,$0);/ \dx([\dA-F]*)/while(<_>);@&=split(//,$1);@/=@&; $".=chr(hex(join("",splice(@&,0,2))))while(@&); eval$”;
($C,$_,@)=(($a=$/[1]*4)*5+1, q| |x(0x20).q|||.chr(32)x(0x10).q$*$. chr(0x20)x(0x10).(pack("CC",124,10)), sub{s/.|(\s*?)(\S)./|$1 $2/}, sub{s/|(\s*?).(\S)/ |$1$2 /}, sub{$2.$1.$3},sub{$tt=(3*$tt+7)%$C}, sub{$1.$3.$2});
:-)
On 08/03/07, Wayne Stallwood ALUGlist@digimatic.co.uk wrote:
On Wed, 2007-03-07 at 19:14 +0000, samwise wrote:
I love the perl motto:
There's More Than One Way To Do It
Actually you are wrong there the Perl motto actually reads more like -
undef $/;open(_,$0);/ \dx([\dA-F]*)/while(<_>);@&=split(//,$1);@/=@&; $".=chr(hex(join("",splice(@&,0,2))))while(@&); eval$";
($C,$_,@)=(($a=$/[1]*4)*5+1, q| |x(0x20).q|||.chr(32)x(0x10).q$*$. chr(0x20)x(0x10).(pack("CC",124,10)), sub{s/.|(\s*?)(\S)./|$1 $2/}, sub{s/|(\s*?).(\S)/ |$1$2 /}, sub{$2.$1.$3},sub{$tt=(3*$tt+7)%$C}, sub{$1.$3.$2});
:-)
Touche!
I can only suggest that I translated it to make it funnier ... ;)
Peter.
On Tue, Mar 06, 2007 at 04:47:21PM +0000, Paul Tansom wrote:
** Eur Ing Chris Green cl@isbd.net [2007-03-06 16:12]:
I seem to arrive at a python solution for everything I do at the moment:-
<snip> > Digging a bit further on from my reStructuredText investigations I > found pyBlosxam which seems to be my sort of blog, python of > course. ** end quote [Eur Ing Chris Green]
Which is actually a rewrite of Blosxom which is actually Perl based, but there you go ;)
Yes, pyBlosxam is quite open about its derivation from Blosxom, you can even use the same templates I believe.
The big plus for me is the ability to write blog/content locally with my own favourite editor rather than through a web interface.
I keep meaning to get to grips with Python at some point because I want to do some scripting for Scribus, but haven't actually found the time yet :(
It looks/feels to me like a more 'correct' version of perl, I know that's a *huge* generalisation, but it does seem to have a lot of similar characteristics without the tendency to abbreviate everything to nothingness.