<?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://blog.gmane.org/gmane.comp.python.general">
    <title>gmane.comp.python.general</title>
    <link>http://blog.gmane.org/gmane.comp.python.general</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://comments.gmane.org/gmane.comp.python.general/732992"/>
        <rdf:li rdf:resource="http://comments.gmane.org/gmane.comp.python.general/732991"/>
        <rdf:li rdf:resource="http://comments.gmane.org/gmane.comp.python.general/732983"/>
        <rdf:li rdf:resource="http://comments.gmane.org/gmane.comp.python.general/732959"/>
        <rdf:li rdf:resource="http://comments.gmane.org/gmane.comp.python.general/732958"/>
        <rdf:li rdf:resource="http://comments.gmane.org/gmane.comp.python.general/732941"/>
        <rdf:li rdf:resource="http://comments.gmane.org/gmane.comp.python.general/732923"/>
        <rdf:li rdf:resource="http://comments.gmane.org/gmane.comp.python.general/732921"/>
        <rdf:li rdf:resource="http://comments.gmane.org/gmane.comp.python.general/732912"/>
        <rdf:li rdf:resource="http://comments.gmane.org/gmane.comp.python.general/732901"/>
        <rdf:li rdf:resource="http://comments.gmane.org/gmane.comp.python.general/732899"/>
        <rdf:li rdf:resource="http://comments.gmane.org/gmane.comp.python.general/732893"/>
        <rdf:li rdf:resource="http://comments.gmane.org/gmane.comp.python.general/732891"/>
        <rdf:li rdf:resource="http://comments.gmane.org/gmane.comp.python.general/732888"/>
        <rdf:li rdf:resource="http://comments.gmane.org/gmane.comp.python.general/732885"/>
        <rdf:li rdf:resource="http://comments.gmane.org/gmane.comp.python.general/732872"/>
        <rdf:li rdf:resource="http://comments.gmane.org/gmane.comp.python.general/732866"/>
        <rdf:li rdf:resource="http://comments.gmane.org/gmane.comp.python.general/732857"/>
        <rdf:li rdf:resource="http://comments.gmane.org/gmane.comp.python.general/732846"/>
        <rdf:li rdf:resource="http://comments.gmane.org/gmane.comp.python.general/732845"/>
      </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://comments.gmane.org/gmane.comp.python.general/732992">
    <title>CFP: MuCoCoS Workshop at PACT-2013 (Edinburgh, Scotland, UK)</title>
    <link>http://comments.gmane.org/gmane.comp.python.general/732992</link>
    <description>&lt;pre&gt;                      CALL FOR PAPERS:

6th International Workshop on Multi/many-Core Computing Systems
                       (MuCoCoS-2013)

          September 7, 2013, Edinburgh, Scotland, UK

       in conjunction with the 22nd Int. Conference on
  Parallel Architectures and Compilation Techniques (PACT-2013)

        http://www.ida.liu.se/conferences/mucocos2013


AIMS AND SCOPE

The pervasiveness of homogeneous and heterogeneous multi-core and
many-core processors, in a large spectrum of systems from embedded and
general-purpose to high-end computing systems, poses major challenges
to software industry. In general, there is no guarantee that software
developed for a particular architecture will be executable (that is functional)
on another architecture. Furthermore, ensuring that the software preserves
some aspects of performance behavior (such as temporal or energy efficiency)
across different such architectures is an open research issue.

Therefore, this workshop focuses on language level, system software and
architectural solutions for performance portability
across different architectures and for automated performance tuning.

The topics of the MuCoCoS workshop include but are not limited to:

 * Performance measurement, modeling, analysis and tuning
 * Portable programming models, languages and compilation techniques
 * Run-time systems and hardware support mechanisms for auto-tuning
 * Tunable algorithms and data structures
 * Case studies highlighting performance portability and tuning.

As the sixth workshop in the series MuCoCoS 2008 (Barcelona, Spain),
MuCoCoS 2009 (Fukuoka, Japan), MuCoCoS 2010 (Krakow, Poland),
MuCoCoS 2011 (Seoul, Korea), and MuCoCoS 2012 (Salt Lake City, USA),
MuCoCoS 2013 will be held in Edinburgh, UK,
in conjunction with the 22nd International Conference on
Parallel Architectures and Compilation Techniques (PACT 2013).


SUBMISSION GUIDELINES

