From 04dae806d5aefb5c56e1402a0eed7d0fb6ca3983 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Or=C3=A7un=20=C3=96zdemir?= Date: Sun, 5 May 2019 13:10:05 +0300 Subject: [PATCH] PEP8 changes --- hepsiburada.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/hepsiburada.py b/hepsiburada.py index 5672ccc..dd4b76f 100644 --- a/hepsiburada.py +++ b/hepsiburada.py @@ -113,7 +113,7 @@ def get_reviews(prod_page): '\n') semaphore.acquire() - with open('hepsiburada.txt', 'a',encoding="utf-8") as wFile: + with open('hepsiburada.txt', 'a', encoding="utf-8") as wFile: wFile.write(row) semaphore.release() @@ -183,7 +183,7 @@ def get_products(cat_url): else: continue - with open('products.txt', 'a',encoding="utf-8") as wFile: + with open('products.txt', 'a', encoding="utf-8") as wFile: for product in products: wFile.write(product + '\n') @@ -306,7 +306,7 @@ def get_products(cat_url): pag_cats.update({categories[category]: '1'}) for category in range(0, len(categories)): - with open('categories.txt', 'a',encoding="utf-8") as wFile: + with open('categories.txt', 'a', encoding="utf-8") as wFile: wFile.write(categories[category] + '\n') for page in range(2, pag_num + 1): paginated = categories[category] + '?sayfa=' + str(page)