Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit 3b0551f

Browse files
change mode from write to append
1 parent 59b7b29 commit 3b0551f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

‎writing_details.py‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
soup = BeautifulSoup(response.text, 'html.parser')
1515
businesses = soup.findAll('div', {'class': 'biz-listing-large'})
1616

17-
with open(file_path, 'w') as textFile:
17+
with open(file_path, 'a') as textFile:
1818
count = 0
1919
for biz in businesses:
2020
try:

0 commit comments

Comments
(0)

AltStyle によって変換されたページ (->オリジナル) /