Dear Mats, Peter and Eryk,
THANK YOU for your replies. What a wealth of information!
Have a great weekend!
Albert-Jan
___
Tutor maillist - Tutor@python.org
To unsubscribe or change subscription options:
https://mail.python.org/mailman/listinfo/tutor
I have borrowed the above book from my local library but I believe it was
written in 2010 and as a result I am having difficulty in deciding which
version of Python to download.
Can anyone help?
Thanks
Peter Collidge
___
Tutor maillist - Tutor@python.or
I am on chapter 10 of headfirst python second edition. got most of the
prior codes to work but am stuck on this one. I will add the
simple_webapp.py which is a decorator enabledĀ and checker.py which is
the decorator. when I go into 127.0.0.1:5000 and enter I get the correct
response. 127.0.0.1
peter wrote:
> I am on chapter 10 of headfirst python second edition. got most of the
> prior codes to work but am stuck on this one. I will add the
> simple_webapp.py which is a decorator enabled and checker.py which is
> the decorator. when I go into 127.0.0.1:5000 and enter I get the correct
>
On 29/09/17 08:51, Peter Collidge wrote:
> I have borrowed the above book from my local library but I believe it was
> written in 2010 and as a result I am having difficulty in deciding which
> version of Python to download.
> Can anyone help?
If you want to follow the book use the version the boo
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
Hi Peter
My company primarily uses 2.7, but as I understand it 2.x flavors are
compatible with each other.
2.x scripts are generally not compatible with 3.x versions and vice versa
So, keep that in mind.
Regards,
-John
-Original Message-
From: Tutor [mailto:tutor-bounces+john.b.laro
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 28/09/17 23:35, peter wrote:
> I am on chapter 10 of headfirst python second edition. got most of the
> prior codes to work but am stuck on this one.
I don;t know the book and only vaguely know Flask, but I'd start by
adding some debug print statements to the functions.
Something like
def ..
On Fri, Sep 29, 2017 at 7:20 PM, Alan Gauld via Tutor wrote:
> If you want to follow the book use the version the book
> uses - probably 2.6 or something close?
>
I think the book uses either Python 3.0 or 3.1. It's been a while
since I read it but it doesn't use Python 2. The 2nd edition written
Hi all, after 1 week of on and off hacking, I realized I simply don't know
enough about how memory works fundamentally!
Could you point me to a source of information about all the things someone
should know before he starts writing a memory scanner? Attached is my
current code, which doesn't work
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
Hi
I don't see any session initializer , please try with that
session = web.session.Session(app,store,initializer={'login':
0,'privilege': 0,'username':'Guest','logged_in':False})
Regards
Rajesh
On Thu, Sep 28, 2017 at 3:35 PM, peter wrote:
> I am on chapter 10 of headfirst python second editi
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
Hi,
I often read messages to this list from my Android from the mobile Hotmail
page. On other occasions I would read from my browser, fromĀ a Windows or a
Linux desktop. Howver, Hotmail pretty much sucks when it comes to obeying the
posting style [1]. It's even worse than Yahoo mail, which I've
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
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 29/09/17 19:47, Michael C wrote:
> Could you point me to a source of information about all the things someone
> should know before he starts writing a memory scanner?
Not a single source but wikipedia is a good start for anything technical.
In particular you need to understand the difference
18 matches
Mail list logo