[TehPUG] how to ....?

Abbas Aghasy hlmaz8080 at gmail.com
Tue Jul 21 13:56:17 CEST 2015


میشه یکم بیشتر توضیح بدین !

2015-07-21 4:41 GMT-07:00 Ramin Najjarbashi <ramin.najarbashi at gmail.com>:

> global_var = 0
> def func():
>    global global_var
>    global_var = 1
>
> 2015-07-21 15:46 GMT+04:30 Abbas Aghasy <hlmaz8080 at gmail.com>:
>
>> سلام و خسته نباشید !
>> چگونه یک متغیر local مثلا داخل پروسه ی تعریف تابع رو به یک متغیر global
>> تبدیل کنیم ؟!
>> اگر خوب توضیح ندادم لطفا بگید که بیشتر توضیح بدم !
>>
>> _______________________________________________
>> TehPUG mailing list
>> Website: http://tehpug.ir
>> List Address" TehPUG at python.org
>> List Options: https://mail.python.org/mailman/listinfo/tehpug
>>
>
>
> _______________________________________________
> TehPUG mailing list
> Website: http://tehpug.ir
> List Address" TehPUG at python.org
> List Options: https://mail.python.org/mailman/listinfo/tehpug
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/tehpug/attachments/20150721/b1228389/attachment.html>


More information about the TehPUG mailing list