<?xml version="1.0" encoding="UTF-8"?>
<rdf:RDF xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns="http://purl.org/rss/1.0/" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:syn="http://purl.org/rss/1.0/modules/syndication/" xmlns:admin="http://webns.net/mvcb/">
  <channel rdf:about="http://permalink.gmane.org/gmane.org.user-groups.zope.zpugdc">
    <title>gmane.org.user-groups.zope.zpugdc</title>
    <link>http://permalink.gmane.org/gmane.org.user-groups.zope.zpugdc</link>
    <description/>
    <syn:updatePeriod>hourly</syn:updatePeriod>
    <syn:updateFrequency>1</syn:updateFrequency>
    <syn:updateBase>1901-01-01T00:00+00:00</syn:updateBase>
    <items>
      <rdf:Seq>
        <rdf:li rdf:resource="http://permalink.gmane.org/gmane.org.user-groups.zope.zpugdc/508"/>
        <rdf:li rdf:resource="http://permalink.gmane.org/gmane.org.user-groups.zope.zpugdc/507"/>
        <rdf:li rdf:resource="http://permalink.gmane.org/gmane.org.user-groups.zope.zpugdc/506"/>
        <rdf:li rdf:resource="http://permalink.gmane.org/gmane.org.user-groups.zope.zpugdc/505"/>
        <rdf:li rdf:resource="http://permalink.gmane.org/gmane.org.user-groups.zope.zpugdc/504"/>
        <rdf:li rdf:resource="http://permalink.gmane.org/gmane.org.user-groups.zope.zpugdc/503"/>
        <rdf:li rdf:resource="http://permalink.gmane.org/gmane.org.user-groups.zope.zpugdc/502"/>
        <rdf:li rdf:resource="http://permalink.gmane.org/gmane.org.user-groups.zope.zpugdc/501"/>
        <rdf:li rdf:resource="http://permalink.gmane.org/gmane.org.user-groups.zope.zpugdc/500"/>
        <rdf:li rdf:resource="http://permalink.gmane.org/gmane.org.user-groups.zope.zpugdc/499"/>
        <rdf:li rdf:resource="http://permalink.gmane.org/gmane.org.user-groups.zope.zpugdc/498"/>
        <rdf:li rdf:resource="http://permalink.gmane.org/gmane.org.user-groups.zope.zpugdc/497"/>
        <rdf:li rdf:resource="http://permalink.gmane.org/gmane.org.user-groups.zope.zpugdc/496"/>
        <rdf:li rdf:resource="http://permalink.gmane.org/gmane.org.user-groups.zope.zpugdc/495"/>
        <rdf:li rdf:resource="http://permalink.gmane.org/gmane.org.user-groups.zope.zpugdc/494"/>
        <rdf:li rdf:resource="http://permalink.gmane.org/gmane.org.user-groups.zope.zpugdc/493"/>
        <rdf:li rdf:resource="http://permalink.gmane.org/gmane.org.user-groups.zope.zpugdc/492"/>
        <rdf:li rdf:resource="http://permalink.gmane.org/gmane.org.user-groups.zope.zpugdc/491"/>
        <rdf:li rdf:resource="http://permalink.gmane.org/gmane.org.user-groups.zope.zpugdc/490"/>
      </rdf:Seq>
    </items>
    <image rdf:resource="http://gmane.org/img/gmane-25t.png"/>
    <textinput rdf:resource=""/>
  </channel>
  <image rdf:about="http://gmane.org/img/gmane-25t.png">
    <title>Gmane</title>
    <url>http://gmane.org/img/gmane-25t.png</url>
    <link>http://gmane.org</link>
  </image>
  <item rdf:about="http://permalink.gmane.org/gmane.org.user-groups.zope.zpugdc/508">
    <title>help</title>
    <link>http://permalink.gmane.org/gmane.org.user-groups.zope.zpugdc/508</link>
    <description>&lt;pre&gt;
