1

Topic: Python Objasnite about a cycle for

In source codes found out  a method:

def main (LIST_APIS):
LIST_APIS = add_to_list_api (dbObj, LIST_APIS)
try:
for line in LIST_APIS:
adnet_num, adnet_class, adnet_params = line
try:
load_and_run_network (adnet_num, adnet_class, adnet_params)
except SystemExit:
sys.exit ()
except Exception as e:
log.print_exction (sys.exc_info ())
finally:
dbObj.update ("UPDATE campaigns SET just_auto_added ='F ' WHERE appnet = % d" % adnet_num)
finally:
log.debug ("Process Ended")
log.close ()

This place interests here

for line in LIST_APIS:
adnet_num, adnet_class, adnet_params = line

Cycle on array LIST_APIS it is clear. And here  a line, the announcement of variables or still that is simple?

2

Re: Python Objasnite about a cycle for

http://anothercomputingblog.blogspot.co … style.html

3

Re: Python Objasnite about a cycle for

That that I do not see there about a cycle for ((

4

Re: Python Objasnite about a cycle for

Areostar;
Cycle there generally and.

5

Re: Python Objasnite about a cycle for

NekZ;
Understood already))