Hello,
my curiosity these day lay around the problem given by Kmail2.
I'd like to keep my old emails and a backup would satisfy my needs. The only
conditions should be that the mails will come back in a quick way.
I found this page
http://www.ducea.com/2006/11/25/cleanup-maildir-folders-archive-d
Thomas Jollans wrote:
> If Gwenview simply moves/renames the images, is it not enough to compare
> the actual files, byte by byte?
For the work at the spot I found Geeqie, doing right. In the other hand
learning some PIL function is one of my interest.
--
http://mail.python.org/mailman/listin
Kevin Zhang wrote:
> If anyone's interested, pleas checkout the source code in the attachment
> and welcome any advise.
I found that isn't python 3 code :(
Then the code should go into some other program to allow actions on those
pictures which are matching each other. Am I right?
--
http://m
Dave Angel wrote:
> If your real problem is identifying a renamed file amongst thousands of
> others, why not just compare the metadata? it'll be much faster.
>
This was the primer situation, then to get into the dirt I tought something
more sophisticated.
There was a program some year's back w
Hello,
I'm on python3.2, trying some experiment with OptionParser but no success
>>> from optparse import OptionParser as parser
>>> parser.add_option('-n','--new', dest='new')
>>>
Traceback (most recent
Terry Reedy wrote:
> Do note "The optparse module is deprecated and will not be developed
> further; development will continue with the argparse module."
Then,do you propose me to opt to argparse?
--
Archlinux on $(uname -a) :P
F
--
http://mail.python.org/mailman/listinfo/python-list
***
Your mail has been scanned by InterScan MSS.
***
confirm 48f0beb37c698f0bb7b4c0327cf30dbd7a4b6335
--
http://mail.python.org/mailman/listinfo/python-list
***
Your mail has been scanned by InterScan MSS.
***
Hello there,
Simple question : how do I manage errors by the use "try/except" clause.
Example:
If I'd like to catch error coming from a function call that's using IMAP4
class, which error may raise such
On Thursday 12 October 2006 04:47, Gabriel Genellina wrote:
> |Why not refer to the *current* documentation?
Gabriel,
Thank you, some time I (we) forget to look at the most obvious place ;)
Meanwhile yesterday I found some useful info on the web, which an *except*
statement needs a string object
***
Your mail has been scanned by InterScan MSS.
***
On Friday 13 October 2006 04:13, [EMAIL PROTECTED] wrote:
> I'd like to propose the following change to ConfigParser.py.
IMO there's a reason that left it in such way.
Whom didn't like the ConfigParser c
***
Your mail has been scanned by InterScan MSS.
***
On Friday 13 October 2006 23:17, limodou wrote:
> hope you try it.
If you'll manage for macro recording, playing back and from file then I'll be
yours :)
F
--
http://mail.python.org/mailman/listinfo/
***
Your mail has been scanned by InterScan MSS.
***
Hello,
Sorry, I very new in programming and the use of the classes still unknown.
I'm really interested to apply the right one as far as the results aren't as
expected.
Here's the example:
from poplib
***
Your mail has been scanned by InterScan MSS.
***
Hello,
I'm trying to get working an assertion which filter address from some domain
but if it's prefixed by '.com'.
Even trying to put the result in a negate test I can't get the wanted result.
The tou
On Wednesday 18 October 2006 00:25, Fredrik Lundh wrote:
> |feature. the "exec" system call operates on a lower level than the
> |stdio buffering system.
I did in this manner:
for exe in ('imap4', 'pop3'):
if exe in cfgfil[optsrv + '.protocol']:
exe = exe[:4]; exe = 'cal
***
Your mail has been scanned by InterScan MSS.
***
On Wednesday 18 October 2006 15:32, Ron Adam wrote:
> |Instead of using two separate if's, Use an if - elif and be sure to test
Thank you, Ron, for the input :)
I'll examine also in this mode. Meanwhile
***
Your mail has been scanned by InterScan MSS.
***
On Wednesday 18 October 2006 16:43, Rob Wolfe wrote:
> |def filter(adr): # note that "filter" is a builtin function also
> | import re
I didn't know it, but my function _is_ starting by underscor
On Wednesday 18 October 2006 23:05, Ant wrote:
> allow = re.compile(r'.*(?|$)') # negative lookbehind
> if allow.search(adr):
> return True
> return False
I'd point out that :
allow = re.search(r'.*(?|$)',adr)
Will do as yours, since the call to 're' class will do the compil
On Friday 20 October 2006 02:40, Ron Adam wrote:
> I see, is this a cleanup script to remove the least wanted items?
Yes. Probably will remain in this mode for a while.
I'm not prepaired to bring out a new algorithm
> Or is it a bit of both? Why the score?
As exposed on another post. There shou
***
Your mail has been scanned by InterScan MSS.
***
On Friday 20 October 2006 07:29, gel wrote:
> > Once you get a way to access the bytes to recover... the Hachoir library
> > can be interresting as a model to map structures on these data.
> >
> > h
***
Your mail has been scanned by InterScan MSS.
***
On Friday 20 October 2006 14:34, James Stroud wrote:
> You really don't need classes for this
I'm in that matter too. Doesn't classes make the main program neater?
Fundamentally OOP is the way to assembl
***
Your mail has been scanned by InterScan MSS.
***
Hello,
I'm used to put up programs (small right now), but I could find the only way
to define some functions.
I'm interested to split some function into class, but I don't have know-how
for these beast
***
Your mail has been scanned by InterScan MSS.
***
Hello,
I'm trying out a small utility and my method uses PDB for debugging. I tried
to read some information regarding the commands of PDB but are rather
synthetic. Mostly I'd like to understand the us
***
Your mail has been scanned by InterScan MSS.
***
Hello,
I'm poor in knoweledge of python, sorry. What's the fastest result between :
if item in alist:
do_something
or
if adictionay has_key(item):
do_something
Is there some trick t
***
Your mail has been scanned by InterScan MSS.
***
On Saturday 21 October 2006 03:01, Jonathan Smith wrote:
> my pygtk provides
> /usr/lib/python2.4/site-packages/gtk-2.0/gtk/__init__.py, which contains
> the gtk module
Great advice. I've tried >:
$ ls /
***
Your mail has been scanned by InterScan MSS.
***
On Saturday 21 October 2006 02:01, James Stroud wrote:
> I think the trick is to identify when a class would make more sense than
> a collection of subroutines
I do believe that's a bit of forecasting, i
***
Your mail has been scanned by InterScan MSS.
***
On Saturday 21 October 2006 19:09, Steven D'Aprano wrote:
> So for searches that succeed, dicts are much faster than lists.
Very precious advice. Thank you, indeed. The lesson was good :-)
I'd only lik
***
Your mail has been scanned by InterScan MSS.
***
On Saturday 21 October 2006 19:40, Gregor Horvath wrote:
> Small snippets of code are developed in the interpreter and when they
> are working assembled in the editor. If something goes wrong a print on
***
Your mail has been scanned by InterScan MSS.
***
Hello,
I'd like to ask some clue to move further on my project :-)
The purpose would be to gather all emails (local and remote ones) to do some
backup.
I've tried to get ideas by reading all about the m
***
Your mail has been scanned by InterScan MSS.
***
On Saturday 21 October 2006 23:43, R. Bernstein wrote:
> (I think all of this is the case also with pdb, but someone might
> check on this; it's possible breakpoints in pdb start from 0 instead
> of 1 as
***
Your mail has been scanned by InterScan MSS.
***
Hello,
I was thinking about use md5 check to se if a file had changes since last
check. Am I correct?
Is there any other light method?
F
--
http://mail.python.org/mailman/listinfo/python-list
***
Your mail has been scanned by InterScan MSS.
***
On Tuesday 24 October 2006 01:12, Dennis Lee Bieber wrote:
> Message-id:
> <[EMAIL PROTECTED]>
>
> as the ID is generally created when the message is submitted to the
> delivery system
Well, that's what
***
Your mail has been scanned by InterScan MSS.
***
On Tuesday 24 October 2006 03:07, Gerard Flanagan wrote:
> The 'PopClient' class here might help you:
Thank you, both for the replies.
Gerard,
Surely I'll peep on that code ;-) to gather a wider perspecti
***
Your mail has been scanned by InterScan MSS.
***
On Monday 23 October 2006 19:10, Bruno Desthuilliers wrote:
> ignore bpnumber [count]
Sorry, I ignored this command :-)
>
> > timed
>
> saw nothing about this one... but perhaps with
There's tbreak FYI,
***
Your mail has been scanned by InterScan MSS.
***
On Tuesday 24 October 2006 00:59, R. Bernstein wrote:
> analogous the command of the same name in gdb.
That's available as pdb in the same directory. I didn't try it yet.
About pydb, I may say that trigg
***
Your mail has been scanned by InterScan MSS.
***
On Tuesday 24 October 2006 20:22, Alan Franzoni wrote:
> it could put the system under severe workload.
Thank you for the enlightment :-)
In my case it's meant to check a couple of files, but no more tha
***
Your mail has been scanned by InterScan MSS.
***
On Tuesday 24 October 2006 03:07, Gerard Flanagan wrote:
> The 'PopClient' class here might help you:
I got a look rather later. Let me say that is impressively pythonic :-)
On the other hand I've to go
***
Your mail has been scanned by InterScan MSS.
***
On Wednesday 25 October 2006 06:13, Bruno Desthuilliers wrote:
> The bp #1 should only trigger if y >= 6
This give me the right point.
> > Supposing to have a function on program's variables the stateme
***
Your mail has been scanned by InterScan MSS.
***
On Wednesday 25 October 2006 13:06, Dennis Lee Bieber wrote:
> # based upon bits from the (Active)Python 2.4 help system and other
> code...
OK, good help, Thank you.
As I had confessed, that code was
***
Your mail has been scanned by InterScan MSS.
***
On Thursday 26 October 2006 02:56, John Salerno wrote:
> >>> s = 'hello'
> >>> s == True
> False
> >>> if s:
> print 'hi'
>
this isn't only a python behavior.
the "if" test is valid for all no
***
Your mail has been scanned by InterScan MSS.
***
On Thursday 26 October 2006 16:43, Wijaya Edward wrote:
> How can we print out the hidden character like
> "\n", "\r" etc in Python?
If it's meant to evidentiate then you should scan each byte an print i
***
Your mail has been scanned by InterScan MSS.
***
HI,
I've a small doubt regarding the way to save a configuration file on the file
manipulated by ConfigParser.
As far as I could understand this:
cp = ConfigParser.ConfigParser
cp.set(section,option)
***
Your mail has been scanned by InterScan MSS.
***
On Friday 27 October 2006 17:31, R. Bernstein wrote:
> pydb (http://bashdb.sf.net/pydb) has a both the ability to trace lines
I faced several time that pydb stuck without sign of errors. In the other han
***
Your mail has been scanned by InterScan MSS.
***
On Friday 27 October 2006 06:48, Ben Finney wrote:
> There is always the option to not send messages to this list using
> that mail server
Once again sorry for that. I'll take action to switch to another
Alle 21:36, lunedì 17 aprile 2006, Ravi Teja ha scritto:
> If you are looking for ways to access C++ code in Python, there are
> several (Boost, SIP, CXX, SWIG, Weave etc).
This way I knew about it.
> People usually convert higher level languages to lower level
> languages for performance
Alle 09:43, giovedì 20 aprile 2006, Neil Isaac ha scritto:
> At this point I'm thinking that I would like to start using a real IDE.
Idle, shipped with Python :-)
F
--
http://mail.python.org/mailman/listinfo/python-list
Hello List,
I'm very beginner on programming, I''m studing some fix on the Bluez's
bluepin, which is rather vague to control the given input.
Code /start:
=
def main(*args):
if len(sys.argv) < 2:
print "ERR"
sys.exit
Alle 22:58, venerdì 28 aprile 2006, Edward K. Ream ha scritto:
> Many new commands, including
Small question.
Has it way of using macro or programmable input?
I mean this because for linux there arent many text editors with macro
(recording/playing back) nor any with script commands.
Thank yo
Alle 19:15, sabato 29 aprile 2006, Fredrik Lundh ha scritto:
> emacs
I didn't like Emacs since the glory day of Amiga. Also vim look pretty rough
for my tastes.
I fill more confortable in Kate, but I don't deny any furter trial. May I'm
gonna reconsidering Emacs :)
F
--
http://mail.python.org/m
Alle 17:06, martedì 02 maggio 2006, seeker ha scritto:
> printLine = line.rstrip("\n")
I think that nobody considered if the text has (\r) or (\r\n) or (\n) at the
end of the line(s).
--
http://mail.python.org/mailman/listinfo/python-list
bit stuck on how to collect informations regarding disk names
(CDroms or USB HDs).
The matter is rather difficult if is suppose to make the programm running for
linux as much as it would do for MSW.
Suggestions are very welcome.
Fulvio
--
http://mail.python.org/mailman/listinfo/python-list
remember that there's for win and lin. Later
I'll go deeper for info according the MIME file type.
Fulvio
--
http://mail.python.org/mailman/listinfo/python-list
Alle 22:14, mercoledì 22 marzo 2006, Sybren Stuvel ha scritto:
> different partitions might have, though. Then again, it all depends on
> the filesystems in use.
Then I should make some extra programming to catch these info, according to
which OS will run it :-(
Regarding the names, CDROMs DVD ha
Alle 03:17, domenica 26 marzo 2006, BWill ha scritto:
> Hi, I'm writing a file browser, but I'm not sure how I could go about
> detecting the drives available
I was just asking a similar question some days back. I'm planning to try a file catalogger.
I just remember something about Win32API, but
Alle 11:23, giovedì 06 aprile 2006, Chris P ha scritto:
> when splitting based on a delimiter of "," the above string gets broken up
> in 5 "columns" instead of 4 due to the "," in the money amount.
There should be cvs package in the python directory. Why don't you try that
way?
Reading some help
Alle 08:51, giovedì 06 aprile 2006, [EMAIL PROTECTED] ha scritto:
> for x in range(10):
> sys.stdout.write(x)
> sys.stdout.write(" ")
BTW, how to write a number repeatly in the same line and position, without let
the printout to scroll down.
F
--
http://mail.python.org/mailman/l
Alle 18:21, giovedì 06 aprile 2006, Fredrik Lundh ha scritto:
> will work, as long as the message isn't too long
I was trying some
print"\b\b\b\b", i,
For a number of 4 digit, but I think I miscalculated some lenght variation.
The reason of this is because it won't leave previous printing.
Alle 18:18, giovedì 06 aprile 2006, [EMAIL PROTECTED] ha scritto:
> How can i deal with spaces in this case?
I don't have an idea with python, but if can help I may say that bash you
might use "\ " to escape a space or use a quoted full path.
The shell program "basename" is failing, anyhow with fi
Alle 00:20, sabato 08 aprile 2006, Bo Yang ha scritto:
> I want to develop an application to record some of the best words and
> ideas
On linux and KDE desktop is easy as a breathing, by Klipper applet:-)
And also no virus prone like windowz.
Pls no flame, just a consideration.
F
--
http://mail
Alle 10:46, domenica 09 aprile 2006, [EMAIL PROTECTED] ha scritto:
> Does anyone know of a solution to this
I still learning python, but probably some documentation is the basis of
learning, rather than ask at the list.
I suggest to see at http://docs.python.org/ for actual and growing python
f
Alle 10:17, mercoledì 12 aprile 2006, boyeestudio ha scritto:
> What is wrong with this problem
makes sense talking about the path on where cairo reside?
F
--
http://mail.python.org/mailman/listinfo/python-list
Alle 22:24, martedì 11 aprile 2006, boyeestudio ha scritto:
> I search the mysql directory but gain none of it!
In the version MySQL-python-1.2.0 there isn't such file.
Better you re-read README file inside the tarball or zip file.
F
--
http://mail.python.org/mailman/listinfo/python-list
Alle 00:05, giovedì 13 aprile 2006, Arne ha scritto:
> a=ftp.sendcmd('Dir')
> By trying to get the directory with 'dir'
Are you sure that the command 'dir" is understood via ftp?
IF I'm not wrong would be 'ls' o list. But since I don't have such psckage on
my system, it's recommended you read the
Alle 04:41, giovedì 13 aprile 2006, Fredrik Lundh ha scritto:
> but it also looks as if the meaning of the word "localized" isn't clear to
> you; if you changed the locale, those names will be translated
Mine behave strangely. Linux localized for Italian, but Python (or its
calander is in english
Alle 20:16, giovedì 13 aprile 2006, Fredrik Lundh ha scritto:
> >>> locale.setlocale(locale.LC_ALL, "it_IT")
>
> 'it_IT'
Thank you
Great & kind explanation
F
--
http://mail.python.org/mailman/listinfo/python-list
On Sunday 16 April 2006 13:37, Terry Reedy wrote:
>Do you really need the items sorted?
Do you really think he isn't a troll?
See the latest thread on lists end related PEP.
However there's always some good info on your reply (all of those had reply to
OP).
F
--
http://mail.python.org/mail
Hi there,
I'd like to ask if is there any tool that's able to parse C++ code and convert
it into Python script?
Probalby entirely would be difficult, but a good percentage I think it would
be possible and the remain asking to the user what to do.
F
--
http://mail.python.org/mailman/listinfo/py
Hi, I am a research intern at the University of Strathclyde who has been doing
a summer research internship. I hope that this is not an inappropriate place to
ask, but I am looking for participants willing to use and evaluate an
application that was written as part of this internship. If you cho
ad the original message, a fixed
version is at http://geeksoc.org/~fvalente/jimmy/request.txt (figured
it'd be rude to repost it directly in this message).
On 15/09/2011 20:14, Waldek M. wrote:
On Thu, 15 Sep 2011 16:55:13 +0100, Fulvio Valente wrote:
Hi, I am a research intern
: e.g. 10% instead of
100%, or to let the algorithm to be resumed only when the CPU usage changes.
I think these kind of things are called "resource management". So, are there
facilities for this in Python=
I'm running Python2.4 on Windows XP.
Thank you for your help.
69 matches
Mail list logo