&lt;/pre&gt;</description>
    <dc:creator>Don Ross</dc:creator>
    <dc:date>2009-11-11T13:05:16</dc:date>
  </item>
  <item rdf:about="http://permalink.gmane.org/gmane.org.user-groups.zope.zpugdc/507">
    <title>Survey results: we are moving to meetup.com</title>
    <link>http://permalink.gmane.org/gmane.org.user-groups.zope.zpugdc/507</link>
    <description>&lt;pre&gt;Hi all,

Thanks to everyone that completed the survey! We got about 20/30 people
saying they were in favor of this move, so here we go.
(The rest either didn't care or opposed; the former got
    approximately 5 votes, and the latter numbered approximately 2 or 3).

See: http://twitpic.com/h782f

That said:

(If you are already on meetup.com you can skip to the bottom.)

1. Could everyone on the ZPUGDC mailing list please go join meetup.com?
    It's free and should only take a minute or two or less to sign up.
    I will at some point take a look at the ZPUGDC list and 
    try to scoop everyone up individually, but I thought I would start by 
    just inviting you all now to join: http://www.meetup.com/python-meetup-dc/

2. Joel, could you please "unlock" the zpugdc.org domain (and the others
    two if you don't want them anymore, e.g. zpugdc.com and zpug.org) We 
    are planning to inititate a transfer (from Joel to ZPUGDC, INC) and put 
    up a splash screen similar to:
        http://nscodernightdc.c&lt;/pre&gt;</description>
    <dc:creator>Alex Clark</dc:creator>
    <dc:date>2009-09-10T16:38:22</dc:date>
  </item>
  <item rdf:about="http://permalink.gmane.org/gmane.org.user-groups.zope.zpugdc/506">
    <title>Changes afoot in ZPUGDC (INC) and the DC Python Meetup, please take the survey!</title>
    <link>http://permalink.gmane.org/gmane.org.user-groups.zope.zpugdc/506</link>
    <description>&lt;pre&gt;Hi all,

In order to get feedback on some changes we are about to make on
behalf of ZPUGDC and the Python meetup in DC, I've created this
survey*:

    - http://www.surveymonkey.com/s.aspx?sm=7WFyx9qugpBiGtZsLkGjdw_3d_3d

Please take a minute to give us your valuable feedback, and help
us continue to serve the needs of Python programmers in DC!

Thank you,

Alex Clark / Matt Bowen / Amy Clark (ZPUGDC, INC. 2008-2009 Board)

*The Plone Foundation (http://plone.org/foundation) was very kind and
generous enough to let us use their SurveyMonkey (thanks guys!) 

&lt;/pre&gt;</description>
    <dc:creator>Alex Clark</dc:creator>
    <dc:date>2009-09-04T15:30:23</dc:date>
  </item>
  <item rdf:about="http://permalink.gmane.org/gmane.org.user-groups.zope.zpugdc/505">
    <title>Re: Changes afoot at ZPUGDC (INC)</title>
    <link>http://permalink.gmane.org/gmane.org.user-groups.zope.zpugdc/505</link>
    <description>&lt;pre&gt;

Well, my primary interest is python. I use it almost exclusively for my list 
management work. Unfortunately, now that I've moved to Front Royal, I'm 
finding it even more difficult to make it in for meetings.

Dan Arico

&lt;/pre&gt;</description>
    <dc:creator>Dan Arico</dc:creator>
    <dc:date>2009-09-03T17:18:44</dc:date>
  </item>
  <item rdf:about="http://permalink.gmane.org/gmane.org.user-groups.zope.zpugdc/504">
    <title>Re: Changes afoot at ZPUGDC (INC)</title>
    <link>http://permalink.gmane.org/gmane.org.user-groups.zope.zpugdc/504</link>
    <description>&lt;pre&gt;
Sure, it all depends on what the goal is. Moving forward, I'd like
them (the goals) to be as specific/detailed as possible. For example,
I have an "insane" idea: I'd like to build a hosting add-on for Plone
consultants. This add-on would create clients in Plone (via Dexterity
content). The content would, of course, have useful fields like name,
address, contract length, billing info, etc. but would also configure
services for the new client, i.e:
    - Configure a DNS entry.
    - Configure an Apache or NGINX virtual host entry.
    - Create a Plone instance.
    - Install add-ons from PyPI.


Well, I think that over the years there has been some confusion. The 'P'
in ZPUGDC has always stood for Python (since there were Zope/Python
groups in existence before Plone was born). But due to the fact that
Plone has been such a looming presence in the Zope world, and many
meetings have focused on Plone-related topics, people began to refer
to ZPUGDC as the Zope/Plone Users Group of DC (and perhaps rightfully
so). &lt;/pre&gt;</description>
    <dc:creator>Alex Clark</dc:creator>
    <dc:date>2009-09-03T17:11:34</dc:date>
  </item>
  <item rdf:about="http://permalink.gmane.org/gmane.org.user-groups.zope.zpugdc/503">
    <title>Re: Changes afoot at ZPUGDC (INC)</title>
    <link>http://permalink.gmane.org/gmane.org.user-groups.zope.zpugdc/503</link>
    <description>&lt;pre&gt;
On Sep 1, 2009, at 12:12 PM, Alex Clark wrote:


I guess we should first find out if some kind of informal best-effort  
non-production-quality hosting would be of use to ZPUG developers...  
or if everyone has enough hardware already. :-)

These all sound good.

Sure.  As much as I like the idea of use eating our own Plone dogfood,  
if the P in ZPUGDC now stands for generic Python, then I think we can  
reduce the duplication of announcements, mailings and places to look.   
We then need to use ZPUGDC for other things which bring you the  
letters P and Z. :-)



