[00:00:01] огыешсук is now away
[00:00:05] огыешсук is now online
[00:00:58] λ: у кого бубунта 13.10 у всех не работает звук в skype ? обновился на эту фигню бля :-(
[00:01:40] madmercen is now online
[00:02:23] Сволота is now online
[00:03:54] opka: юзай viber или mac os
[00:04:00] opka: и не обновляйся
[00:04:02] opka: никогда
[00:04:49] mishok13 is now away
[00:04:59] λ: opka: спасибо кэп. Но если они называют это стабильным релизом почему все так плохо ?
[00:06:10] slav0nic: pulse-audio:i386 небось не стоит
[00:06:11] λ: я ж обновлясь только когда их хреновина попросит
[00:07:38] madmercen is now away
[00:08:44] λ: pulseaudio
E: [pulseaudio] pid.c: Daemon already running.
E: [pulseaudio] main.c: pa_pid_file_create() failed.

[00:08:58] λ: slav0nic: а что у тебя за дистр. ?
[00:09:05] огыешсук is now offline
[00:09:27] slav0nic: debian
[00:10:30] λ: а нет программы что-бы слушать свой голос ?
[00:11:42] λ is now offline
[00:11:56] madmercen is now online
[00:12:01] λ is now online
[00:12:03] slav0nic: я свой голос и без программ пока слышу...
[00:14:25] mishok13 is now online
[00:15:32] fuzzy: skype: echo123
[00:15:51] fuzzy: или cat микрофона на /dev/dsp
[00:22:42] fuzzy is now offline
[00:31:00] madmercen is now away
[00:33:21] λ is now online
[00:40:02] огыешсук is now online
[00:41:00] madmercen is now xa
[00:41:55] slav0nic is now offline
[00:50:18] λ is now offline
[00:51:01] λ is now online
[00:58:34] ambush is now offline
[01:01:14] ambush is now online
[01:01:33] огыешсук is now offline
[01:06:41] Typhon is now online
[01:18:04] mishok13 is now offline
[01:20:09] ambush is now offline
[01:24:39] opka is now offline
[01:24:41] opka is now online
[01:27:08] AlexZenon is now xa
[01:30:07] Сволота is now away
[01:30:08] opka is now offline
[01:30:10] opka is now online
[01:31:03] Сволота is now online
[01:47:47] opka is now offline
[01:52:35] fuzzy is now online
[01:53:16] Tony is now away
[01:54:33] λ is now offline
[01:55:03] λ is now online
[02:03:11] Сволота is now away
[02:05:56] Typhon is now offline
[02:13:04] λ is now offline
[02:13:12] Сволота is now xa
[02:13:16] λ is now online
[02:18:15] Tony is now xa
[02:18:43] gigimon is now offline
[02:20:20] Typhon is now online
[02:23:39] Typhon is now offline
[02:25:48] Typhon is now online
[02:28:01] λ is now offline
[02:29:20] emese is now online
[02:32:02] Сволота is now online
[02:35:37] λ is now online
[02:36:06] emese is now offline
[02:37:01] Сволота is now away
[02:42:27] Typhon is now online
[02:45:02] огыешсук is now online
[02:45:18] огыешсук is now offline
[02:47:01] Сволота is now xa
[02:49:25] madmercen is now online
[02:49:27] λ is now offline
[02:50:25] Сволота is now online
[02:50:36] λ is now online
[02:51:18] λ is now offline
[02:55:04] Typhon is now online
[02:55:26] emese is now online
[02:55:27] Сволота is now away
[02:59:17] madmercen is now away
[03:05:27] Сволота is now xa
[03:08:02] Typhon is now online
[03:09:17] madmercen is now xa
[03:13:37] madmercen is now online
[03:16:49] gentoo@conference.jabber.ru is now offline
[03:16:55] fuzzy is now offline
[03:23:28] Typhon is now offline
[03:29:29] remo is now online
[03:33:05] fuzzy is now online
[03:46:48] madmercen is now away
[03:50:12] madmercen is now online
[04:03:40] fuzzy is now online
[04:03:41] fuzzy is now online
[04:08:45] fuzzy is now away
[04:15:46] madmercen is now away
[04:22:36] madmercen is now online
[04:40:01] Сволота is now online
[04:45:04] Сволота is now away
[04:51:14] emese is now offline
[04:55:03] Сволота is now xa
[05:06:06] remo is now offline
[05:18:08] Сволота is now online
[05:23:10] Сволота is now away
[05:33:10] Сволота is now xa
[05:38:36] Сволота is now online
[05:43:35] Сволота is now away
[05:45:41] Сволота is now online
[05:50:43] Сволота is now away
[05:57:31] Сволота is now online
[06:05:29] Сволота is now away
[06:15:29] Сволота is now xa
[06:18:18] dicos is now online
[06:24:48] Сволота is now online
[06:29:50] Сволота is now away
[06:32:55] Сволота is now online
[06:37:57] Сволота is now away
[06:40:36] dicos is now away
[06:40:37] dicos is now away
[06:41:49] Сволота is now online
[06:45:52] madmercen is now away
[06:46:49] Сволота is now away
[06:54:58] madmercen is now online
[06:56:49] Сволота is now xa
[07:02:59] Сволота is now online
[07:31:41] dicos is now offline
[07:37:13] xryun is now online
[07:46:26] dicos is now away
[08:01:30] Сволота is now offline
[08:02:59] xryun is now offline
[08:04:17] ambush is now online
[08:04:58] ambush is now offline
[08:05:13] ambush is now online
[08:08:22] emese is now online
[08:09:24] dicos is now away
[08:09:25] dicos is now online
[08:10:00] xryun is now online
[08:11:02] emese is now online
[08:12:19] emese is now online
[08:18:56] emese is now online
[08:19:04] emese is now online
[08:21:03] dicos is now away
[08:21:04] dicos is now away
[08:26:21] ambush is now offline
[08:26:36] ambush is now online
[08:31:06] dicos is now away
[08:31:07] dicos is now online
[09:01:16] dicos is now online
[09:01:16] emese is now online
[09:01:16] blw0rm is now dnd
[09:01:16] best is now xa
[09:01:16] fuzzy is now away
[09:01:16] ambush is now online
[09:01:16] bliznezz is now away
[09:01:16] Tony is now xa
[09:01:16] AlexZenon is now xa
[09:01:16] madmercen is now online
[09:01:16] ds.tihonov is now дома! :)
[09:01:16] syshnak is now online
[09:01:16] xryun is now online
[09:01:16] : slav0nic установил(а) тему: python.su | Сначала поищи ответ на docs.python.org | Теперь поищи в google.com | Код постить в dumpz.org | Хочешь задать вопрос - просто *задай* его! | Правила написания хорошего кода: http://➡.ws/pep8 | Логи: http://logs.python.su
[09:01:16] magic_pony is now online
[09:19:45] xryun: >>> from random import randrange
>>> randrange(10)
Будет ли когда нибудь 10 в выдаче?Или она исключена из нее?
[09:21:27] Tony is now online
[09:26:30] fuzzy is now away
[09:28:28] dicos is now away
[09:28:29] dicos is now away
[09:28:37] dicos is now away
[09:28:38] dicos is now online
[09:28:45] emese is now away
[09:28:47] emese is now away
[09:29:36] emese is now away
[09:29:38] emese is now online
[09:49:28] madmercen is now away
[09:49:51] aries.ua is now online
[09:49:52] aries.ua is now online
[09:50:01] aries.ua is now online
[09:51:28] madmercen is now online
[09:51:29] Tony is now away
[09:52:47] emese: >>> print [random.randrange(1) for _ in xrange(100)]
[0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]
[09:52:53] emese: мне кажется, что исключена
[09:55:03] dicos is now away
[09:55:04] aries.ua is now online
[09:55:04] dicos is now away
[09:55:45] dicos is now away
[09:55:46] dicos is now online
[09:56:49] огыешсук is now online
[10:00:06] aries.ua is now online
[10:05:01] огыешсук is now offline
[10:05:02] огыешсук is now online
[10:05:09] aries.ua is now online
[10:06:01] xryun is now away
[10:07:13] dicos is now away
[10:07:14] dicos is now away
[10:10:11] aries.ua is now online
[10:10:40] dicos is now away
[10:10:41] dicos is now online
[10:11:29] aries.ua is now offline
[10:13:48] aries.ua is now online
[10:13:48] aries.ua is now online
[10:16:01] xryun is now xa
[10:16:29] Tony is now xa
[10:18:14] aries.ua is now online
[10:19:39] dicos is now away
[10:19:40] dicos is now away
[10:19:48] dicos is now away
[10:19:49] dicos is now online
[10:23:17] aries.ua is now online
[10:24:23] gigimon is now online
[10:24:35] xryun is now online
[10:24:39] levsha is now online
[10:25:10] madmercen is now away
[10:25:32] огыешсук is now away
[10:26:12] emese is now offline
[10:26:20] огыешсук is now online
[10:26:55] bliznezz is now online
[10:28:20] aries.ua is now online
[10:28:35] levsha is now offline
[10:28:35] levsha is now online
[10:28:41] mishok13 is now away
[10:29:01] levsha is now online
[10:29:02] mishok13 is now online
[10:30:14] madmercen is now online
[10:33:22] aries.ua is now online
[10:34:50] emese is now online
[10:37:33] bliznezz is now away
[10:37:34] bliznezz is now away
[10:37:54] bliznezz is now online
[10:38:10] aries.ua is now away
[10:38:10] aries.ua is now away
[10:38:13] aries.ua is now online
[10:38:13] aries.ua is now online
[10:38:25] aries.ua is now online
[10:42:58] madmercen is now away
[10:43:27] aries.ua is now online
[10:47:49] xryun is now away
[10:48:02] madmercen is now online
[10:48:30] aries.ua is now online
[10:53:32] aries.ua is now online
[10:54:30] madmercen is now away
[10:55:44] madmercen is now online
[10:57:01] aries.ua is now online
[10:57:01] aries.ua is now away
[10:57:01] aries.ua is now away
[10:57:49] xryun is now xa
[10:58:13] aries.ua is now online
[10:58:13] aries.ua is now online
[10:58:35] aries.ua is now online
[11:02:02] madmercen is now away
[11:03:23] xryun is now online
[11:03:38] aries.ua is now online
[11:05:18] mishok13 is now away
[11:06:15] fuzzy is now away
[11:06:19] fuzzy is now online
[11:06:24] mishok13 is now online
[11:07:06] madmercen is now online
[11:08:40] aries.ua is now online
[11:09:55] Tony is now online
[11:10:41] dicos is now away
[11:10:42] dicos is now away
[11:11:24] mishok13 is now away
[11:13:42] aries.ua is now online
[11:14:34] mishok13 is now online
[11:15:02] slav0nic is now online
[11:16:50] fuzzy is now away
[11:18:44] aries.ua is now online
[11:21:28] madmercen is now away
[11:23:47] aries.ua is now online
[11:25:40] madmercen is now online
[11:26:53] fuzzy is now away
[11:28:48] aries.ua is now online
[11:32:48] madmercen is now away
[11:33:51] aries.ua is now online
[11:34:06] mishok13 is now away
[11:38:53] aries.ua is now online
[11:38:54] mishok13 is now online
[11:39:41] slav0nic is now away
[11:40:29] Tony is now away
[11:42:48] madmercen is now xa
[11:43:33] slav0nic is now online
[11:43:55] aries.ua is now online
[11:44:32] MAVr is now — Уважаемые пассажиры! Убедительно просим вас не аплодировать экипажу до полной остановки самолета. Спасибо!
[11:47:04] mishok13 is now offline
[11:48:57] aries.ua is now online
[11:53:59] aries.ua is now online
[11:59:01] aries.ua is now online
[12:01:19] aries.ua is now offline
[12:01:25] ambush is now offline
[12:01:27] ambush is now online
[12:01:29] ambush is now online
[12:01:30] ambush is now online
[12:02:22] ambush is now offline
[12:02:35] ambush is now online
[12:03:08] aries.ua is now online
[12:03:08] aries.ua is now online
[12:04:40] aries.ua is now online
[12:05:29] Tony is now xa
[12:09:42] aries.ua is now online
[12:12:46] fuzzy is now away
[12:14:23] gigimon: xryun: дык все ж встроенные функции правй лимит используют до него, не включаяя его
[12:14:45] aries.ua is now online
[12:15:15] mishok13 is now online
[12:19:47] aries.ua is now online
[12:21:24] ambush is now away
[12:22:05] dicos is now away
[12:22:06] dicos is now online
[12:24:40] ambush is now online
[12:24:49] aries.ua is now online
[12:27:07] огыешсук is now offline
[12:27:50] fuzzy is now online
[12:29:40] ambush is now away
[12:29:52] aries.ua is now online
[12:32:59] xryun is now away
[12:34:53] xryun is now online
[12:34:53] aries.ua is now online
[12:35:43] AlexZenon is now online
[12:39:40] ambush is now xa
[12:39:56] aries.ua is now online
[12:41:32] bliznezz is now away
[12:41:33] bliznezz is now away
[12:44:53] fuzzy is now online
[12:44:58] aries.ua is now online
[12:49:53] fuzzy is now away
[12:50:00] aries.ua is now online
[12:55:02] aries.ua is now online
[12:55:16] ambush is now online
[12:57:40] mishok13 is now away
[12:58:02] mishok13 is now online
[13:00:05] aries.ua is now online
[13:02:06] madmercen is now online
[13:04:46] bliznezz is now away
[13:04:47] bliznezz is now online
[13:05:08] aries.ua is now online
[13:09:19] aries.ua is now away
[13:09:19] aries.ua is now away
[13:09:19] aries.ua is now away
[13:09:27] dicos is now offline
[13:10:10] aries.ua is now away
[13:11:27] Tony is now online
[13:13:00] λ is now online
[13:13:20] madmercen is now away
[13:15:12] aries.ua is now away
[13:15:46] madmercen is now online
[13:20:14] aries.ua is now away
[13:24:19] gigimon is now online
[13:25:17] aries.ua is now away
[13:29:19] gigimon is now away
[13:30:19] aries.ua is now away
[13:35:22] aries.ua is now away
[13:35:47] xryun is now away
[13:37:11] xryun is now online
[13:40:24] aries.ua is now away
[13:40:54] madmercen is now away
[13:42:17] xryun is now away
[13:45:26] aries.ua is now away
[13:47:35] xryun is now online
[13:50:29] aries.ua is now away
[13:50:54] madmercen is now xa
[13:52:42] gigimon is now away
[13:52:43] gigimon is now online
[13:55:31] aries.ua is now away
[13:57:04] aries.ua is now online
[13:57:04] aries.ua is now online
[14:00:34] aries.ua is now online
[14:03:29] λ is now away
[14:03:29] λ is now away
[14:05:37] aries.ua is now online
[14:06:34] mishok13 is now away
[14:08:38] λ is now away
[14:08:38] λ is now online
[14:10:39] aries.ua is now online
[14:15:41] aries.ua is now online
[14:16:34] mishok13 is now xa
[14:17:12] λ is now online
[14:19:04] aries.ua: народ, а есть тут кто, кто пишет на торнадо?
[14:19:56] mishok13 is now online
[14:20:44] aries.ua is now online
[14:21:29] λ: aries.ua: какие у тебя масштабы ?
[14:21:44] λ: я мб напишу что-то
[14:22:44] gigimon: я немного юзаю торнаду
[14:23:08] aries.ua: не, больше интересует как правильно структурировать проект на нем. Т.е я применил подход, как обычно делаю во фласке. Но возникла проблема с импортированием модулей. Те примеры, что видел в сети основываются на один файл. Что уже не комильфо.
[14:24:28] gigimon: я каждый хандлер сую в свой модуь
[14:24:32] gigimon: если общие, то в common
[14:24:41] gigimon: общие = общие функции или родители
[14:24:44] gigimon: миксины
[14:24:48] aries.ua: я сделал так. Создал директорию
app/__init__.py