The papers should be prepared using the IEEE format
(two-column, 10pt, LaTeX users please use style IEEEtran.cls),
and no longer than 10 pages. Submitted papers will be carefully
evaluated based on originality, significance to workshop topics,
technical soundness, and presentation quality.

Please submit your paper (as PDF, viewable by Adobe Reader v5.0
or higher, with all fonts embedded please) electronically using
the online submission system
https://www.easychair.org/conferences/?conf=mucocos2013

Submission of the paper implies that, should the paper be accepted,
at least one of the authors will register and present the paper at
the workshop.

Accepted papers will be published in electronic form in
IEEE Xplore (confirmation pending).
They will also be included in the PACT USB proceedings.
We also plan to invite authors of the best MuCoCoS papers after
the workshop to submit their extended workshop papers to a special
issue of Computing Journal (Springer) (confirmation pending).


IMPORTANT DATES

Submission:   May 27, 2013 (Firm Deadline)
Notification: June 23, 2013
Camera-ready: July 7, 2013
Workshop:     September 7, 2013


WORKSHOP ORGANIZATION

Christoph Kessler, Linköping University, Sweden, program chair
Sabri Pllana, Linnaeus University, Sweden, co-chair


PROGRAM COMMITTEE

Marco Aldinucci, Univ. of Torino, Italy
Beverly Bachmayer, Intel, Germany
David Bader, Georgia Tech, USA
Jacob Barhen, Oak Ridge National Lab, USA
Siegfried Benkner, Univ. of Vienna, Austria
Franz Franchetti, Carnegie Mellon University, USA
Grigori Fursin, INRIA, France
Jörg Keller, FernUniv. Hagen, Germany
Lasse Natvig, NTNU Trondheim, Norway
Mitsuhisa Sato, Univ. of Tsukuba, Japan
Samuel Thibault, INRIA / Univ. of Bordeaux, France
Philippas Tsigas, Chalmers University, Sweden
Jakub Yaghob, Charles University Prague, Czech Republic


&lt;/pre&gt;</description>
    <dc:creator>SP</dc:creator>
    <dc:date>2013-05-20T07:08:55</dc:date>
  </item>
  <item rdf:about="http://comments.gmane.org/gmane.comp.python.general/732991">
    <title>Question about ast.literal_eval</title>
    <link>http://comments.gmane.org/gmane.comp.python.general/732991</link>
    <description>&lt;pre&gt;Hi all

I am trying to emulate a SQL check constraint in Python. Quoting from 
the PostgreSQL docs, "A check constraint is the most generic constraint 
type. It allows you to specify that the value in a certain column must 
satisfy a Boolean (truth-value) expression."