&lt;/pre&gt;</description>
    <dc:creator>Chris Shenton</dc:creator>
    <dc:date>2009-09-01T16:45:42</dc:date>
  </item>
  <item rdf:about="http://permalink.gmane.org/gmane.org.user-groups.zope.zpugdc/502">
    <title>Re: Changes afoot at ZPUGDC (INC)</title>
    <link>http://permalink.gmane.org/gmane.org.user-groups.zope.zpugdc/502</link>
    <description>&lt;pre&gt;Thanks for the reply, Chris! See below.

Sent from my iPhone

On Sep 1, 2009, at 9:46 AM, Chris Shenton &amp;lt;chris-hqj+Oi1WDm5AfugRpC6u6w&amp;lt; at &amp;gt;public.gmane.org&amp;gt; wrote:



Not really, but I'd like to do a better job of tracking the meetings,  
and archiving notes, etc. If you look at zpugdc.org you'll see a  
somewhat failed attempt at doing that (though a decent effort IMO,  
over the years).


I don't think that is totally unreasonable, and I like the idea. It  
could even evolve into an "objectis style" free hosting setup for  
various platforms, but like anything else it requires ownership. We  
had a VPS donated by (now defunct) HSR and I'm embarrassed to say we  
never really did anything with it (it was supposed to become  
zpugdc.org).


Yup, we definitely want all that. I have ZPUGDC to thank for many of  
my early consulting contacts, and I think we have tremendous potential  
and a lot to offer the community as far as networking goes. How best  
to translate that to the web is the question.


Excellent! Tha&lt;/pre&gt;</description>
    <dc:creator>Alex Clark</dc:creator>
    <dc:date>2009-09-01T16:12:24</dc:date>
  </item>
  <item rdf:about="http://permalink.gmane.org/gmane.org.user-groups.zope.zpugdc/501">
    <title>Re: Changes afoot at ZPUGDC (INC)</title>
    <link>http://permalink.gmane.org/gmane.org.user-groups.zope.zpugdc/501</link>
    <description>&lt;pre&gt;
On Aug 31, 2009, at 11:46 PM, Alex Clark wrote:


Excellent!


