local habr.com proxy
Project description
интересная задача для практики на python
Описание действий
-запустите: python3 _getsense_main.py
-В internet browser введите: http://127.0.0.1:43433/ или http://localhost:43433, должен появится https://habr.com c следующим изменением:
к словам размером 6 символов добавлен знак "TM"
любая ссылка на https://habr.com заменяется на http://127.0.0.1:43433/
Что еще:
в модуле _getsense_proxy.py в описании class _getsense_proxy self.my_url -> как соединяться с local srv и на что меняем self.habr_url в ссылках
Эту практику на языке python придумали вот эти ребята: https://github.com/ivelum/job/blob/master/code_challenges/python.md
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
pyhabr_proxy-0.1.tar.gz
(3.8 kB
view hashes)
Built Distribution
Close
Hashes for pyhabr_proxy-0.1-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | cd0ff7beb514931fd1b7eee817de5c8742736534d9b84874da193a01c81975a0 |
|
MD5 | 25bbdfb63eee20a4659df4407907e477 |
|
BLAKE2b-256 | 1852f74fb16286ed99b7f3be9f06b01a84744eb8ac38b1bf81bac80d6738821a |