On 03/17/2015 06:30 PM, Doug Basberg wrote:
I appreciate the advise to use json to pass a dict thru a file. Below is
the code
To 'dump' the dict to a file and the code to 'load' the dict and the error
message
I get testing this.
What am I doing wrong? Thanks.
First two things I see are that
I appreciate the advise to use json to pass a dict thru a file. Below is
the code
To 'dump' the dict to a file and the code to 'load' the dict and the error
message
I get testing this.
What am I doing wrong? Thanks.
/
On 3/16/2015 5:04 PM, Alan Gauld wrote:
On 16/03/15 20:39, Doug Basberg wrote:
I would like to pass the contents of a dictionary from one program to
another through a file. So, what is the elegant way to pass a
dictionary by
file?
The elegant way may be not to use a file.
A Python diction
On Mon, Mar 16, 2015 at 11:13 PM, Nick Nguyen
wrote:
>
> Hi,
> I use python 3.4.3.
> I'm using print function with triple quote, as I understand all the character
> will be printed as exactly within the triple quote, even with the backslash
> character. However as you see in the RESULT printout,
On 03/17/2015 05:54 AM, Alan Gauld wrote:
On 17/03/15 04:13, Nick Nguyen wrote:
Hi,
I use python 3.4.3.
I'm using print function with triple quote,
> as I understand all the character will be printed
as exactly within the triple quote, even with
> the backslash character.
You understand
On 03/16/2015 02:29 PM, Rajbir Singh wrote:
i need to know how i can set current working dir in an executing phython
using os module
os.chdir() will change the current directory, but it changes it for the
whole program (all threads), and the change lasts till the program
terminates.
Very of
On 17/03/15 04:13, Nick Nguyen wrote:
Hi,
I use python 3.4.3.
I'm using print function with triple quote,
> as I understand all the character will be printed
as exactly within the triple quote, even with
> the backslash character.
You understand wrongly.
Triple quotes are no different to an
Hi,
I use python 3.4.3.
I'm using print function with triple quote, as I understand all the character
will be printed as exactly within the triple quote, even with the backslash
character. However as you see in the RESULT printout, the first backslash come
out OK, but it misses the last backsla