Timeline for Python script which fetches Amazon product details using its API
Current License: CC BY-SA 3.0
7 events
| when toggle format | what | by | license | comment | |
|---|---|---|---|---|---|
| Jul 9, 2014 at 17:59 | history | edited | BeetDemGuise | CC BY-SA 3.0 |
added 4 characters in body
|
| Jul 9, 2014 at 13:41 | comment | added | BeetDemGuise | @avi Good point about the pattern matching 'BlackBerry'. I am still wary of implied capitalization. However, the problem of possible lowercase letters may just be a handle-it-if-it-comes-up problem. | |
| Jul 9, 2014 at 13:36 | history | edited | BeetDemGuise | CC BY-SA 3.0 |
added 85 characters in body
|
| Jul 9, 2014 at 13:34 | comment | added | BeetDemGuise | @GarethRees As I said, that point is personal preference. I can see both ways being attractive. | |
| Jul 9, 2014 at 13:32 | comment | added | Gareth Rees |
I think if: A elif: B else: C is clearer than if: A if: B C even when A and B are return statements.
|
|
| Jul 9, 2014 at 13:27 | comment | added | avi |
Thank you very much! ASIN is always in capital letters and it would never contain small letters. And also r'/(\w{10})' would match 'BlackBerry', but product names URL are never fully capitalised.
|
|
| Jul 9, 2014 at 13:21 | history | answered | BeetDemGuise | CC BY-SA 3.0 |