On Wednesday 22 March 2006 14:14, [EMAIL PROTECTED] 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

_______________________________________________
Tutor maillist  -  Tutor@python.org
http://mail.python.org/mailman/listinfo/tutor

Reply via email to