The problem is that I want to store the constraint as a string, and I 
was hoping to use ast.literal_eval to evaluate it, but it does not work.

 &amp;gt;&amp;gt;&amp;gt; x = 'abc'
 &amp;gt;&amp;gt;&amp;gt; x in ('abc', xyz')
True
 &amp;gt;&amp;gt;&amp;gt; b = "x in ('abc', 'xyz')"
 &amp;gt;&amp;gt;&amp;gt; eval(b)
True
 &amp;gt;&amp;gt;&amp;gt; from ast import literal_eval
 &amp;gt;&amp;gt;&amp;gt; literal_eval(b)
ValueError: malformed node or string: &amp;lt;_ast.Compare object at ...&amp;gt;

Is there a safe way to do what I want? I am using python 3.3.

Thanks

Frank Millman

&lt;/pre&gt;</description>
    <dc:creator>Frank Millman</dc:creator>
    <dc:date>2013-05-20T07:05:48</dc:date>
  </item>
  <item rdf:about="http://comments.gmane.org/gmane.comp.python.general/732983">
    <title>How to run a python script twice randomly in a day?</title>
    <link>http://comments.gmane.org/gmane.comp.python.general/732983</link>
    <description>&lt;pre&gt;hi,
   How to run a python script twice randomly in a day? Actually I want to run my script randomly in a day and twice only. Please help me.. how is it possible.

Thanks
&lt;/pre&gt;</description>
    <dc:creator>Avnesh Shakya</dc:creator>
    <dc:date>2013-05-20T03:54:11</dc:date>
  </item>
  <item rdf:about="http://comments.gmane.org/gmane.comp.python.general/732959">
    <title>What was the project that made you feel skilled in Python?</title>
    <link>http://comments.gmane.org/gmane.comp.python.general/732959</link>
    <description>&lt;pre&gt;Hi all, I'm trying to come up with more project ideas for intermediate 
learners, somewhat along the lines of 
http://bit.ly/intermediate-python-projects .

So here's a question for people who remember coming up from beginner: as 
you moved from exercises like those in Learn Python the Hard Way, up to 
your own self-guided work on small projects, what project were you 
working on that made you feel independent and skilled?  What program 
first felt like your own work rather than an exercise the teacher had 
assigned?

I don't want anything too large, but big enough that there's room for 
design, and multiple approaches, etc.

Thanks in advance!

--Ned.
&lt;/pre&gt;</description>
    <dc:creator>Ned Batchelder</dc:creator>
    <dc:date>2013-05-19T11:30:49</dc:date>
  </item>
  <item rdf:about="http://comments.gmane.org/gmane.comp.python.general/732958">
    <title>Harmonic distortion of a input signal</title>
    <link>http://comments.gmane.org/gmane.comp.python.general/732958</link>
    <description>&lt;pre&gt;Hi,
I have a task to calculate total distortion of a harmonics, of a signal that i imported from oscilloscope as numpy array. I had no problem drawing its spectrum, and time domain graph, but cant seem to find any functions that calculate TDH.
Any help? 
Best regards
&lt;/pre&gt;</description>
    <dc:creator>Anti Log</dc:creator>
    <dc:date>2013-05-19T10:52:27</dc:date>
  </item>
  <item rdf:about="http://comments.gmane.org/gmane.comp.python.general/732941">
    <title>mutable ints: I think I have painted myself into a corner</title>
    <link>http://comments.gmane.org/gmane.comp.python.general/732941</link>
    <description>&lt;pre&gt;TL;DR: I think I want to modify an int value "in place".

Yesterday I was thinking about various "flag set" objects I have
floating around which are essentially bare "object"s whose attributes
I access, for example:

  flags = object()
  flags.this = True
  flags.that = False

and then elsewhere:

  if flags.that:
    do that ...

Nice and readable, but I thought to myself: so bulky!

The use case for flags is essentially boolean/binary, and so a int
accessed as a bitmask should be smaller.

So I pulled out my BitMask int subclass (which mostly transcribes
the int as "A|B|C" for readability purposes, partly to dillute Nick
Coglan's liking for bulky strings over compact ints on readability
grounds:-), and gave the subclass attribute access.

This works just fine for querying the flags object, with code exactly
like the "if" statement above.

But setting up a flags object? What I _want_ to write is code like this:

  Flags = BitMask('this', 'that')

  # set default state
  flags = Flags()
  flags.this = False
  flags.that = True
  ... iterate over some options ...: flags.this = True

and there's my problem. This would modify the int in place. There's
no way to do that. For the base type (int) this makes perfect sense,
as they're immutable.

Before I toss this approach and retreat to my former "object"
technique, does anyone see a way forward to modify an int subclass
instance in place? (That doesn't break math, preferably; I don't
do arithmetic with these things but they are, after all, ints...)

Cheers,
&lt;/pre&gt;</description>
    <dc:creator>Cameron Simpson</dc:creator>
    <dc:date>2013-05-19T00:26:29</dc:date>
  </item>
  <item rdf:about="http://comments.gmane.org/gmane.comp.python.general/732923">
    <title>TypeError: unbound method add() must be called with BinaryTreeinstance as first argument (got nothing instead)</title>
    <link>http://comments.gmane.org/gmane.comp.python.general/732923</link>
    <description>&lt;pre&gt;I'm getting the error in the subject, from the following code:
    def add(self, key):
        """
        Adds a node containing I{key} to the subtree
        rooted at I{self}, returning the added node.
        """
        node = self.find(key)
        if not node:
            node.key = key
            # placeholder
            node.left, node.right = self.__class__(parent=node),
self.__class__(parent=node)
            return (False, node)
        else:
            if random.random() &amp;lt; 0.5:
                print('node.left is %s' % node.left)
                return BinaryTree.add(self=node.left, key=key)
            else:
                print('node.right is %s' % node.left)
                return BinaryTree.add(self=node.right, key=key)

The above add() method is part of a BinaryTree(object) class, whose
subclass is RedBlackTree.

We need to explicitly call BinaryTree.add() with an explict self, to avoid
inappropriately calling RedBlackTree.add().; BinaryTree.add() is being
called with a RedBlackTree instance as self.

The debugging print and traceback look like:
node.left is  0 -1 red
Traceback (most recent call last):
  File "app_main.py", line 51, in run_toplevel
  File "test-red_black_tree_mod", line 328, in &amp;lt;module&amp;gt;
    test()
  File "test-red_black_tree_mod", line 316, in test
    all_good &amp;amp;= test_duplicates()
  File "test-red_black_tree_mod", line 194, in test_duplicates
    tree.add(value)
  File
"/home/dstromberg/src/home-svn/red-black-tree-mod/trunk/duncan/red_black_bag_mod.py",
line 919, in add
    (replaced, node) = super(RedBlackTree, self).add(key=key)
  File
"/home/dstromberg/src/home-svn/red-black-tree-mod/trunk/duncan/red_black_bag_mod.py",
line 376, in add
    return BinaryTree.add(self=node.left, key=key)
TypeError: unbound method add() must be called with BinaryTree instance as
first argument (got nothing instead)

Why is it complaining that .add() is getting nothing, when node.left isn't
None?  As you can see above the traceback, it's got a value represented by
"node.left is  0 -1 red".

python 2.x, python 3.x and pypy all give this same error, though jython
errors out at a different point in the same method.

Thanks!
&lt;/pre&gt;</description>
    <dc:creator>Dan Stromberg</dc:creator>
    <dc:date>2013-05-18T19:01:12</dc:date>
  </item>
  <item rdf:about="http://comments.gmane.org/gmane.comp.python.general/732921">
    <title>SQLObject 1.4.0</title>
    <link>http://comments.gmane.org/gmane.comp.python.general/732921</link>
    <description>&lt;pre&gt;Hello!

I'm pleased to announce version 1.4.0, the first stable release of branch
1.4 of SQLObject.


What's new in SQLObject
=======================

Features &amp;amp; Interface
--------------------

* Support for PostgreSQL 8.1 is dropped. The minimal supported version of
  PostgreSQL is 8.2 now.

* Optimization in PostgresConnection: use INSERT...RETURNING id
  to get the autoincremented id in one query instead of two
  (INSERT + SELECT id).

* Changed the way to get if the table has identity in MS SQL.

* NCHAR/NVARCHAR and N''-quoted strings for MS SQL.

Contributors for this release are Ken Lalonde and Andrew Ziem.


For a more complete list, please see the news:
http://sqlobject.org/News.html


What is SQLObject
=================

SQLObject is an object-relational mapper.  Your database tables are described
as classes, and rows are instances of those classes.  SQLObject is meant to be
easy to use and quick to get started with.

SQLObject supports a number of backends: MySQL, PostgreSQL, SQLite,
Firebird, Sybase, MSSQL and MaxDB (also known as SAPDB).


Where is SQLObject
==================

Site:
http://sqlobject.org

Development:
http://sqlobject.org/devel/

Mailing list:
https://lists.sourceforge.net/mailman/listinfo/sqlobject-discuss

Archives:
http://news.gmane.org/gmane.comp.python.sqlobject

Download:
https://pypi.python.org/pypi/SQLObject/1.4.0

News and changes:
http://sqlobject.org/News.html

Oleg.
&lt;/pre&gt;</description>
    <dc:creator>Oleg Broytman</dc:creator>
    <dc:date>2013-05-18T10:08:30</dc:date>
  </item>
  <item rdf:about="http://comments.gmane.org/gmane.comp.python.general/732912">
    <title>Future standard GUI library</title>
    <link>http://comments.gmane.org/gmane.comp.python.general/732912</link>
    <description>&lt;pre&gt;Not sure if this is the right place to talk about this. Even less sure if I
can
move this discussion to tkinter list, so here I am...

I know this may sound a silly question because no one can see the future.
But ...
Do you think tkinter is going to be the standard python built-in gui
solution as long as python exists?

I couldn't help but wonder if wx or PySide receives better py2 and py3
support, or anything else that prevent
them from getting into the standard python distributions, whether or not
this scene could start to shift ...

I believe this "which one of tkinter, wx, qt, is the best gui toolkit for
python" flame war has been going on
for ages. I love the fact that python ships a built-in gui solution which
makes shipping a pure-python desktop
application a viable choice. But tkinter does not appear to be the most
time-saving way to write a gui app.
The layout designer support, for one, is next to zero. I tried many
3rd-party designers
and loved PAGE (http://page.sourceforge.net) for a few minutes, then came
the author's comment:

"For release 4.0, I spent about two months working with the “Theme” part of
Ttk and have had only partial success. I now believe that the “Theme” part
of Ttk is really a very poor piece of software at all levels - concept,
implementation, and especially documentation. My guess is if it had been
well documented it would have been recognized by even the author as junk. I
find it hard to believe that the people who control Tcl/Tk allowed it in
the code base. I continue to support ttk because of the paned window,
notebook and treeview widgets."

And ttk seems to be a major attraction that keeps people coming back to tk
for the looks. This worries me very much
about whether I should start a gui app using python. Because if ttk is not
a "mature" technology, I'd avoid premature adoption.
If ttk is out of the question, tkinter will be too. I'd then be forced to
use a 3rd-party solution like wx or qt, which I really don't want to see.

Anyways, this is just some concerns that I hope someone may give his/her
opinions about.

Thanks!
&lt;/pre&gt;</description>
    <dc:creator>Beinan Li</dc:creator>
    <dc:date>2013-05-18T14:03:02</dc:date>
  </item>
  <item rdf:about="http://comments.gmane.org/gmane.comp.python.general/732901">
    <title>python script is not running</title>
    <link>http://comments.gmane.org/gmane.comp.python.general/732901</link>
    <description>&lt;pre&gt;hi,
    i want to run python script which generating data into json fromat, I am using crontab, but it's not executing...
my python code--
try.py --

import json
import simplejson as json
import sys

def tryJson():
    saved = sys.stdout
    correctFile = file('data.json', 'a+')
    sys.stdout = correctFile
    result = []
    i = 1
    for i in range(5):
        info = {
                'a': i+1,
                'b': i+2,
                'c': i+3,
               }
        result.append(info)

    if result:
        print json.dumps(result, indent=6)
        sys.stdout = saved
        correctFile.close()
tryJson()

now i m doing ion terminal-
avin&amp;lt; at &amp;gt;hp:~$ crontab -e
then type -
*/2 * * * * python /home/avin/data/try.py

and save

but it's not executing.
&lt;/pre&gt;</description>
    <dc:creator>Avnesh Shakya</dc:creator>
    <dc:date>2013-05-18T10:12:30</dc:date>
  </item>
  <item rdf:about="http://comments.gmane.org/gmane.comp.python.general/732899">
    <title>Please help with Threading</title>
    <link>http://comments.gmane.org/gmane.comp.python.general/732899</link>
    <description>&lt;pre&gt;This is my first script where I want to use the python threading module. I have a large dataset which is a list of dict this can be as much as 200 dictionaries in the list. The final goal is a  histogram for each dict 16 histograms on a page ( 4x4 ) - this already works. 
What I currently do is a create a nested list [ [ {}  ], [ {} ] ] each inner list contains 16 dictionaries, thus each inner list is a single page of 16 histograms. Iterating over the outer-list  and creating the graphs takes to long. So I would like multiple inner-list to be processes simultaneously and creating the graphs in "parallel". 
I am trying to use the python threading for this. I create 4 threads loop over the outer-list and send a inner-list to the thread. This seems to work if my nested lists only contains 2 elements - thus less elements than threads. Currently the scripts runs and then seems to get hung up. I monitor the resource  on my mac and python starts off good using 80% and when the 4-thread is created the CPU usages drops to 0%. 

My thread creating is based on the following : http://www.tutorialspoint.com/python/python_multithreading.htm

Any help would be create!!!
&lt;/pre&gt;</description>
    <dc:creator>Jurgens de Bruin</dc:creator>
    <dc:date>2013-05-18T08:58:13</dc:date>
  </item>
  <item rdf:about="http://comments.gmane.org/gmane.comp.python.general/732893">
    <title>how to run another file inside current file?</title>
    <link>http://comments.gmane.org/gmane.comp.python.general/732893</link>
    <description>&lt;pre&gt;hi,
   I want to run a another file inside a ached.add_cron_job(..). how is it possible, please help me, I have a file otherFile.py for execution inside current file.
I know it is very easy question but i m unable to get anything, please help me.
example --

import otherFile
from apscheduler.scheduler import Scheduler
sched = Scheduler()
sched.start()

def job_function():
    # Can I here add that file for execution, Or can i add that file directly inside cron?
   
sched.add_cron_job(job_function, month='1-12', day='1-31', hour='0-23',minute='44-49')
&lt;/pre&gt;</description>
    <dc:creator>Avnesh Shakya</dc:creator>
    <dc:date>2013-05-18T04:48:54</dc:date>
  </item>
  <item rdf:about="http://comments.gmane.org/gmane.comp.python.general/732891">
    <title>Two Dictionaries and a Sum!</title>
    <link>http://comments.gmane.org/gmane.comp.python.general/732891</link>
    <description>&lt;pre&gt;Confusing subject for a confusing problem (to a novice like me of course!)
Thx for the help in advance folks

I have (2) dictionaries:

prices = {
    "banana": 4,
    "apple": 2,
    "orange": 1.5,
    "pear": 3
}
    
stock = {
    "banana": 6,
    "apple": 0,
    "orange": 32,
    "pear": 15
}

Here's my instructions:

consider this as an inventory and calculate the sum (thats 4*6 = 24 bananas!)

HERES MY CODE:

for key in prices:
    print prices[key]*stock[key]

HERES THE OUTPUT:

48.0
45
24
0

ISSUE:
I need to find a way to add all of those together...any pointers?
&lt;/pre&gt;</description>
    <dc:creator>Bradley Wright</dc:creator>
    <dc:date>2013-05-18T04:19:54</dc:date>
  </item>
  <item rdf:about="http://comments.gmane.org/gmane.comp.python.general/732888">
    <title>Continuous Deployment Style Build System for Python</title>
    <link>http://comments.gmane.org/gmane.comp.python.general/732888</link>
    <description>&lt;pre&gt;Defend Against Fruit is focused on providing a pragmatic,
continuous deployment style build system for Python.
Current Python build systems do not properly account for
the needs of effective continuous deployment. This package
extends the Python tooling to add the missing pieces,
including integration with Artifactory.

With an eye to agile development principles and fast-feedback,
we want a build system which satisfies the following goals:

* Every SCM change-set committed should result in a
  potentially shippable release candidate.

* When a defect is introduced, we want to immediately detect
  and isolate the offending SCM change-set. This is true
  even if the defect was introduced into a library we depend upon.

* Library management should be so easy as to never impede code changes,
  even in multi-component architecture.

More details available at: http://teamfruit.github.io/defend_against_fruit/

License: Apache Public License v2

Authors:

James Carpenter
jcarpenter621 at yahoo.com
LinkedIn: http://www.linkedin.com/in/jamescarpenter1

Matthew Tardiff
mattrix at gmail.com
LinkedIn: http://www.linkedin.com/in/matthewtardiff
&lt;/pre&gt;</description>
    <dc:creator>James Carpenter</dc:creator>
    <dc:date>2013-05-17T19:25:10</dc:date>
  </item>
  <item rdf:about="http://comments.gmane.org/gmane.comp.python.general/732885">
    <title>Back-end Python Developer Seeking Telecommute Work</title>
    <link>http://comments.gmane.org/gmane.comp.python.general/732885</link>
    <description>&lt;pre&gt;I am seeking part/full time work as a back-end Python developer (telecommute or Utah only).  I have been maintaining a Debian/Python/Django/Apache/PostgreSQL/PHP/MySql web application for 3 years on my own.  I do all the development, database and system management myself. I can setup a complete system from scratch remotely or setup the hosting service.  I have experience with Virtualbox and ProxMox virtualization.  I have expereince in all areas of IT including telecom, programming, networking, hardware and software.  Worked with Retail stores, warehousing systems, accounting software, data interchange, hardware interfacing, etc.  

Regards,

Rob
&lt;/pre&gt;</description>
    <dc:creator>Rob Sutton</dc:creator>
    <dc:date>2013-05-17T18:36:07</dc:date>
  </item>
  <item rdf:about="http://comments.gmane.org/gmane.comp.python.general/732872">
    <title>Diacretical incensitive search</title>
    <link>http://comments.gmane.org/gmane.comp.python.general/732872</link>
    <description>&lt;pre&gt;One feature that seems to be missing in the re module (or any tools that I know for searching text) is "diacretical incensitive search". I would like to have a match for something like this:

re.match("franc", "français")

in about the same whay we can have a case incensitive search:

re.match("(?i)fran", "Français").

Another related and more general problem (in the sense that it could easily be used to solve the first problem) would be to translate a string removing any diacritical mark:

nodiac("Français") -&amp;gt; "Francais"

The algorithm to write such a function is trivial but there are a lot of mark we can put on a letter. It would be necessary to have the list of "a"'s with something on it. i.e. "à,á,ã", etc. and this for every letter. Trying to make such a list by hand would inevitably lead to some symbols forgotten (and would be tedious). 

Olive


&lt;/pre&gt;</description>
    <dc:creator>Olive</dc:creator>
    <dc:date>2013-05-17T06:57:04</dc:date>
  </item>
  <item rdf:about="http://comments.gmane.org/gmane.comp.python.general/732866">
    <title>How to write fast into a file in python?</title>
    <link>http://comments.gmane.org/gmane.comp.python.general/732866</link>
    <description>&lt;pre&gt;

I need to write numbers into a file upto 50mb and it should be fast
can any one help me how to do that?
i had written the following code..
-----------------------------------------------------------------------------------------------------------
def create_file_numbers_old(filename, size):
start = time.clock()

value = 0
with open(filename, "w") as f:
while f.tell()&amp;lt; size:
f.write("{0}\n".format(value))
value += 1

end = time.clock()

print "time taken to write a file of size", size, " is ", (end -start), "seconds \n"
------------------------------------------------------------------------------------------------------------------
it takes about 20sec i need 5 to 10 times less than that.
&lt;/pre&gt;</description>
    <dc:creator>lokeshkoppaka&lt; at &gt;gmail.com</dc:creator>
    <dc:date>2013-05-17T03:20:26</dc:date>
  </item>
  <item rdf:about="http://comments.gmane.org/gmane.comp.python.general/732857">
    <title>How to use relative Import</title>
    <link>http://comments.gmane.org/gmane.comp.python.general/732857</link>
    <description>&lt;pre&gt;Hello Python developers

I want to know how relative imports are different than import. I have found
lots of examples on internet explaining about the relative import

but I want to know about the basic aspects of relative import that make it
different than import.


*Regards
*
*Chitrank Dixit
*
*IIPS-DAVV
*
*Indore (M.P.) , India *
*MCA
*
*trackleech.blogspot.in*
&lt;/pre&gt;</description>
    <dc:creator>Chitrank Dixit</dc:creator>
    <dc:date>2013-05-16T20:05:49</dc:date>
  </item>
  <item rdf:about="http://comments.gmane.org/gmane.comp.python.general/732846">
    <title>Number of cells, using CSV module</title>
    <link>http://comments.gmane.org/gmane.comp.python.general/732846</link>
    <description>&lt;pre&gt;I'm using the csv module to get information from a csv file. I have items listed in Column A. I want to know how many items are listed in Column A. 

import csv
with open('test.csv', 'r') as f:
    reader = csv.reader(f)
    for column in reader:
        column = (column[0])
        print(column)     

We are given


How would I go about getting the amount of numbers that are printed? If I try printing len(column), I get 
&lt;/pre&gt;</description>
    <dc:creator>tunacubes&lt; at &gt;gmail.com</dc:creator>
    <dc:date>2013-05-16T18:29:25</dc:date>
  </item>
  <item rdf:about="http://comments.gmane.org/gmane.comp.python.general/732845">
    <title>any cherypy powred sites I can check out?</title>
    <link>http://comments.gmane.org/gmane.comp.python.general/732845</link>
    <description>&lt;pre&gt;anyone?
&lt;/pre&gt;</description>
    <dc:creator>visphatesjava&lt; at &gt;gmail.com</dc:creator>
    <dc:date>2013-05-16T18:17:37</dc:date>
  </item>
  <item rdf:about="http://comments.gmane.org/gmane.comp.python.general/732844">
    <title>so if zodb has no index or search, how run fast query?</title>
    <link>http://comments.gmane.org/gmane.comp.python.general/732844</link>
    <description>&lt;pre&gt;how?

and what package provides such?
&lt;/pre&gt;</description>
    <dc:creator>visphatesjava&lt; at &gt;gmail.com</dc:creator>
    <dc:date>2013-05-16T18:14:44</dc:date>
  </item>
  <textinput rdf:about="http://search.gmane.org/?group=$group=gmane.comp.python.general">
    <title>Search Engine</title>
    <description>Search the mailing list at Gmane</description>
    <name>query</name>
    <link>http://search.gmane.org/?group=$group=gmane.comp.python.general</link>
  </textinput>
</rdf:RDF>