Do you have plans for them, if we're gonna be using MeetUp for general  
meeting stuff?
Do you anticipate they'd be Plone, Django, BFG, TG2, Pylons, other?

This is prolly a bit science-fictiony, but I wonder if it would be  
possible to offer slicehost/gandi style microhosting, which would  
allow demonstrating ZPUG member proof-o-concepts, prototypes, hype,  
etc.  What would benefit the ZPUG crew the most?

More obvious would be pimping local service providers, consultants,  
companies, and a jobs board for local work...



I've not got marketing skillz but have enjoyed the ZPUG clan for quite  
a while now.  What duties does a board member need to fulfill?   
Perhaps I can give something back.

&lt;/pre&gt;</description>
    <dc:creator>Chris Shenton</dc:creator>
    <dc:date>2009-09-01T13:46:04</dc:date>
  </item>
  <item rdf:about="http://permalink.gmane.org/gmane.org.user-groups.zope.zpugdc/500">
    <title>Meeting tomorrow night!</title>
    <link>http://permalink.gmane.org/gmane.org.user-groups.zope.zpugdc/500</link>
    <description>&lt;pre&gt;Hi all,

We've got a meeting scheduled for tomorrow night, 7:00PM-9:00PM at Radio Free
Asia in DC:
    - http://zpugdc.org/meetings/where/rfa

We currently having:
    - nothing scheduled!

However that won't stop us from having an enjoyable, engaging 
time. For my part, I'm going to try and pack some mini-talk on my
laptop (possibly new features of zc.buildout 1.4.1) and show up ready
to present. I encourage everyone else in attendance to
do the same! Of course, we'll go around the room and discuss
your current favorite Python-related technology, as always.
Afterwards, we'll head to the bar (probably Science Club but 
maybe somewhere new?)

Hope to see you tomorrow night!

Alex

&lt;/pre&gt;</description>
    <dc:creator>Alex Clark</dc:creator>
    <dc:date>2009-09-01T03:58:44</dc:date>
  </item>
  <item rdf:about="http://permalink.gmane.org/gmane.org.user-groups.zope.zpugdc/499">
    <title>Changes afoot at ZPUGDC (INC)</title>
    <link>http://permalink.gmane.org/gmane.org.user-groups.zope.zpugdc/499</link>
    <description>&lt;pre&gt;Hi all,

It was great to see the recent exchange between David and other list members,
keep it up! That's what we are here for. As a result of the recent activity, I
wanted to take this opportunity to update everyone on recent events.

As you may recall, we (myself, Matt Bowen, and my wife, Amy) 
incorporated ZPUGDC last year to better facilitate our mission: to
promote and serve the user and developer communities of Python and its
related technologies in the Washington, DC and surrounding areas.
As such, we are still laying the groundwork for a successful, 
community-driven organization:

1. We (ZPUGDC, INC) recently filed our 2008 taxes to meet the August
    deadline, yay us! Next up is our 501(c)(3) application which we are 
    currently working on. This is a lot of work, but should be much less so
    in the following years (e.g. we just have to file our 990, as I
    understand it).

2. I recently spoke with ex-officio Joel Burton, and he agreed to transfer
    control of we ZPUGDC domains (com,org) t&lt;/pre&gt;</description>
    <dc:creator>Alex Clark</dc:creator>
    <dc:date>2009-09-01T03:46:30</dc:date>
  </item>
  <item rdf:about="http://permalink.gmane.org/gmane.org.user-groups.zope.zpugdc/498">
    <title>Re: opening files</title>
    <link>http://permalink.gmane.org/gmane.org.user-groups.zope.zpugdc/498</link>
    <description>&lt;pre&gt;Hi David,

One thing to note is that if you plan to package your code in an egg 
(zip), you won't be able to rely on __file__; setuptools provides some 
mechanisms for accessing data in a way that will survive zipping into an 
egg if that's an important requirement:

http://peak.telecommunity.com/DevCenter/PythonEggs#accessing-package-resources

