[Tutor] Tutor Digest, Vol 25, Issue 54

Keo Sophon keosophon at khmeros.info
Wed Mar 22 09:16:21 CET 2006


On Wednesday 22 March 2006 14:14, tutor-request at python.org wrote:

> Hi Sophon,
>
> Secondary question: why are you trying to do this?  Are you trying to
> represent a collection or "array" of things?

i am trying to port a program written in C to python language. The program is 
reading a plain text file that uses legacy font then converting it to a 
unicode font file. I don't have any experience with programming besides just 
knowing C a little bit and just learning python in 3 days ago.

Anyway, how can i declare a global variable and assign a value to it in a 
function?

Thanks
Sophon



More information about the Tutor mailing list