Re: Store multiple dictionaries in a file
- From: "Philipp H. Mohr" <phm4@xxxxxxxxxx>
- Date: Thu, 30 Jun 2005 15:26:58 +0100 (BST)
Hello,
this is the solution I went for, as I am indeed not concernt about
security and the implementation is straight forward.
Thank you,
Phil
> If you're not worried about security, you could write the repr() of each
> dict to the file and get the values back by using the eval() function.
> repr() writes onto one line.
>
> If you're storing types without repr() representations this will not work.
>
> Jeremy
.
- References:
- Store multiple dictionaries in a file
- From: Philipp H. Mohr
- Re: Store multiple dictionaries in a file
- From: Jeremy Sanders
- Store multiple dictionaries in a file
- Prev by Date: RE: Open the command line within a script
- Next by Date: Re: When someone from Britain speaks, Americans hear a "British accent"...
- Previous by thread: Re: Store multiple dictionaries in a file
- Next by thread: Re: Store multiple dictionaries in a file
- Index(es):
Relevant Pages
|