[Tutor] Dictionary to variable copy

Timo timomlists at gmail.com
Thu Dec 8 11:14:46 CET 2011


Op 08-12-11 10:03, sunil tech schreef:
> /Can i copy the content if a dictionary in to another variable, with 
> out any link between the dictionary & the variable?
> /
Have a look at the copy module [1], or use the builtin dict.copy() method.

Cheers,
Timo

[1] http://docs.python.org/library/copy.html#module-copy

> /
> if so, please teach.
> /
>
>
> _______________________________________________
> Tutor maillist  -  Tutor at python.org
> To unsubscribe or change subscription options:
> http://mail.python.org/mailman/listinfo/tutor



More information about the Tutor mailing list