[00:01:23] ambush is now away
[00:01:56] ambush is now online
[00:10:05] madmercen is now online
[00:10:43] ambush is now away
[00:10:50] fuzzy is now online
[00:11:20] λ is now offline
[00:11:37] λ is now online
[00:13:04] ambush is now online
[00:16:05] obivan is now away
[00:18:21] obivan is now online
[00:19:55] madmercen is now away
[00:20:47] madmercen is now online
[00:23:48] mishok13 is now online
[00:24:51] ambush is now away
[00:26:24] λ is now offline
[00:26:53] λ is now online
[00:27:36] ambush is now online
[00:29:25] obivan is now offline
[00:34:51] mishok13 is now online
[00:35:19] fuzzy is now online
[00:36:10] Сволота is now away
[00:40:21] mishok13 is now away
[00:41:10] Сволота is now online
[00:43:23] λ is now online
[00:44:43] madmercen is now away
[00:46:38] Сволота is now away
[00:46:46] Сволота is now online
[00:48:05] fuzzy is now away
[00:48:06] fuzzy is now away
[00:48:51] madmercen is now online
[00:50:20] fuzzy is now away
[00:50:21] mishok13 is now xa
[00:50:22] fuzzy is now online
[00:55:26] fuzzy is now away
[01:00:27] fuzzy is now away
[01:02:21] ambush is now away
[01:05:40] огыешсук is now online
[01:12:21] ambush is now xa
[01:17:44] ambush is now online
[01:18:50] Сволота is now away
[01:19:36] alexg is now Yep, I'm here.
[01:20:47] madmercen is now away
[01:22:20] Сволота is now online
[01:22:53] madmercen is now online
[01:26:07] ambush is now away
[01:30:02] Сволота is now away
[01:30:10] ambush is now online
[01:33:11] AlexZenon is now xa
[01:35:02] Сволота is now online
[01:40:04] Сволота is now away
[01:42:56] ambush is now offline
[01:43:38] ambush is now online
[01:46:05] pythonua@conference.jabber.ru is now Available
[01:46:05] ambush is now offline
[01:46:24] pythonua@conference.jabber.ru is now offline
[01:46:26] ambush is now online
[01:47:09] ambush is now offline
[01:47:40] ambush is now online
[01:48:06] ambush is now offline
[01:48:50] огыешсук is now away
[01:49:14] ambush is now online
[01:50:04] Сволота is now xa
[01:51:01] огыешсук is now online
[01:53:09] ambush is now offline
[01:54:17] ambush is now online
[01:56:14] ambush is now offline
[01:57:20] ambush is now online
[01:57:38] ambush is now offline
[01:57:53] λ is now online
[01:57:53] λ is now offline
[01:58:30] ambush is now online
[01:59:09] ambush is now offline
[01:59:40] ambush is now online
[02:03:31] ambush is now away
[02:04:50] ambush is now online
[02:08:25] madmercen is now away
[02:10:08] Сволота is now online
[02:13:27] fuzzy is now away
[02:13:28] fuzzy is now online
[02:14:33] madmercen is now online
[02:15:36] Tony is now away
[02:15:46] alexg is now offline
[02:21:09] fuzzy is now away
[02:21:18] fuzzy is now online
[02:21:20] Tony is now online
[02:22:22] Сволота is now away
[02:26:20] fuzzy is now away
[02:28:11] Сволота is now online
[02:33:11] Сволота is now away
[02:34:43] Сволота is now online
[02:36:22] fuzzy is now away
[02:39:45] Сволота is now away
[02:41:38] fuzzy is now away
[02:41:46] fuzzy is now online
[02:42:53] Сволота is now online
[02:46:05] ambush is now offline
[02:46:15] dicos is now online
[02:51:37] Сволота is now away
[02:56:39] огыешсук is now offline
[03:01:37] Сволота is now xa
[03:02:49] fuzzy is now away
[03:02:50] fuzzy is now away
[03:03:59] Сволота is now online
[03:05:39] madmercen is now away
[03:06:11] madmercen is now online
[03:10:29] fuzzy is now away
[03:10:32] fuzzy is now online
[03:14:21] Сволота is now away
[03:24:21] Сволота is now xa
[03:25:20] MAVr is now — Уважаемые пассажиры! Убедительно просим вас не аплодировать экипажу до полной остановки самолета. Спасибо!
[03:25:39] MAVr is now offline
[03:25:42] remo is now offline
[03:34:55] fuzzy is now away
[03:38:43] madmercen is now away
[03:39:55] fuzzy is now away
[03:44:28] Tony is now away
[03:48:43] madmercen is now xa
[03:49:14] dicos is now offline
[04:05:39] fuzzy is now away
[04:05:42] fuzzy is now online
[04:09:28] Tony is now xa
[04:15:01] Сволота is now online
[04:19:27] fuzzy is now away
[04:21:56] fuzzy is now online
[04:24:13] Сволота is now away
[04:28:01] Сволота is now online
[04:28:21] madmercen is now online
[04:30:13] fuzzy is now away
[04:30:39] fuzzy is now online
[04:40:18] fuzzy is now away
[04:44:13] madmercen is now away
[04:45:18] fuzzy is now away
[04:45:21] remo is now away
[04:49:11] remo is now offline
[04:51:12] remo is now away
[04:52:11] remo is now offline
[04:54:13] madmercen is now xa
[04:57:21] fuzzy is now away
[04:57:24] fuzzy is now online
[05:25:17] Сволота is now away
[05:35:17] Сволота is now xa
[05:40:01] Сволота is now online
[05:45:03] Сволота is now away
[05:55:03] Сволота is now xa
[06:05:43] madmercen is now online
[06:06:25] blw0rm is now offline
[06:06:27] blw0rm is now dnd
[06:06:28] blw0rm is now dnd
[06:10:45] madmercen is now away
[06:12:01] madmercen is now online
[06:17:54] fuzzy is now away
[06:22:56] fuzzy is now online
[06:25:39] emese is now online
[06:55:55] Сволота is now xa
[06:55:55] emese is now online
[06:55:55] mishok13 is now xa
[06:55:55] best is now xa
[06:55:55] blw0rm is now dnd
[06:55:55] bliznezz is now away
[06:55:55] fuzzy is now online
[06:55:55] Tony is now xa
[06:55:55] AlexZenon is now xa
[06:55:55] ds.tihonov is now дома! :)
[06:55:55] madmercen is now online
[06:55:55] syshnak is now online
[06:55:55] magic_pony is now online
[06:55:55] : slav0nic установил(а) тему: python.su | Сначала поищи ответ на docs.python.org | Теперь поищи в google.com | Код постить в dumpz.org | Хочешь задать вопрос - просто *задай* его! | Правила написания хорошего кода: http://➡.ws/pep8 | Логи: http://logs.python.su
[06:55:57] Сволота is now online
[07:00:57] Сволота is now away
[07:04:36] madmercen is now away
[07:10:10] madmercen is now online
[07:10:57] Сволота is now xa
[07:19:36] fuzzy is now online
[07:24:39] fuzzy is now online
[07:35:38] fuzzy is now online
[07:35:44] fuzzy is now online
[07:51:51] fuzzy is now online
[07:56:52] fuzzy is now away
[08:02:09] Сволота is now online
[08:07:11] Сволота is now away
[08:17:11] Сволота is now xa
[08:27:40] john_16 is now online
[08:29:15] remo is now away
[08:30:48] remo: я конечно может что-то в жизни потерял, но меня си как язык программирования все меньше и меньше устраивает
[08:31:29] john_16 is now away
[08:32:11] john_16 is now online
[08:32:53] remo: с таким же успехом, как пишется на си - можно писать на асме. Полностью низкий уровень. Работа с текстом на уровне низкоуровневой работы с массивами. Создаем массив указателей, потом проходимся по буферу с текстом strtok, в стеке создаем строки, привязываем их к массиву указателей
[08:33:08] remo: блин, ну это всё ну конкретные же костыли. Конкретные
[08:33:28] john_16: для справки: а в с++ также?
[08:33:50] remo: не с точки зрения работоспособности. С точки зрения чтения чтения этого всего глазами, с точки зрения современного программирования
[08:34:36] remo: john_16: та видимо нет
[08:35:56] john_16: remo: просто 3-4 мои попытки что нибудь сделать на С для общего развития окончились плевками и фразами "да ну его на х.." У меня прсто аллергия на С еще со времен Делфи (06 год)
[08:36:23] emese is now offline
[08:49:59] remo is now offline
[08:55:59] Сволота is now online
[09:01:01] Сволота is now away
[09:02:58] john_16 is now offline
[09:09:41] Сволота is now online
[09:15:20] dicos is now online
[09:22:55] Сволота is now away
[09:23:53] Сволота is now online
[09:28:03] emese is now online
[09:34:37] Сволота is now away
[09:44:37] Сволота is now xa
[09:44:53] dicos is now offline
[09:46:14] best is now offline
[09:46:19] best is now xa
[09:47:47] Сволота is now online
[09:53:35] Сволота is now away
[09:54:09] ambush is now online
[10:03:35] Сволота is now xa
[10:05:32] ambush is now away
[10:05:56] ambush is now online
[10:13:15] Сволота is now online
[10:19:39] Сволота is now away
[10:22:45] Сволота is now online
[10:24:06] Tony is now online
[10:27:47] Сволота is now away
[10:34:00] ambush is now away
[10:34:09] Сволота is now online
[10:37:36] ambush is now online
[10:45:11] alexg is now Yep, I'm here.
[10:52:44] ambush is now away
[10:54:34] Tony is now away
[11:02:44] ambush is now xa
[11:12:45] madmercen is now away
[11:14:01] madmercen is now online
[11:18:28] ambush is now online
[11:19:34] Tony is now xa
[11:34:52] madmercen is now offline
[11:54:12] ambush is now away
[12:02:37] огыешсук is now online
[12:04:12] ambush is now xa
[12:17:20] ambush is now online
[12:26:17] Сволота is now away
[12:30:01] Сволота is now online
[12:33:40] ambush is now offline
[12:38:41] Сволота is now away
[12:43:43] Сволота is now online
[12:44:47] fuzzy is now away
[12:56:58] Tony is now online
[13:08:50] mishok13 is now offline
[13:08:53] mishok13 is now xa
[13:08:54] mishok13 is now xa
[13:08:56] mishok13 is now xa
[13:12:08] mishok13 is now online
[13:17:16] mishok13 is now away
[13:25:43] opka is now online
[13:25:50] opka: всем привет, такой вопрос
[13:26:50] opka: есть список
lst = ["name1", "name2", "nameN"]
мне нужно в файле регуляркой спарсить значение типа name1=data или nameN=data. Но я заранее не знаю какое name там будет.
[13:27:11] Сволота is now away
[13:27:16] mishok13 is now xa
[13:27:22] opka: как составить регулярку, чтоб она искала по всем вариантам из списка? Слова могут быть разные "name", "yep", "blabla"
[13:27:36] opka: fuzzy:
[13:28:25] opka: предполагаю какой-то цикл с перечислениями делать, но может проще можео
[13:30:37] Сволота is now online
[13:47:52] mishok13 is now online
[14:01:47] ambush is now online
[14:05:40] emese is now away
[14:05:42] emese is now away
[14:10:44] emese is now away
[14:10:45] emese is now online
[14:15:07] Сволота is now away
[14:16:21] Сволота is now online
[14:20:51] ambush is now offline
[14:23:39] emese is now online
[14:32:37] Сволота is now away
[14:33:01] ambush is now online
[14:33:45] Сволота is now online
[14:36:12] emese is now offline
[14:37:17] AlexZenon is now online
[14:39:15] ambush is now away
[14:42:01] pythonua@conference.jabber.ru is now online
[14:42:21] pythonua@conference.jabber.ru is now online
[14:49:15] ambush is now xa
[14:52:17] pythonua@conference.jabber.ru is now online
[14:54:21] Сволота is now away
[14:54:28] ambush is now online
[14:56:56] mishok13 is now away
[15:00:11] Сволота is now online
[15:03:54] pythonua@conference.jabber.ru is now online
[15:06:01] ambush is now away
[15:06:56] mishok13 is now xa
[15:15:29] pythonua@conference.jabber.ru is now online
[15:16:01] ambush is now xa
[15:28:17] pythonua@conference.jabber.ru is now online
[15:28:58] pythonua@conference.jabber.ru is now online
[15:45:29] opka: скажите, как лучше заменить такой код:
for a in lst1:
for b in lst2:
print a, b
[15:46:33] opka is now offline
[15:47:19] opka is now online
[15:48:44] Сволота is now away
[15:52:32] Сволота is now online
[15:52:38] fuzzy is now away
[15:52:41] fuzzy is now online
[15:53:44] fuzzy: opka: re.findall(r'(\w+)=(\w+)', s).groupdict()
[15:54:06] opka: findall я прикрутил ага :)
[15:55:14] opka: только .groupdict() хз что такое
[15:55:19] opka: оно же список возвращает
[15:57:34] Сволота is now away
[16:03:26] Сволота is now online
[16:07:49] zerling is now online
[16:08:54] fuzzy: да
[16:09:04] ambush is now online
[16:09:07] fuzzy: а
[16:09:15] fuzzy: да, findlall не надо
[16:09:21] fuzzy: то еть groupdict() :)
[16:09:26] fuzzy: просто findall
[16:10:11] AlexZenon is now offline
[16:10:13] AlexZenon is now online
[16:20:32] opka: а смотри как я криво делаю
[16:21:30] fuzzy is now online
[16:21:42] огыешсук is now away
[16:21:43] огыешсук is now away
[16:24:02] pythonua@conference.jabber.ru is now offline
[16:24:48] opka: мне надо парсить файлы
[16:24:56] opka: мне нужно парсить файлы. Вних много говна, но есть заветные