В файле __init__.py
описал нужные апликации и импорты.
Дальше создал папку mods
ней модули.
[14:25:11] xryun is now away
[14:25:46] aries.ua is now online
[14:25:54] aries.ua: теперь когда импортирую в app/__init__.py хендлеры для роутинга, то при импорте в хендлере роута app
ни одних настроек нет
[14:26:13] aries.ua: т.е app/__init__.py
отрабатывает в самом конце
[14:26:33] λ is now online
[14:26:37] aries.ua: отсюда вывод - я возможно не правильно структурирую проект
[14:28:01] λ is now offline
[14:28:07] aries.ua: вот хотелось бы узнать, как народ структурирует проект и пишет модули :)
[14:30:13] xryun is now online
[14:30:52] aries.ua is now online
[14:30:56] gigimon: я так нмого не юзал торнаду
[14:31:57] λ is now online
[14:35:24] mishok13 is now away
[14:35:55] aries.ua is now online
[14:40:57] aries.ua is now online
[14:43:08] λ is now online
[14:45:07] MAVr is now offline
[14:45:11] MAVr is now — Уважаемые пассажиры! Убедительно просим вас не аплодировать экипажу до полной остановки самолета. Спасибо!
[14:45:24] mishok13 is now xa
[14:46:00] aries.ua is now online
[14:48:09] xryun is now away
[14:51:02] aries.ua is now online
[14:52:29] slav0nic is now away
[14:52:30] fuzzy is now away
[14:52:39] xryun is now online
[14:52:40] xryun is now offline
[14:55:03] λ is now offline
[14:55:10] emese is now away
[14:55:12] emese is now away
[14:55:40] bliznezz is now away
[14:55:40] bliznezz is now away
[14:55:43] λ is now online
[14:56:05] aries.ua is now online
[14:56:22] gentoo@conference.jabber.ru is now I'm available
[14:57:25] bliznezz is now away
[14:57:26] bliznezz is now online
[15:01:07] aries.ua is now online
[15:02:29] slav0nic is now xa
[15:04:14] emese is now away
[15:04:16] emese is now online
[15:04:34] gentoo@conference.jabber.ru is now offline
[15:04:40] gentoo@conference.jabber.ru is now away
[15:06:09] aries.ua is now online
[15:06:18] gentoo@conference.jabber.ru is now offline
[15:06:19] gentoo@conference.jabber.ru is now I'm available
[15:06:36] gentoo@conference.jabber.ru is now offline
[15:11:03] gentoo@conference.jabber.ru is now away
[15:11:12] aries.ua is now online
[15:11:35] slav0nic is now online
[15:12:30] mishok13 is now online
[15:16:15] aries.ua is now online
[15:21:17] aries.ua is now online
[15:23:39] fuzzy is now online
[15:26:19] aries.ua is now online
[15:27:59] aries.ua is now away
[15:27:59] aries.ua is now away
[15:31:22] aries.ua is now away
[15:31:39] λ is now offline
[15:32:20] λ is now online
[15:36:24] aries.ua is now away
[15:37:31] aries.ua is now away
[15:37:32] aries.ua is now away
[15:37:32] aries.ua is now online
[15:40:19] Tony is now offline
[15:41:28] aries.ua is now online
[15:42:18] bliznezz is now away
[15:42:19] bliznezz is now away
[15:42:38] bliznezz is now online
[15:46:30] aries.ua is now online
[15:51:33] aries.ua is now online
[15:52:23] fuzzy is now away
[15:56:35] aries.ua is now online
[15:56:45] dicos is now online
[15:57:16] Tony is now online
[16:01:37] aries.ua is now online
[16:02:23] fuzzy is now away
[16:06:39] aries.ua is now online
[16:08:03] AlexZenon is now offline
[16:08:08] AlexZenon is now online
[16:08:31] mishok13 is now away
[16:11:42] aries.ua is now online
[16:12:16] fuzzy is now away
[16:12:24] fuzzy is now online
[16:14:07] mishok13 is now online
[16:16:44] aries.ua is now online
[16:21:47] aries.ua is now online
[16:26:50] aries.ua is now online
[16:31:52] aries.ua is now online
[16:36:49] gigimon is now online
[16:36:55] aries.ua is now online
[16:38:31] gigimon is now online
[16:40:52] emese is now offline
[16:41:17] fuzzy is now away
[16:41:33] fuzzy is now online
[16:41:58] aries.ua is now online
[16:44:42] MAVr is now offline
[16:45:59] emese is now online
[16:47:01] aries.ua is now online
[16:49:27] emese is now offline
[16:51:18] opka is now online
[16:52:03] aries.ua is now online
[16:53:51] opka: товарищи, прошу помощи :)
[16:53:55] opka: Есть папка проекта proj, в ней есть файл proj.py (в котором есть список lst = [1,2,3]).
В папке proj есть папка use_list, в которой есть файл use.py, который должен использовать lst и файла proj.py.
__init__.py есть везде.
Делал sys.path.append, пишет 'lst' is not defined. Скажите, как сделать?
[16:54:43] opka: суть в том, что в файле proj.py я обхявил несколько переменных, и хочу получать их значения из любого файла в проекте
[16:56:22] opka: и еще прошу учесть, что импортировать надо из папки выше, типа from ..proj impot *
[16:57:05] aries.ua is now online
[16:57:42] opka: сделал через опу :)
[16:58:12] aries.ua is now online
[16:58:12] aries.ua is now away
[16:58:12] aries.ua is now away
[17:02:08] aries.ua is now away
[17:02:30] aries.ua is now online
[17:02:30] aries.ua is now online
[17:06:06] opka: fuzzy:
[17:07:11] aries.ua is now online
[17:08:06] fuzzy: твой код должен лежать в пакете
[17:08:22] fuzzy: то есть должен быть какой-то верхний каталог, который называется как твой пакет
[17:08:35] λ: from ..proj impot *
а так что уже нельзя ?
[17:08:40] fuzzy: и вот каталог, в котором (внутри) лежит твой пакет ты должен добавить в PYTHONPATH
[17:08:43] fuzzy: ну можно
[17:08:46] fuzzy: но не кошерно
[17:08:57] fuzzy: кошерно - абсолютными путями
[17:10:29] opka: лямбда: мне тогда питон ругается, что у меня не pkg
[17:10:49] opka: блин, решил один отказаться от ini файла и всё кинут ьв скрипт :)
[17:10:54] aries.ua is now offline
[17:11:20] λ: opka: установи себе tree
[17:11:59] opka: а потом вырастить сына?
[17:12:44] dicos is now away
[17:12:46] dicos is now away
[17:13:25] λ: opka: по логике вещей ты должен сына сам написать :-D
[17:13:38] opka: а дом?
[17:13:52] opka: или просто сделать build?
[17:13:59] λ: собрать из исходников
[17:14:01] opka: build дом
[17:14:04] opka: да
[17:14:38] opka: :)
[17:15:13] λ: зачем перегонять djvu в pdf ? идиотизм
[17:16:33] opka: я перегонял, когда у меня джву на мае ниодин просмоторщик не сумел отобразить нормально
[17:16:52] λ: мае ?
[17:17:52] opka: fuzzy: я кстати хз что такое пакеты и как с ними жить
[17:18:25] λ: !g python packeges
[17:18:33] fuzzy: пакет - это каталог с файлом __init__.py
[17:18:46] fuzzy: !g python modules packages
[17:18:59] gigimon is now offline
[17:20:00] opka: я сделал в файле lst.py
sys.path.append(os.path.abspath(os.path.dirname(__file__) + '/../..'))
from proj.proj import lst


