Op woensdag 12 februari 2014 17:10:36 UTC+1 schreef Alain Ketterlin: > luke.gee...@gmail.com writes: > > > > > Can I make it that if > > > C = int(sys.argv[3]) > > > But when I only enter 2 argumentvariable it sets c automaticly to 0 or 1 > > > > C = int(sys.argv[3]) if len(sys.argv) > 3 else 0 > > > > is one possibility. > > > > -- Alain.
thanks a lot -- https://mail.python.org/mailman/listinfo/python-list