username=alexxx
email=alexxx@abc.com
foo=foo
login=bukka
passw=byaka

из этого я хочу получить
alexxx=alexxx@abc.com
bukka=byaka.

Я создал два списка lst_user = ["username", "login"] и lst_data = ["email", "passw"]
Тепер я делаю так:
for x in lst_user:
for y in lst_data:
r = re.findall(r"{0}(\S+)\s{1}(\S+)\s".format(x, y, data, re.S)
if r:
print r
Моя цель перебрать все возможные варианты и спарсить их.
[16:25:10] Сволота is now away
[16:26:30] fuzzy is now away
[16:26:39] opka: fuzzy: как такое делать проще?
[16:28:04] Сволота is now online
[16:37:16] Сволота is now away
[16:37:32] Сволота is now online
[16:40:48] огыешсук is now away
[16:40:49] огыешсук is now online
[16:42:48] Сволота is now away
[16:43:45] ambush is now offline
[16:43:53] Typhon is now online
[16:44:58] Сволота is now online
[17:05:04] Сволота is now away
[17:10:08] Сволота is now online
[17:15:14] Сволота is now away
[17:15:50] Сволота is now online
[17:18:26] mishok13 is now online
[17:21:06] Сволота is now away
[17:26:10] Сволота is now online
[17:31:03] Typhon is now away
[17:31:20] Tony is now away
[17:32:16] Tony is now online
[17:33:28] Сволота is now away
[17:38:04] Typhon is now away
[17:38:30] Сволота is now online
[17:40:48] mishok13 is now away
[17:43:18] Typhon is now away
[17:43:23] Typhon is now online
[17:43:58] mishok13 is now online
[17:46:11] Typhon is now offline
[17:49:00] mishok13 is now away
[17:54:00] mishok13 is now online
[18:00:18] mishok13 is now away
[18:04:56] ds.tihonov is now дома! :)
[18:06:20] Сволота is now away
[18:07:55] λ is now online
[18:10:18] mishok13 is now xa
[18:11:14] Сволота is now online
[18:14:56] mishok13 is now online
[18:17:38] Сволота is now away
[18:27:38] Сволота is now xa
[18:32:52] λ is now online
[18:34:54] remo is now online
[18:38:17] Typhon is now online
[18:41:06] Сволота is now online
[18:46:44] огыешсук is now away
[18:48:03] огыешсук is now online
[18:48:03] огыешсук is now online
[18:48:48] mishok13 is now away
[18:50:52] mishok13 is now online
[18:55:05] dicos is now online
[18:57:12] ambush is now online
[18:58:06] λ is now offline
[18:58:11] λ is now online
[18:59:08] mishok13 is now away
[19:00:03] fuzzy is now away
[19:06:17] levsha is now online
[19:09:08] mishok13 is now xa
[19:15:26] огыешсук is now online
[19:16:32] mishok13 is now online
[19:17:01] λ is now offline
[19:21:15] gigimon is now online
[19:22:44] dicos is now offline
[19:23:26] remo is now away
[19:28:30] λ is now online
[19:29:18] Typhon is now offline
[19:33:18] огыешсук is now offline
[19:35:51] Сволота is now away
[19:40:55] Сволота is now online
[19:47:20] mishok13 is now away
[19:47:36] λ is now offline
[19:52:34] inpython is now online
[19:53:02] evgeny is now online
[19:53:54] inpython: подскажите, django на python3 для продакшена годится?
[19:54:13] evgeny is now offline
[19:57:20] mishok13 is now xa
[19:57:35] inpython: (8)
[20:01:00] gigimon: попробуй
[20:01:33] inpython: может кто уже пробовал?
[20:04:19] slav0nic is now online
[20:05:11] gigimon: inpython: https://docs.djangoproject.com/en/dev/releases/1.5/
[20:05:14] gigimon: читай про питон3
[20:06:16] inpython: выходит не стоит?
[20:06:19] Сволота is now away
[20:09:12] slav0nic is now away
[20:11:19] Сволота is now online
[20:12:04] slav0nic is now online
[20:15:43] λ is now online
[20:22:47] ambush is now away
[20:23:29] λ: inpython: если что-то масштабное и сразу то нет
[20:24:21] inpython: ясн, спасибо
[20:24:25] inpython: посомтрю в сторону раилс
[20:27:02] slav0nic is now away
[20:27:29] ambush is now online
[20:30:48] zerling is now away
[20:31:45] zerling is now online
[20:34:04] inpython is now offline
[20:34:28] remo is now away
[20:35:12] λ: а рельсы работают под третий птон ?
[20:35:30] remo: λ: ггг
[20:37:02] slav0nic is now xa
[20:39:51] ambush is now away
[20:43:57] ambush is now online
[20:50:10] огыешсук is now online
[20:56:40] slav0nic is now online
[21:01:41] Сволота is now away
[21:03:46] slav0nic is now away
[21:04:55] λ is now online
[21:06:41] Сволота is now online
[21:08:48] slav0nic is now online
[21:09:43] λ is now offline
[21:09:56] λ is now online
[21:10:30] λ is now offline
[21:12:01] огыешсук is now offline
[21:12:11] λ is now online
[21:16:42] λ is now offline
[21:17:32] λ is now online
[21:18:57] Сволота is now away
[21:22:43] slav0nic is now away
[21:23:57] Сволота is now online
[21:24:05] gigimon is now online
[21:27:49] slav0nic is now online
[21:28:40] λ: а как далеко я могу уехать из страны без тупых проверок ? так что-бы паспорт предъявил и пошел
[21:28:54] λ: Росия наверн
[21:28:57] Сволота is now away
[21:29:04] λ: Белорусь не т?
[21:29:06] gigimon is now away
[21:32:49] slav0nic is now away
[21:34:09] Сволота is now online
[21:34:14] λ: здесь есть agryn ?
[21:34:26] zerling: нету
[21:34:45] ambush is now away
[21:35:07] λ: zerling: не ну он тут тусуется под другим, а я забыл под каким :-D
[21:35:18] λ: *другим ником
[21:35:36] zerling: а правда, что Adryan Holovaty украинец?
[21:37:54] λ: zerling: да. Но сам Адриан не знает что если его прадед был украинец, то и он тоже становится украинцем. Он может иметь до 8 национальностей сразу :-D
[21:38:01] slav0nic is now online
[21:38:11] zerling: Адрiян Головатiй
[21:39:11] Сволота is now away
[21:39:29] remo is now away
[21:39:41] gigimon is now away
[21:39:45] gigimon is now online
[21:39:49] Сволота is now online
[21:40:01] λ: zerling: не бачу доказів окрім http://python.su/forum/topic/168/
[21:40:01] ambush is now online
[21:40:35] λ: анонімне повідомлення в LJ
[21:41:16] zerling: я оттуда и узнал
[21:41:21] zerling: кстати, я не знаю украинский
[21:42:07] λ: zerling: ганьба тобі!
[21:43:03] slav0nic is now away
[21:44:49] fuzzy is now away
[21:44:53] fuzzy is now online
[21:44:57] slav0nic is now online
[21:45:40] λ: zerling: ты с Украины ?
[21:45:45] zerling: нет
[21:46:31] λ: zerling: а украинец ?
[21:46:38] zerling: нет
[21:46:44] zerling: но есть родственники там
[21:47:01] levsha is now offline
[21:48:06] λ: написал Holovaty в google+
[21:49:59] slav0nic is now away
[21:51:55] zerling: я wannabe python webdev
[21:52:42] Tony is now away
[21:55:05] slav0nic is now online
[21:55:07] огыешсук is now online
[21:59:24] огыешсук is now online
[22:05:52] λ is now offline
[22:05:54] Tony is now online
[22:07:53] fuzzy is now online
[22:11:33] Сволота is now away
[22:14:12] ambush is now away
[22:16:01] Сволота is now online
[22:17:01] slav0nic is now away
[22:17:03] огыешсук is now offline
[22:20:15] slav0nic is now online
[22:24:13] ambush is now xa
[22:25:27] slav0nic is now away
[22:35:27] slav0nic is now xa
[22:36:27] fuzzy is now online
[22:38:35] slav0nic is now online
[22:38:36] fuzzy is now online
[22:39:52] gigimon is now online
[22:40:11] opka is now offline
[22:41:24] λ is now online
[22:42:41] λ is now offline
[22:43:20] λ is now online
[22:45:57] thefruitbat is now online
[22:46:49] thefruitbat: Привет всём. Lorien тут бывает?
[22:49:36] λ is now offline
[22:50:21] λ is now online
[22:54:01] slav0nic is now away
[22:54:39] slav0nic is now online
[22:55:18] thefruitbat is now offline
[22:57:09] fuzzy is now online
[22:58:12] mishok13 is now online
[23:00:11] Сволота is now away
[23:02:10] fuzzy is now online
[23:02:11] fuzzy is now online
[23:02:13] fuzzy is now online
[23:04:06] λ: в лора есть скайп, мыло, почта на своем сайте. Как вы узнали про эту конфу?
[23:05:13] Сволота is now online
[23:12:19] alexg: у него где-то на сайте или в подписи есть айди это
[23:12:41] λ is now online
[23:13:01] fuzzy is now online
[23:16:14] fuzzy is now online
[23:21:49] slav0nic is now away
[23:23:51] Typhon is now online
[23:27:13] slav0nic is now online
[23:27:58] λ is now offline
[23:28:03] λ is now online
[23:28:30] slav0nic is now offline
[23:29:08] opka is now online
[23:34:42] fuzzy is now online
[23:37:01] opka: fuzzy:
[23:37:35] fuzzy is now online
[23:37:42] fuzzy: а?
[23:38:22] opka: мне нужно парсить файлы. Вних много говна, но есть заветные

