On 06Mar2019 23:41, Alan Gauld wrote:
On 06/03/2019 22:38, Mats Wichmann wrote:
"It depends".
...
How's that for a definitive answer? :)
Pretty good! and I agree with all of it :-)
Although personally I always use a test subdirectory
and then, for building a distributable, use a file
fil
On 06/03/2019 22:38, Mats Wichmann wrote:
> "It depends".
...
> How's that for a definitive answer? :)
Pretty good! and I agree with all of it :-)
Although personally I always use a test subdirectory
and then, for building a distributable, use a file
filter (eg find in *nix) to prune those out
On 3/6/19 3:17 PM, James Hartley wrote:
> It is preferable to sprinkle tests files throughout the directories of a
> project, or coalesce all tests in a test directory?
"It depends".
There are people who have strong opinions.
If you're going to use conventions like naming the test for the
functi
On 30Sep2017 07:35, Chris wrote:
On Sat, 30 Sep 2017 00:23:45 +0100
Alan Gauld via Tutor wrote:
If you really need it in memory there are some generic modules
for building tree structures in memory - you will need to
define the mail objects of course the modules are data neutral,
they just all
Thank you for your detailed reply! I've tried to explain in my mails to
Alan and Mats what I'm trying to achieve.
On Sat, 30 Sep 2017 11:32:57 +1000
Steven D'Aprano wrote:
> On Fri, Sep 29, 2017 at 07:02:07PM +0200, Chris wrote:
>
> > Background: Maildirs with mails older than five years should
On Fri, Sep 29, 2017 at 07:02:07PM +0200, Chris wrote:
> Background: Maildirs with mails older than five years should be
> archived. The folder structure should be kept in the target.
Archived to what?
> I was very surprised, that there seems no readily usable module
> available. (In Perl neith
On 29/09/17 20:34, Chris wrote:
> I want to store some kind of representation of the tree in memory when
> the code runs. Then I could not only move the mails but also create
> lists, e.g. a table with mail headers.
Thanks for the extra detail but...
Probably the reason you can't find any module
On Fri, 29 Sep 2017 12:16:11 -0600
Mats Wichmann wrote:
> It's not clear what you're really looking for...
Sorry. Tried to ask more precisely in my reply to Alan.
> File/directory usage is really an OS-specific thing, and most of the
> functionality you want seems like it would be in the os mod
On 29/09/17 18:02, Chris wrote:
> I'd like to store a directory tree in a python script.
That doesn't make much sense.
A directory tree is stored on the hard disk.
A python script is the source code to a program you execute
What do you mean by "store the directory tree in the script"?
Do you mea
On 09/29/2017 11:02 AM, Chris wrote:
> Hello,
>
> I'd like to store a directory tree in a python script.
>
> Background: Maildirs with mails older than five years should be
> archived. The folder structure should be kept in the target.
>
> I was very surprised, that there seems no readily usable
10 matches
Mail list logo