[17:20:26] opka: но беда в том, что называться ведь может и не proj папка, а как-то иначе (project например)
[17:21:28] λ: а если бы было в файле рядом тоже была бы такая проблема
[17:21:52] λ: а вдруг переименуит models в database_clases
[17:24:15] opka: os.sys.path.insert(0, os.path.dirname(os.path.dirname(os.path.abspath(__file__))))
[17:24:17] opka: помогло
[17:24:30] opka: потом просто from proj import lst
[17:24:32] opka: уа
[17:24:33] opka: ура
[17:26:32] огыешсук is now online
[17:28:38] λ is now offline
[17:36:12] aries.ua is now online
[17:36:12] aries.ua is now online
[17:40:52] aries.ua is now online
[17:43:40] fuzzy: :(
[17:44:04] aries.ua is now away
[17:44:04] aries.ua is now away
[17:45:54] aries.ua is now away
[17:47:07] aries.ua is now online
[17:47:07] aries.ua is now online
[17:47:26] opka: fuzzy: не одобряет
[17:47:49] opka: а как вообще нормальные люди поступают, когда надо дергать значения переменной из другого файла?
[17:48:07] fuzzy: часто это признак дурного дизайна
[17:48:15] fuzzy: кроме случаев, когда это, например, конфигурация
[17:48:30] fuzzy: тогда надо, чтобы этот другой файл был импортируемым по абсолютному пути
[17:48:34] fuzzy: то есть он лежит в пакете
[17:48:40] fuzzy: а пакет - у тебя в PYTHONPATH
[17:49:23] opka: у меня там настройки, да
[17:50:57] aries.ua is now online
[17:52:31] levsha is now offline
[17:55:40] ambush is now offline
[17:55:59] aries.ua is now online
[17:57:35] dicos is now away
[17:57:37] dicos is now online
[18:01:02] aries.ua is now online
[18:06:05] aries.ua is now online
[18:11:08] aries.ua is now online
[18:16:10] aries.ua is now online
[18:16:17] fuzzy is now away
[18:21:13] aries.ua is now online
[18:23:35] fuzzy is now online
[18:26:15] aries.ua is now online
[18:30:48] огыешсук is now away
[18:31:18] aries.ua is now online
[18:36:20] aries.ua is now online
[18:40:29] огыешсук is now online
[18:40:30] огыешсук is now online
[18:41:22] aries.ua is now online
[18:46:25] aries.ua is now online
[18:47:17] bliznezz is now away
[18:47:19] bliznezz is now away
[18:47:44] bliznezz is now away
[18:47:45] bliznezz is now online
[18:49:54] огыешсук is now away
[18:50:12] огыешсук is now online
[18:51:28] aries.ua is now online
[18:53:29] gentoo@conference.jabber.ru is now offline
[18:53:44] gentoo@conference.jabber.ru is now away
[18:54:10] gentoo@conference.jabber.ru: интересно, по какой причине эта фигня может не работать ? fetchmail -c 2> /dev/null | sed 's/(//' | awk '{print $2}'
[18:54:31] gentoo@conference.jabber.ru: вот
[18:54:37] gentoo@conference.jabber.ru is now offline
[18:54:40] remo is now away
[18:55:04] remo: без sed awk выводит $1 $2 $3 строки
[18:55:29] Домовичок is now online
[18:55:45] Домовичок is now offline
[18:56:30] aries.ua is now online
[18:59:50] fuzzy: а с sed?
[19:00:35] remo: fuzzy: а с sed висит и ничего не показывает и не делает
[19:01:33] aries.ua is now online
[19:01:48] remo: fuzzy: хотя если оставить sed и убрать awk - выдает строку с заменой скобки
[19:02:43] aries.ua is now offline
[19:03:51] opka is now offline
[19:03:53] opka is now online
[19:04:43] fuzzy: /tmp$ echo '(a b c' > /tmp/q
/tmp$ cat /tmp/q | sed 's/(//' | awk '{print $2}'
b
[19:09:41] dicos is now offline
[19:16:37] mishok13 is now offline
[19:38:51] bliznezz is now away
[19:38:52] bliznezz is now away
[19:41:32] огыешсук is now away
[19:41:33] огыешсук is now away
[19:42:25] gigimon is now online
[19:48:15] slav0nic is now offline
[19:55:14] gigimon is now away
[19:59:07] огыешсук is now away
[19:59:09] огыешсук is now online
[20:00:13] gigimon is now away
[20:02:33] gigimon is now away
[20:02:36] gigimon is now online
[20:06:20] remo: fuzzy: незнаю почему, но не получилось. Реально работает через этот "скрипт" http://bpaste.net/show/141696/
[20:07:10] fuzzy: работает? хорошо.
[20:13:45] fuzzy is now online
[20:40:02] gigimon is now offline
[20:41:42] opka: скажите, а почему beautifulsoup
title = t.find('a', attrs={"class": compile(r".*normalgrey.*font12px.*")}) --- вот так не находит,
<a class="normalgrey font12px plain bold" href="/">TEXT</a>
[20:41:54] opka: t.find('a', attrs={"class": compile(r".*normalgrey.*")})
[20:42:02] slav0nic is now online
[20:42:07] opka: а вот так находит
[20:43:17] remo: fuzzy: даже вот так: http://bpaste.net/show/141707/
[20:44:33] fuzzy: opka: может потому что там какой-то список стилей?
[20:46:34] opka: где именно?
[20:46:49] opka: в ранних версиях bs находил
[20:46:58] opka: а сейчас пробую четверку, и не находит по регулярке
[21:05:10] Сволота is now online
[21:10:29] slav0nic is now away
[21:14:02] λ is now online
[21:14:44] ambush is now online
[21:16:06] emese is now online
[21:18:02] λ is now offline
[21:18:23] λ is now online
[21:18:39] slav0nic is now online
[21:20:11] madmercen is now online
[21:25:13] madmercen is now away
[21:29:15] madmercen is now online
[21:32:44] λ:   request.is_secure = lambda: True
[21:32:49] λ: зачем так делать ?
[21:33:03] ambush is now away
[21:34:06] opka: есть скипт, который читает хеши файлов и пишет их в файл hash.txt. Далее, если хеш фаайла уже есть в хеш.тхт, то файл пропускаем. Как лучше организовать такое, чтоб файл хеш.тхт был где-то вовоне, его скачивать, делать дело и заливать обратно?
[21:34:18] opka: что-то типа commit & push для гитхаба
[21:41:59] madmercen is now away
[21:43:01] fuzzy: купи какую-то облачную субд
[21:43:03] ambush is now xa
[21:51:59] madmercen is now xa
[21:58:11] slav0nic is now away
[22:07:15] ambush is now online
[22:08:11] slav0nic is now xa
[22:08:35] slav0nic is now online
[22:13:36] fuzzy is now away
[22:14:13] λ is now offline
[22:14:31] slav0nic is now away
[22:14:37] λ is now online
[22:15:46] fuzzy is now online
[22:24:31] slav0nic is now xa
[22:24:51] slav0nic is now online
[22:26:03] ambush is now away
[22:35:43] ambush is now online
[22:43:18] Tony is now away
[22:44:05] ambush is now away
[22:45:52] Tony is now online
[22:51:30] λ is now offline
[22:52:28] λ is now online
[22:53:17] emese is now offline
[22:54:05] ambush is now xa
[22:54:57] ambush is now online
[22:55:29] λ is now offline
[22:55:42] λ is now online
[22:56:06] fuzzy is now away
[22:56:15] fuzzy is now online
[23:03:25] emese is now online
[23:03:35] slav0nic is now offline
[23:19:23] ambush is now away
[23:20:31] ambush is now online
[23:37:07] λ: кложур захватит мир
[23:51:25] ambush is now offline
[23:52:46] emese is now offline
[23:56:21] remo is now offline
[23:57:27] ambush is now online