username=alexxx
email=alexxx@abc.com
foo=foo
login=bukka
passw=byaka

из этого я хочу получить
alexxx=alexxx@abc.com
bukka=byaka.

Я создал два списка lst_user = ["username", "login"] и lst_data = ["email", "passw"]
Тепер я делаю так:
for x in lst_user:
for y in lst_data:
r = re.findall(r"{0}(\S+)\s{1}(\S+)\s".format(x, y, data, re.S)
if r:
print r
Моя цель перебрать все возможные варианты и спарсить их.
[23:38:30] opka: как это сделать проще? :)
[23:42:38] opka: fuzzy: :))))
[23:42:49] opka: я меня просто смущает вложенный цикл
[23:43:05] opka: это си-подобно, но не питонообразно :)
[23:43:57] fuzzy: делай словари сразу, чо..
[23:44:13] fuzzy: user=(?P<user>\w+)
[23:44:14] fuzzy: итд
[23:46:03] λ is now offline
[23:46:57] Typhon is now online
[23:47:00] λ is now online
[23:47:13] Сволота is now away
[23:48:04] opka: а причем тут словари?
[23:49:03] Сволота is now online
[23:50:30] ambush is now online
[23:52:30] fuzzy: в них удобно хранить данные
[23:55:26] Typhon is now online