Joshua Kramer wrote:
Every Python example currently has the same template, with a clearly
marked section for the code that differs from other examples. I did
that on purpose when I did the first set of examples ;->
If that's the RedHat documentation you're referring to... my script
skeleton
And yes, please do share your skeleton! (That sounds a little gruesome, if
you take it the wrong way, but you know what I mean )
Ok, let me get the 'skeleton out of the closet' :) and clean it up a bit,
then I'll post it on my blog and provide a link here.
Cheers,
-Josh
--
-
http:
Every Python example currently has the same template, with a clearly marked
section for the code that differs from other examples. I did that on purpose
when I did the first set of examples ;->
If that's the RedHat documentation you're referring to... my script
skeleton is actually based off
Martin Ritchie wrote:
I'm no 'Python from a blank document' coder but would adding the
template used by Joshua be helpful or unnecessary clutter?
Every Python example currently has the same template, with a clearly
marked section for the code that differs from other examples. I did that
on
2009/2/11 Jonathan Robie :
> OK, I see no enthusiasm to change the includes, pruning this thread
> I'll focus on programming tasks.
>
> Jonathan
>
> -
> Apache Qpid - AMQP Messaging Implementation
> Project: http://qpid.a
OK, I see no enthusiasm to change the includes, pruning this thread
I'll focus on programming tasks.
Jonathan
-
Apache Qpid - AMQP Messaging Implementation
Project: http://qpid.apache.org
Use/Interact: mailto:dev-subs
Jonathan Robie wrote:
From our sample programs:
C++:
#include
#include
using namespace qpid::client;
using namespace qpid::framing;
Python:
import qpid
import sys
import os
from qpid.util import connect
from qpid.connection import Connection
from qpid.datatypes import Message, RangedSet, u
In Python, couldn't the user just import a Connection class and a Session
class, and we could design the API so that they get what they need to use
those classes automagically? Or is there a pythonic reason to do it this
way?
Philosophically, the reason you do it that way in Python is becau