[00:02:20] MAVr is now — Уважаемые пассажиры! Убедительно просим вас не аплодировать экипажу до полной остановки самолета. Спасибо!
[00:03:38] MAVr is now offline
[00:15:46] slav0nic is now offline
[00:34:52] madmercen is now away
[00:37:10] madmercen is now online
[01:04:05] gigimon is now offline
[01:29:22] fuzzy is now away
[01:39:08] fuzzy is now away
[01:46:25] fuzzy is now away
[01:52:49] Пшш is now offline
[01:55:07] AlexZenon is now xa
[02:00:35] madmercen is now offline
[02:01:10] fuzzy is now away
[02:01:11] fuzzy is now away
[02:18:18] fuzzy is now away
[02:28:18] fuzzy is now away
[02:40:13] Сволота is now away
[02:45:13] Сволота is now online
[02:55:01] Сволота is now away
[03:00:01] Сволота is now online
[03:05:21] Сволота is now away
[03:07:33] Сволота is now online
[03:12:45] Сволота is now away
[03:18:49] Сволота is now online
[03:30:19] Сволота is now away
[03:40:19] Сволота is now xa
[03:49:57] Сволота is now online
[03:55:01] Сволота is now away
[03:55:07] Сволота is now online
[04:16:57] Сволота is now away
[04:18:07] Сволота is now online
[04:27:47] Сволота is now away
[04:32:05] Сволота is now online
[04:37:09] Сволота is now away
[04:45:23] Сволота is now online
[04:47:39] fuzzy is now away
[04:54:27] Сволота is now away
[04:57:31] Сволота is now online
[05:02:47] Сволота is now away
[05:03:57] Сволота is now online
[05:33:59] : Используемый вами псевдоним не зарегистрирован
[05:33:59] Сволота is now online
[05:33:59] Magister Yoda is now xa
[05:33:59] fuzzy is now away
[05:33:59] magic_pony is now online
[05:33:59] : slav0nic установил(а) тему: python.su | Сначала поищи ответ на docs.python.org | Теперь поищи в google.com | Код постить в dumpz.org | Хочешь задать вопрос - просто *задай* его! | Правила написания хорошего кода: http://➡.ws/pep8 | Логи: http://logs.python.su
[05:33:59] AlexZenon is now xa
[06:04:10] : Используемый вами псевдоним не зарегистрирован
[06:04:10] Сволота is now online
[06:04:10] fuzzy is now away
[06:04:10] Magister Yoda is now xa
[06:04:10] AlexZenon is now xa
[06:04:10] magic_pony is now online
[06:04:10] : slav0nic установил(а) тему: python.su | Сначала поищи ответ на docs.python.org | Теперь поищи в google.com | Код постить в dumpz.org | Хочешь задать вопрос - просто *задай* его! | Правила написания хорошего кода: http://➡.ws/pep8 | Логи: http://logs.python.su
[06:07:49] dicos is now online
[06:37:52] : Используемый вами псевдоним не зарегистрирован
[06:37:52] Сволота is now online
[06:37:52] fuzzy is now away
[06:37:52] AlexZenon is now xa
[06:37:52] Magister Yoda is now xa
[06:37:52] dicos is now online
[06:37:52] : slav0nic установил(а) тему: python.su | Сначала поищи ответ на docs.python.org | Теперь поищи в google.com | Код постить в dumpz.org | Хочешь задать вопрос - просто *задай* его! | Правила написания хорошего кода: http://➡.ws/pep8 | Логи: http://logs.python.su
[06:37:52] magic_pony is now online
[06:49:24] dicos is now away
[06:49:25] dicos is now away
[06:54:28] dicos is now away
[06:54:29] dicos is now online
[06:59:30] dicos is now away
[06:59:31] dicos is now away
[07:20:27] dicos is now away
[07:20:28] dicos is now online
[07:23:26] fuzzy is now away
[07:31:06] fuzzy is now away
[08:01:15] : Используемый вами псевдоним не зарегистрирован
[08:01:15] fuzzy is now away
[08:01:15] Сволота is now online
[08:01:15] AlexZenon is now xa
[08:01:15] Magister Yoda is now xa
[08:01:15] dicos is now online
[08:01:15] magic_pony is now online
[08:01:15] : slav0nic установил(а) тему: python.su | Сначала поищи ответ на docs.python.org | Теперь поищи в google.com | Код постить в dumpz.org | Хочешь задать вопрос - просто *задай* его! | Правила написания хорошего кода: http://➡.ws/pep8 | Логи: http://logs.python.su
[08:07:43] dicos is now away
[08:07:44] dicos is now away
[08:12:47] dicos is now away
[08:12:48] dicos is now online
[08:30:45] Сволота is now away
[08:38:47] Сволота is now online
[08:43:47] Сволота is now away
[08:53:47] Сволота is now xa
[08:56:44] fuzzy is now away
[08:58:31] Сволота is now online
[09:02:32] fuzzy is now away
[09:05:05] Сволота is now away
[09:09:34] fuzzy is now away
[09:12:24] Magister Yoda is now online
[09:12:32] fuzzy is now away
[09:15:05] Сволота is now xa
[09:17:05] Сволота is now online
[09:19:21] fuzzy is now away
[09:22:07] levsha is now online
[09:32:09] VeeSot is now Доступен
[09:36:07] levsha is now offline
[09:38:03] fuzzy is now away
[09:46:26] VeeSot is now away
[09:49:32] dicos is now away
[09:49:33] dicos is now away
[09:49:36] VeeSot is now Доступен
[09:50:40] slav0nic is now online
[09:54:38] dicos is now away
[09:54:39] dicos is now online
[10:02:45] VeeSot is now away
[10:04:35] dicos is now away
[10:04:36] dicos is now away
[10:04:41] dicos is now away
[10:04:42] dicos is now online
[10:06:41] fuzzy is now away
[10:12:36] VeeSot is now Доступен
[10:13:20] fuzzy is now away
[10:13:22] fuzzy is now online
[10:18:42] slav0nic is now away
[10:19:45] dicos is now online
[10:21:29] slav0nic is now online
[10:22:07] VeeSot is now away
[10:23:46] AlexZenon is now offline
[10:23:52] AlexZenon is now xa
[10:24:29] remo is now online
[10:29:14] fuzzy is now online
[10:30:43] aki is now online
[10:32:06] VeeSot is now xa
[10:32:11] VeeSot is now Доступен
[10:34:37] fuzzy is now online
[10:37:01] remo is now away
[10:37:11] VeeSot is now away
[10:40:19] gigimon is now online
[10:45:57] aki is now offline
[10:47:12] VeeSot is now xa
[10:48:55] aki is now online
[10:50:37] fuzzy is now online
[10:54:13] Magister Yoda is now away
[11:04:15] fuzzy is now online
[11:08:15] VeeSot is now Доступен
[11:08:32] VeeSot is now offline
[11:14:01] Magister Yoda is now online
[11:14:20] remo is now online
[11:14:25] fuzzy is now online
[11:16:51] levsha is now online
[11:17:37] VeeSot is now Доступен
[11:18:10] levsha: aki: а куда он по твоему должен копироваться? Компьютер всегда делает то, что ему сказали делать, а не то, что ты хочешь, чтобы он делал. Если ты сказал ему копировать в .backup , то он туда и будет копировать. А если ты хочешь, чтобы он копировал в ~/.backup , то так и говори
[11:24:07] fuzzy is now online
[11:24:57] remo is now away
[11:25:16] remo is now online
[11:35:17] remo is now away
[11:35:50] fuzzy is now online
[11:40:07] aki: levsha: в случае с папкой pro он не создает .backup, а просто копирует файл в pro
[11:40:25] fuzzy is now online
[11:40:55] levsha: aki: в каком случае? С какой папкой? Что такое pro? Я ничего не понял
[11:41:32] levsha: aki: что не понятно в моём объяснении? Относительные пути отсчитываются от workdir, а не от ~ , как ты думаешь
[11:41:34] aki: levsha: ./pro/testing/backup.py ~/pro/testfile2
[11:42:39] aki: levsha: изменила
backup_dir = '~/.backup'
запускаю ./pro/testing/backup.py ~/pro/testfile2
и OSError: [Errno 2] No such file or directory: '~/.backup'
[11:43:42] fuzzy: aki: In [7]: os.path.join(backup_dir, f)
Out[7]: '.backup/~/pro/testfile2'
[11:44:31] levsha: google python get home dir , первая же ссылка даёт ответ
[11:44:52] levsha: да, и это тоже
[11:45:13] levsha: /me вообще не понимает зачем городить такой капец для операции, которая делается двумя строчкам shell
[11:45:34] aki: levsha: )
[11:45:50] fuzzy is now away
[11:48:07] aki: levsha: а можно ли это както короче на питоне написать?
[11:49:31] levsha: можно
[11:55:44] levsha: aki: http://pastebin.com/6gnZ7Z1L
[11:57:50] nuclearworm is now online
[11:58:43] levsha: fuzzy: а ты не прав, кстати, при вызове ./pro/testing/backup.py ~/pro/testfile2 тыльду раскроет shell перед вызово скрипта. Поэтому в f не будет тыльды
[12:00:19] aki: levsha: os.path.basename(f) зачем?
[12:01:24] levsha: моё предположение, что тебе оно нужно. Ввиду того, что задача не была сформулирована, имею право на такие предположения
[12:01:47] aki: а почему на строке с if нет : ?
[12:02:21] levsha: мля
[12:02:42] levsha: потому что я писал прямо в paste, не проверяя и не прогоняя
[12:02:50] aki: а
[12:02:56] levsha: ты думаешь тут за тебя будут писать полный рабочий код?
[12:03:23] aki: кстати, почему в питоне принято писать все импорты на отдельной строке?
[12:05:17] levsha: подозреваю, что так рекомендуется в pep8 . А так может рекомендоваться потому, что при последующих добавлениях импортов diff в vcs будет понятнее выглядеть
[12:05:24] levsha is now away
[12:08:26] gigimon is now online
[12:10:51] levsha is now offline
[12:11:04] remo is now online
[12:12:22] dicos is now online
[12:12:51] levsha is now away
[12:12:53] levsha is now online
[12:13:17] gigimon is now away
[12:13:19] fuzzy is now online
[12:21:20] remo is now away
[12:26:45] nmk is now online
[12:34:43] VeeSot is now away
[12:42:59] VeeSot is now Доступен
[12:44:13] gigimon is now away
[12:44:14] gigimon is now online
[12:46:48] slav0nic is now away
[12:47:50] slav0nic is now online
[12:47:54] Magister Yoda is now away
[12:52:21] levsha is now offline
[12:52:28] levsha is now online
[12:53:12] Magister Yoda is now online
[13:04:42] nuclearworm is now offline
[13:04:49] nuclearworm is now online
[13:05:12] levsha is now away
[13:08:13] nuclearworm is now away
[13:08:14] nuclearworm is now away
[13:10:20] levsha is now offline
[13:25:01] Сволота is now away
[13:30:14] levsha is now away
[13:30:16] levsha is now online
[13:32:23] slav0nic is now offline
[13:32:30] Magister Yoda is now away
[13:35:01] Сволота is now xa
[13:37:35] Magister Yoda is now online
[13:41:55] remo is now online
[13:44:09] madmercen is now online
[13:51:57] remo is now away
[13:52:03] fuzzy is now away
[13:54:33] fuzzy is now online
[13:55:33] Сволота is now online
[13:57:04] nuclearworm is now away
[13:57:05] nuclearworm is now online
[13:59:47] remo is now online
[14:01:58] fuzzy is now away
[14:02:42] nuclearworm is now away
[14:02:43] nuclearworm is now away
[14:04:48] nuclearworm is now away
[14:04:48] nuclearworm is now online
[14:09:04] dicos is now offline
[14:09:48] remo is now away
[14:11:22] VeeSot is now away
[14:15:33] fuzzy is now away
[14:16:49] VeeSot is now Доступен
[14:22:11] VeeSot is now away
[14:24:22] fuzzy is now away
[14:24:46] VeeSot is now Доступен
[14:27:53] AlexZenon is now online
[14:34:03] slav0nic is now online
[14:41:12] fuzzy is now online
[14:46:16] gigimon is now online
[14:46:16] levsha is now away
[14:51:05] gigimon is now away
[14:51:24] levsha is now offline
[14:55:03] VeeSot is now offline
[15:00:25] slav0nic is now away
[15:04:32] slav0nic is now online
[15:15:18] slav0nic is now away
[15:18:16] slav0nic is now online
[15:21:17] aki is now offline
[15:51:29] : Используемый вами псевдоним не зарегистрирован
[15:51:29] Сволота is now online
[15:51:29] slav0nic is now online
[15:51:29] nmk is now online
[15:51:29] nuclearworm is now online
[15:51:29] madmercen is now online
[15:51:29] gigimon is now away
[15:51:29] remo is now away
[15:51:29] fuzzy is now online
[15:51:29] Magister Yoda is now online
[15:51:29] AlexZenon is now online
[15:51:29] magic_pony is now online
[15:51:29] : slav0nic установил(а) тему: python.su | Сначала поищи ответ на docs.python.org | Теперь поищи в google.com | Код постить в dumpz.org | Хочешь задать вопрос - просто *задай* его! | Правила написания хорошего кода: http://➡.ws/pep8 | Логи: http://logs.python.su
[15:52:01] fuzzy is now away
[15:54:55] fuzzy is now online
[15:56:53] slav0nic is now offline
[16:16:52] gigimon is now away
[16:16:53] gigimon is now online
[16:18:55] dicos is now online
[16:22:47] nuclearworm is now away
[16:22:48] nuclearworm is now away
[16:25:17] nuclearworm is now away
[16:25:18] nuclearworm is now online
[16:28:23] remo is now offline
[16:34:09] madmercen is now offline
[16:40:54] fuzzy is now online
[16:41:49] levsha is now away
[16:42:00] levsha is now online
[16:47:29] Сволота is now away
[16:47:53] nuclearworm is now away
[16:47:54] nuclearworm is now away
[16:48:06] dicos is now offline
[16:48:21] Пшш is now online
[16:48:59] nuclearworm is now away
[16:49:00] nuclearworm is now online
[16:52:18] fuzzy is now away
[16:52:52] Magister Yoda is now away
[16:57:29] Сволота is now xa
[17:03:39] levsha is now away
[17:05:40] fuzzy is now online
[17:08:58] tachiorz is now online
[17:09:00] levsha is now offline
[17:12:52] Magister Yoda is now xa
[17:13:35] levsha is now away
[17:13:44] levsha is now online
[17:17:22] madmercen is now online
[17:24:36] gigimon is now online
[17:29:35] gigimon is now away
[17:40:08] gigimon is now away
[17:40:08] gigimon is now online
[17:43:27] slav0nic is now online
[17:47:03] slav0nic is now away
[17:55:16] gigimon is now offline
[17:55:16] gigimon is now online
[17:57:03] slav0nic is now xa
[17:58:59] slav0nic is now online
[18:03:27] fuzzy is now away
[18:03:27] fuzzy is now online
[18:03:27] fuzzy is now away
[18:03:27] fuzzy is now online
[18:03:29] fuzzy is now away
[18:06:24] slav0nic is now away
[18:11:18] fuzzy is now online
[18:12:27] Сволота is now online
[18:13:21] slav0nic is now online
[18:18:35] madmercen is now away
[18:26:30] tachiorz is now away
[18:26:35] madmercen is now xa
[18:28:03] fuzzy is now online
[18:28:22] tachiorz is now online
[18:29:55] madmercen is now online
[18:30:14] fuzzy is now online
[18:35:19] gigimon is now offline
[18:44:11] madmercen is now away
[18:44:17] madmercen is now online
[18:46:41] aki is now online
[18:50:48] levsha is now away
[18:53:32] fuzzy is now online
[18:55:44] fuzzy is now online
[18:56:41] levsha is now offline
[18:57:01] slav0nic is now away
[18:58:45] levsha is now away
[18:58:47] levsha is now online
[19:01:36] levsha is now away
[19:01:39] levsha is now offline
[19:04:04] levsha is now online
[19:07:01] slav0nic is now xa
[19:10:43] nuclearworm is now offline
[19:18:10] slav0nic is now online
[19:36:18] levsha is now offline
[19:39:39] fuzzy is now online
[19:41:14] slav0nic is now offline
[20:02:55] fuzzy is now online
[20:13:00] levsha is now online
[20:17:55] madmercen is now away
[20:17:56] fuzzy is now online
[20:18:18] levsha is now away
[20:19:14] levsha is now online
[20:25:27] fuzzy is now online
[20:25:55] madmercen is now xa
[20:33:46] fuzzy is now online
[20:35:24] levsha is now away
[20:35:24] levsha is now offline
[20:39:34] Пшш is now offline
[20:51:33] nmk is now offline
[20:51:53] tranq is now online
[20:52:17] fuzzy is now online
[20:54:21] tranq is now offline
[21:00:57] madmercen is now online
[21:02:10] fuzzy is now online
[21:07:47] tachiorz is now offline
[21:30:41] madmercen is now away
[21:32:27] madmercen is now online
[21:32:28] Пшш is now online
[21:32:51] Пшш is now offline
[21:32:52] Пшш is now online
[21:45:56] levsha is now online
[21:55:05] levsha is now offline
[21:59:31] madmercen is now away
[22:02:33] madmercen is now online
[22:03:02] fuzzy is now online
[22:08:15] fuzzy is now online
[22:20:03] gigimon is now online
[22:28:40] tranq is now online
[22:29:15] cyber is now online
[22:33:43] Пшш is now offline
[22:38:13] madmercen is now away
[22:39:52] Пшш is now online
[22:40:05] tranq is now away
[22:40:06] tranq is now away
[22:40:39] madmercen is now online
[22:56:18] gigimon is now online
[22:56:23] tranq is now away
[22:56:24] tranq is now online
[23:01:20] gigimon is now away
[23:02:59] gigimon is now away
[23:02:59] gigimon is now online
[23:03:37] tranq is now away
[23:03:38] tranq is now away
[23:07:01] aki is now offline
[23:17:10] tranq is now away
[23:17:11] tranq is now online
[23:23:02] tranq is now away
[23:23:03] tranq is now away
[23:45:53] madmercen is now away
[23:47:33] madmercen is now online
[23:54:32] tranq is now away
[23:54:33] tranq is now online
[23:58:53] tranq is now offline