[17:07:23] Joes is now online
[17:07:23] zarg is now online
[17:07:23] огыешсук is now online
[17:07:23] serg.makar is now online
[17:07:23] ds.tihonov is now дома! :)
[17:07:23] _lorien is now I'm not here right now
[17:07:23] denger@footter.com is now xa
[17:07:23] cheshirecat is now online
[17:07:23] slav0nic is now online
[17:07:23] wiz is now online
[17:07:23] erraen is now online
[17:07:23] deepwalker is now online
[17:07:23] Typhon is now online
[17:07:23] gigimon is now online
[17:07:23] mishok13 is now away
[17:07:23] magic_pony is now online
[17:07:23] : piranha установил(а) тему: python.su | Сначала поищи ответ на docs.python.org | Теперь поищи в google.com | Код постить в dumpz.org | Хочешь задать вопрос - просто *задай* его! | Правила написания хорошего кода: http://➡.ws/pep8 | Логи: http://➡.ws/pu
[17:07:55] Tony is now online
[17:09:58] serg.makar is now online
[17:11:18] erraen is now online
[17:11:32] serg.makar is now away
[17:11:33] serg.makar is now away
[17:13:14] inpython is now online
[17:15:01] serg.makar is now away
[17:16:03] serg.makar is now online
[17:16:04] serg.makar is now online
[17:16:20] erraen is now online
[17:18:51] inpython is now offline
[17:20:01] serg.makar is now online
[17:20:37] gf is now online
[17:20:42] serg.makar is now offline
[17:21:21] erraen is now online
[17:23:40] serg.makar is now away
[17:23:40] serg.makar is now away
[17:26:22] erraen is now online
[17:26:32] serg.makar is now away
[17:27:15] serg.makar is now online
[17:27:15] serg.makar is now online
[17:27:25] gf is now offline
[17:28:58] gf is now online
[17:31:24] erraen is now online
[17:31:31] serg.makar is now online
[17:34:14] serg.makar is now away
[17:34:15] serg.makar is now away
[17:36:24] erraen is now online
[17:36:32] serg.makar is now away
[17:36:34] serg.makar is now online
[17:36:34] serg.makar is now online
[17:41:26] erraen is now online
[17:41:34] serg.makar is now online
[17:46:27] erraen is now online
[17:46:35] serg.makar is now online
[17:51:27] erraen is now online
[17:51:35] zarg is now away
[17:51:36] serg.makar is now online
[17:51:41] zarg is now online
[17:56:29] erraen is now online
[17:56:35] serg.makar is now online
[17:59:21] zarg is now away
[18:01:29] erraen is now online
[18:01:36] serg.makar is now online
[18:06:31] erraen is now online
[18:06:37] serg.makar is now online
[18:09:21] zarg is now xa
[18:11:32] erraen is now online
[18:11:39] serg.makar is now online
[18:14:37] zarg is now online
[18:16:34] erraen is now online
[18:16:40] serg.makar is now online
[18:21:35] erraen is now online
[18:21:41] serg.makar is now online
[18:24:07] serg.makar is now offline
[18:26:37] erraen is now online
[18:27:58] serg.makar is now online
[18:27:58] serg.makar is now online
[18:28:11] serg.makar is now offline
[18:28:33] serg.makar is now online
[18:28:33] serg.makar is now online
[18:29:38] slav0nic is now away
[18:29:45] serg.makar is now online
[18:31:01] slav0nic is now online
[18:31:38] erraen is now online
[18:32:02] zarg is now away
[18:34:45] serg.makar is now online
[18:35:22] zarg is now online
[18:36:40] erraen is now online
[18:39:45] serg.makar is now online
[18:41:40] erraen is now online
[18:44:48] serg.makar is now online
[18:46:40] erraen is now online
[18:49:49] serg.makar is now online
[18:51:41] erraen is now online
[18:54:50] serg.makar is now online
[18:56:42] erraen is now online
[18:57:07] slav0nic is now away
[18:59:18] zarg is now away
[18:59:51] serg.makar is now online
[19:01:43] erraen is now online
[19:04:10] zarg is now online
[19:04:53] serg.makar is now online
[19:06:46] erraen is now online
[19:06:55] serg.makar is now away
[19:06:55] serg.makar is now away
[19:07:01] serg.makar is now online
[19:07:01] serg.makar is now online
[19:07:07] slav0nic is now xa
[19:07:43] mishok13 is now offline
[19:07:46] mishok13 is now away
[19:09:54] serg.makar is now online
[19:11:47] erraen is now online
[19:12:41] gf is now offline
[19:14:16] zarg is now away
[19:14:55] serg.makar is now online
[19:16:49] erraen is now online
[19:19:56] serg.makar is now online
[19:21:50] erraen is now online
[19:24:16] zarg is now xa
[19:24:57] serg.makar is now online
[19:26:01] Deion is now online
[19:26:51] erraen is now online
[19:26:54] Deion: В Glade редакторе есть аналог ActionList
[19:27:09] Deion: кто вкурсе?
[19:29:06] zarg is now online
[19:29:56] serg.makar is now online
[19:31:46] serg.makar is now away
[19:31:46] serg.makar is now away
[19:31:52] erraen is now online
[19:34:06] zarg is now away
[19:34:57] serg.makar is now away
[19:35:36] zarg is now online
[19:36:54] erraen is now online
[19:39:57] serg.makar is now away
[19:41:19] serg.makar is now online
[19:41:19] serg.makar is now online
[19:41:54] erraen is now online
[19:44:57] serg.makar is now online
[19:46:57] erraen is now online
[19:49:00] Deion is now offline
[19:49:59] serg.makar is now online
[19:51:59] erraen is now online
[19:55:00] serg.makar is now online
[19:57:02] erraen is now online
[19:59:59] serg.makar is now online
[20:02:02] erraen is now online
[20:05:00] serg.makar is now online
[20:05:46] serg.makar is now away
[20:05:47] serg.makar is now away
[20:07:03] erraen is now online
[20:07:10] serg.makar is now online
[20:07:10] serg.makar is now online
[20:10:00] serg.makar is now online
[20:10:31] Typhon is now xa
[20:12:04] erraen is now online
[20:12:17] serg.makar is now away
[20:15:01] serg.makar is now away
[20:15:46] gigimon is now offline
[20:17:05] erraen is now online
[20:20:02] serg.makar is now away
[20:22:07] erraen is now online
[20:25:05] serg.makar is now away
[20:27:09] erraen is now online
[20:30:07] serg.makar is now away
[20:32:11] erraen is now online
[20:32:34] slav0nic is now offline
[20:35:08] serg.makar is now away
[20:37:11] erraen is now online
[20:38:25] serg.makar is now online
[20:38:25] serg.makar is now online
[20:40:09] serg.makar is now online
[20:41:31] maxim.zemlyakov is now online
[20:41:31] maxim.zemlyakov is now online
[20:41:41] maxim.zemlyakov is now online
[20:41:41] maxim.zemlyakov is now online
[20:42:12] erraen is now online
[20:42:13] maxim.zemlyakov is now online
[20:45:10] serg.makar is now online
[20:46:15] maxim.zemlyakov is now online
[20:47:15] erraen is now online
[20:47:16] serg.makar is now away
[20:47:16] serg.makar is now away
[20:50:09] serg.makar is now away
[20:51:19] maxim.zemlyakov is now online
[20:52:15] erraen is now online
[20:55:10] serg.makar is now away
[20:56:18] maxim.zemlyakov is now online
[20:57:17] erraen is now online
[20:58:15] serg.makar is now online
[20:58:15] serg.makar is now online
[21:00:11] serg.makar is now online
[21:01:21] maxim.zemlyakov is now online
[21:02:19] erraen is now online
[21:03:27] serg.makar is now away
[21:03:28] serg.makar is now away
[21:05:14] serg.makar is now away
[21:06:01] serg.makar is now online
[21:06:01] serg.makar is now online
[21:06:21] maxim.zemlyakov is now online
[21:07:19] erraen is now online
[21:08:12] zarg is now away
[21:09:38] zarg is now online
[21:10:15] serg.makar is now online
[21:11:12] serg.makar is now away
[21:11:12] serg.makar is now away
[21:11:23] maxim.zemlyakov is now online
[21:12:16] serg.makar is now online
[21:12:16] serg.makar is now online
[21:12:19] erraen is now online
[21:15:16] serg.makar is now online
[21:16:23] maxim.zemlyakov is now online
[21:17:19] erraen is now online
[21:17:23] serg.makar is now away
[21:17:24] serg.makar is now away
[21:20:17] serg.makar is now away
[21:21:25] maxim.zemlyakov is now online
[21:22:21] erraen is now online
[21:23:13] serg.makar is now online
[21:23:13] serg.makar is now online
[21:24:09] mishok13 is now offline
[21:25:18] serg.makar is now online
[21:26:25] maxim.zemlyakov is now online
[21:27:22] erraen is now online
[21:28:04] zarg is now away
[21:28:32] zarg is now online
[21:30:19] serg.makar is now online
[21:31:28] maxim.zemlyakov is now online
[21:32:25] erraen is now online
[21:33:08] gf is now online
[21:35:19] serg.makar is now online
[21:36:30] maxim.zemlyakov is now online
[21:37:26] erraen is now online
[21:40:20] serg.makar is now online
[21:41:33] maxim.zemlyakov is now online
[21:41:52] zarg is now away
[21:42:27] erraen is now online
[21:43:20] serg.makar is now away
[21:43:21] serg.makar is now away
[21:44:28] zarg is now online
[21:45:21] serg.makar is now away
[21:46:35] maxim.zemlyakov is now online
[21:47:27] erraen is now online
[21:49:30] zarg is now away
[21:50:22] serg.makar is now away
[21:51:36] maxim.zemlyakov is now online
[21:52:30] erraen is now online
[21:53:08] zarg is now online
[21:55:23] serg.makar is now away
[21:56:38] maxim.zemlyakov is now online
[21:56:39] serg.makar is now online
[21:56:40] serg.makar is now online
[21:57:30] erraen is now online
[22:00:26] serg.makar is now online
[22:01:38] maxim.zemlyakov is now online
[22:02:33] erraen is now online
[22:05:26] serg.makar is now online
[22:06:40] maxim.zemlyakov is now online
[22:06:46] Typhon is now online
[22:07:35] erraen is now online
[22:08:16] serg.makar is now away
[22:08:17] serg.makar is now away
[22:10:27] serg.makar is now away
[22:11:40] maxim.zemlyakov is now online
[22:12:37] erraen is now online
[22:15:28] serg.makar is now away
[22:16:41] maxim.zemlyakov is now online
[22:17:38] erraen is now online
[22:19:49] gf is now offline
[22:20:29] serg.makar is now away
[22:21:43] maxim.zemlyakov is now online
[22:22:38] erraen is now online
[22:24:18] mishok13 is now online
[22:25:30] serg.makar is now away
[22:26:43] maxim.zemlyakov is now online
[22:27:11] огыешсук is now offline
[22:27:39] erraen is now online
[22:30:31] serg.makar is now away
[22:31:43] maxim.zemlyakov is now online
[22:32:40] serg.makar is now online
[22:32:41] serg.makar is now online
[22:32:43] erraen is now online
[22:35:31] serg.makar is now online
[22:36:46] maxim.zemlyakov is now online
[22:37:43] erraen is now online
[22:40:33] serg.makar is now online
[22:41:48] maxim.zemlyakov is now online
[22:42:34] zarg is now away
[22:42:39] mishok13 is now away
[22:42:44] erraen is now online
[22:42:45] ds.tihonov is now offline
[22:44:17] mishok13 is now online
[22:45:36] serg.makar is now online
[22:46:48] maxim.zemlyakov is now online
[22:47:44] erraen is now online
[22:49:19] mishok13 is now away
[22:50:36] serg.makar is now online
[22:51:05] serg.makar is now away
[22:51:05] serg.makar is now away
[22:51:06] zarg is now online
[22:51:48] maxim.zemlyakov is now online
[22:52:46] erraen is now online
[22:52:56] serg.makar is now online
[22:52:57] serg.makar is now online
[22:55:39] serg.makar is now online
[22:56:47] maxim.zemlyakov is now online
[22:57:48] erraen is now online
[22:58:08] serg.makar is now away
[22:58:09] serg.makar is now away
[22:59:19] mishok13 is now xa
[23:00:40] serg.makar is now away
[23:01:47] maxim.zemlyakov is now online
[23:02:48] erraen is now online
[23:04:51] serg.makar is now online
[23:04:52] serg.makar is now online
[23:05:39] serg.makar is now online
[23:06:48] maxim.zemlyakov is now online
[23:07:49] erraen is now online
[23:10:40] serg.makar is now online
[23:11:51] maxim.zemlyakov is now online
[23:11:56] nott is now online
[23:12:50] erraen is now online
[23:15:40] serg.makar is now online
[23:16:13] serg.makar is now away
[23:16:14] serg.makar is now away
[23:16:53] maxim.zemlyakov is now online
[23:17:51] erraen is now online
[23:17:54] Tony is now away
[23:20:41] serg.makar is now away
[23:21:55] maxim.zemlyakov is now online
[23:22:53] erraen is now online
[23:22:56] zarg is now away
[23:25:43] serg.makar is now away
[23:26:55] webninja is now online
[23:26:56] maxim.zemlyakov is now online
[23:27:07] serg.makar is now online
[23:27:08] serg.makar is now online
[23:27:56] erraen is now online
[23:30:42] serg.makar is now online
[23:31:58] maxim.zemlyakov is now online
[23:32:46] serg.makar is now away
[23:32:47] serg.makar is now away
[23:32:56] zarg is now xa
[23:32:57] erraen is now online
[23:35:43] serg.makar is now away
[23:36:57] maxim.zemlyakov is now online
[23:37:33] quasiyoke is now online
[23:38:00] erraen is now online
[23:40:17] serg.makar is now online
[23:40:18] serg.makar is now online
[23:40:39] quasiyoke: А есть ли у нас 'continue LABEL' как в java?
[23:40:42] quasiyoke: Это нужно для вложенных циклов, дабы было понятно какой из циклов мы хотим continue
[23:40:44] serg.makar is now online
[23:41:16] quasiyoke: ...в какой из них хотим передать управление
[23:41:55] wiz: а зачем тебе?
[23:42:00] maxim.zemlyakov is now online
[23:42:39] quasiyoke is now offline
[23:42:40] quasiyoke is now online
[23:42:54] Tony is now xa
[23:43:00] erraen is now online
[23:43:08] quasiyoke: Как зачем? Чтобы из внутреннего цикла перейти во внешний
[23:43:41] quasiyoke: Дополнительная переменная решит всё, ох.
[23:43:55] Typhon: тупой язык питон, ага!
[23:43:59] Typhon: не позволяет таких простых вещей %)
[23:44:03] Typhon: btw, кидай ексепшны
[23:44:17] Typhon: goto нет, но есть продвинутые goto ^_^
[23:44:42] wiz: quasiyoke, а зачем тебе вложеные циклы да так, что из одного надо другой прерывать?
[23:45:14] wiz: /me за много-много лет встретил один чтоль юз кейс и то...
[23:45:44] serg.makar is now online
[23:46:03] Typhon: вообще, теоретически, на стэклес питоне можно реализовать континуации, а спомощью них -- делимцц
[23:46:14] Typhon: а с помощью делимцц -- любые операторы можно делать, как говорят
[23:46:17] quasiyoke: Ну нет, continue LABEL -- не goto.
[23:46:31] Typhon: осталось закинуться фенотропилом и читать олега ^_^
[23:46:33] quasiyoke: Да и goto, как вы знаете, не самая плохая вещь.
[23:46:45] wiz: quasiyoke, толсто
[23:46:45] Typhon: ну да, из циклов можно прыгать
[23:46:52] Typhon: я и говорю, питон -- говняный язык
[23:46:55] Typhon: то ли дело пхп
[23:47:01] maxim.zemlyakov is now online
[23:48:01] erraen is now online
[23:48:16] quasiyoke: Ок. Вот давайте напишем на пайтоне красиво алгоритмик.
[23:49:15] quasiyoke: чёрт. много писать буде
[23:49:24] quasiyoke: секунду
[23:50:44] serg.makar is now online
[23:50:51] webninja: эээ можно break прервать итерацию
[23:51:20] webninja: можно while использовать
[23:52:03] maxim.zemlyakov is now online
[23:52:16] serg.makar is now away
[23:52:17] serg.makar is now away
[23:53:02] erraen is now online
[23:53:25] quasiyoke: семь строк кода можно сюда?
[23:53:48] quasiyoke: можно.
[23:53:53] quasiyoke: def foo():
for i in xrange(N):
for j in xrange(M):
if not is_ok(j): # is_ok пытается что-то сделать. Что-то, что может получаться лишь время от времени для разных значений
# передать управление во внешний цикл
pass
else:
return True
else:
return False
[23:55:31] wiz: break
[23:55:32] Typhon: и зачем здесь вложенные циклы? :-)
[23:55:46] serg.makar is now away
[23:55:51] wiz: завершит текущий цикл и передаст управление во внешний
[23:55:58] quasiyoke: Да, фиговый пример.
[23:56:53] quasiyoke: Ну если брейкнуть выополнится некоторый код после вложенного цикла, так что дополнительная переменная?
[23:57:05] maxim.zemlyakov is now online
[23:57:37] quasiyoke: Вообще я видел доказательство теоремы о том, что не нужны ни доп. перем., ни готу
[23:57:53] nott is now offline
[23:58:03] erraen is now online
[23:58:27] mishok13 is now online
[23:58:29] mishok13 is now away
[23:58:49] quasiyoke: Чёрт, просто ты, Typhon, какой-то задира сегодня. Я ещё вопрос особый, конечно, задал...
[23:59:02] Sevenov is now online
[23:59:14] Typhon: да какой задира, видишь, там эмотиконы везде %)
[23:59:17] quasiyoke: ...уже давно всё сделал бы /как-то/
[23:59:45] serg.makar is now online
[23:59:46] serg.makar is now online
[23:59:47] Typhon: по-моему, если тебе такая операции нужна, то ты делаешь что-то не так
[23:59:53] wiz: +1