Hans

David Greisen wrote:


&lt;/pre&gt;</description>
    <dc:creator>Hans Lellelid</dc:creator>
    <dc:date>2009-08-27T10:43:04</dc:date>
  </item>
  <item rdf:about="http://permalink.gmane.org/gmane.org.user-groups.zope.zpugdc/497">
    <title>Re: opening files</title>
    <link>http://permalink.gmane.org/gmane.org.user-groups.zope.zpugdc/497</link>
    <description>&lt;pre&gt;Hey guys,

Thanks for the help, I was able to get the default working. Took me awhile
to realize that I could use __file__ within my module as a global variable
to find my path. I had been hoping to not have to pass the settings path to
the xmlparser, but i have done it that way. Everything works, and I
appreciate your assistance.

David

On Tue, Aug 25, 2009 at 11:26 AM, Alex Clark &amp;lt;aclark-pzuzLh+EMZSsTnJN9+BGXg&amp;lt; at &amp;gt;public.gmane.org&amp;gt; wrote:

&lt;/pre&gt;</description>
    <dc:creator>David Greisen</dc:creator>
    <dc:date>2009-08-27T02:14:16</dc:date>
  </item>
  <item rdf:about="http://permalink.gmane.org/gmane.org.user-groups.zope.zpugdc/496">
    <title>Re: opening files</title>
    <link>http://permalink.gmane.org/gmane.org.user-groups.zope.zpugdc/496</link>
    <description>&lt;pre&gt;Shhhh!  I was trying to guide David _away_ from things like
sys._getframe().  :-)

-kpd

On Tue, Aug 25, 2009 at 10:23 AM, Eric Smith &amp;lt;eric-HrAr7ui6p3Vl57MIdRCFDg&amp;lt; at &amp;gt;public.gmane.org&amp;gt; wrote:

&lt;/pre&gt;</description>
    <dc:creator>Kevin Dwyer</dc:creator>
    <dc:date>2009-08-25T14:59:11</dc:date>
  </item>
  <item rdf:about="http://permalink.gmane.org/gmane.org.user-groups.zope.zpugdc/495">
    <title>Re: opening files</title>
    <link>http://permalink.gmane.org/gmane.org.user-groups.zope.zpugdc/495</link>
    <description>&lt;pre&gt;OOOPs, meant to say hah *goes to run sys._getframe()*

Sent from my iPhone

On Aug 25, 2009, at 10:59 AM, Kevin Dwyer &amp;lt;kevin-JpqRylWyNF/R7s880joybQ&amp;lt; at &amp;gt;public.gmane.org&amp;gt; wrote:

&lt;/pre&gt;</description>
    <dc:creator>Alex Clark</dc:creator>
    <dc:date>2009-08-25T15:26:25</dc:date>
  </item>
  <item rdf:about="http://permalink.gmane.org/gmane.org.user-groups.zope.zpugdc/494">
    <title>Re: opening files</title>
    <link>http://permalink.gmane.org/gmane.org.user-groups.zope.zpugdc/494</link>
    <description>&lt;pre&gt;Hah *goes to run

Sent from my iPhone

On Aug 25, 2009, at 10:59 AM, Kevin Dwyer &amp;lt;kevin-JpqRylWyNF/R7s880joybQ&amp;lt; at &amp;gt;public.gmane.org&amp;gt; wrote:

&lt;/pre&gt;</description>
    <dc:creator>Alex Clark</dc:creator>
    <dc:date>2009-08-25T15:24:05</dc:date>
  </item>
  <item rdf:about="http://permalink.gmane.org/gmane.org.user-groups.zope.zpugdc/493">
    <title>Re: opening files</title>
    <link>http://permalink.gmane.org/gmane.org.user-groups.zope.zpugdc/493</link>
    <description>&lt;pre&gt;If you want to know who called you, look at sys._getframe(). Lots of 
