you can use yield structure in python for multiple return. ex:
def func(a):
yield a*2
print a*2
yield a*3
print a*3
...
data = func(5) -- data = (10,15,... )
On Wed, Jun 3, 2015 at 1:57 AM, fl rxjw...@gmail.com wrote:
Hi,
I just see the tutorial says Python can return
that i complete explain for u.
or send pm on hangouts,
Best,
Amir Arsalan
On Sat, Jun 6, 2015 at 10:27 PM, fl rxjw...@gmail.com wrote:
On Saturday, June 6, 2015 at 9:39:19 AM UTC-7, Amir Arsalan wrote:
you can use yield structure in python for multiple return. ex:
def func(a):
yield
Tnx Steven,
You are right completly.I try more subtilize
thanks for your hint.
On Sun, Jun 7, 2015 at 10:03 AM, Steven D'Aprano st...@pearwood.info
wrote:
Hi Amir, and welcome!
On Sun, 7 Jun 2015 02:38 am, Amir Arsalan wrote:
you can use yield structure in python for multiple return. ex
and u have another below choice
http://docs.python.org/howto/curses.html
http://urwid.org/
On Thu, Jan 8, 2015 at 12:54 AM, Amir Arsalan am1r.ar3a...@gmail.com
wrote:
Hi adam,
U can use from npyscreen.
Npyscreen.readthedocs.org
On Jan 8, 2015 12:50 AM, adam a...@poczta.emiter-uslugi.pl
Hi adam,
U can use from npyscreen.
Npyscreen.readthedocs.org
On Jan 8, 2015 12:50 AM, adam a...@poczta.emiter-uslugi.pl wrote:
Is in here maybe someone who speak Polish?
I would like to write application witch looks like this
http://linuxiarze.pl/obrazy/internet1/ceni1.png
I'm looking for
Hi my friends.
On last result you have a , b , c binary.
set('abc')
{'a','b','c')
set(b'abc')
{97,98,99}
On Jan 3, 2015 10:25 PM, patrick vrijlandt pvrijla...@gmail.com wrote:
Hello list,
Let me first wish you all the best in 2015!
Today I was trying to test for occurrence of a byte in