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 fda692f

Browse files
add available count
1 parent 6fb810c commit fda692f

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

‎findsth.py‎

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,9 @@
3232
urls.append(url)
3333
logging.info('Available url:%s',url)
3434

35-
for i in range(len(urls)):
35+
availableCount = len(urls)
36+
logging.info('availableCount: %d',availableCount)
37+
for i in range(availableCount):
3638
logging.info('Openning: %s',urls[i])
3739
webbrowser.open_new_tab(urls[i])
3840
end = time.time()

0 commit comments

Comments
(0)

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