people consider using sys._getframe() an anti-pattern, and in addition 
it isn't supported by IronPython or Jython. That said, I occasionally 
use it for a quick and dirty hack.

Eric.

J.L. Ennis wrote:


&lt;/pre&gt;</description>
    <dc:creator>Eric Smith</dc:creator>
    <dc:date>2009-08-25T14:23:46</dc:date>
  </item>
  <item rdf:about="http://permalink.gmane.org/gmane.org.user-groups.zope.zpugdc/492">
    <title>Re: opening files</title>
    <link>http://permalink.gmane.org/gmane.org.user-groups.zope.zpugdc/492</link>
    <description>&lt;pre&gt;David,

In module1/main.py, why don't you pass the absolute pathname of the
settings.xml file to xmlParser?  You would so something like:
xmlParser.xmlParser(filename=os.path.abspath('settings.xml'))

Then, in xmlParser, make the filename argument have a default that points to
defaults.xml.

-kpd

On Tue, Aug 25, 2009 at 9:33 AM, David Greisen &amp;lt;dgreisen-Re5JQEeQqe8AvxtiuMwx3w&amp;lt; at &amp;gt;public.gmane.org&amp;gt; wrote:

&lt;/pre&gt;</description>
    <dc:creator>Kevin Dwyer</dc:creator>
    <dc:date>2009-08-25T14:20:06</dc:date>
  </item>
  <item rdf:about="http://permalink.gmane.org/gmane.org.user-groups.zope.zpugdc/491">
    <title>Re: opening files</title>
    <link>http://permalink.gmane.org/gmane.org.user-groups.zope.zpugdc/491</link>
    <description>&lt;pre&gt;David -

You can figure out the name of the module with the __name__ built-in
variable or the path of the module with __file__.
To find the xml files, you can using os.walk (if you have python 2.6)
http://docs.python.org/library/os.html#os.walk or os.path.walk:
http://docs.python.org/library/os.path.html#module-os.path

Hope this helps.

-Jennifer
- Hide quoted text -

On Tue, Aug 25, 2009 at 9:33 AM, David Greisen &amp;lt;dgreisen-Re5JQEeQqe8AvxtiuMwx3w&amp;lt; at &amp;gt;public.gmane.org&amp;gt; wrote:

&lt;/pre&gt;</description>
    <dc:creator>J.L. Ennis</dc:creator>
    <dc:date>2009-08-25T14:13:45</dc:date>
  </item>
  <item rdf:about="http://permalink.gmane.org/gmane.org.user-groups.zope.zpugdc/490">
    <title>opening files</title>
    <link>http://permalink.gmane.org/gmane.org.user-groups.zope.zpugdc/490</link>
    <description>&lt;pre&gt;I want to be able to open and parse different xml files (all named the same)
depending on which class calls the xml parser.
I have a file structure that looks something like this:

./main.py
./module1/main.py
./module1/settings.xml
./module2/main.py
./module2/settings.xml
./module3/main.py
??/tools/xmlParser.py
??/tools/defaults.xml

./ is my initial working directory. main.py imports module1 and module2,
which each import xmlParser and create a parser. I would like the parser to
look for an xml file in the folder of the code that called the tool, if it's
not there, then it will use the default xml in its own folder.

1) How do I figure out the name of the module that is making the call so I
can then get to that folder.

2) How do I call an xml file from a folder for which I do not have an
absolute or relative path?

Thanks in advance,

David
&lt;/pre&gt;</description>
    <dc:creator>David Greisen</dc:creator>
    <dc:date>2009-08-25T13:33:52</dc:date>
  </item>
  <textinput rdf:about="http://search.gmane.org/?group=$group=gmane.org.user-groups.zope.zpugdc">
    <title>Search Engine</title>
    <description>Search the mailing list at Gmane</description>
    <name>query</name>
    <link>http://search.gmane.org/?group=$group=gmane.org.user-groups.zope.zpugdc</link>
  </textinput>
</rdf:RDF>

