Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feedback from CarpentryConnect 2019 to improve material #7

Open
annefou opened this issue Jun 28, 2019 · 0 comments
Open

feedback from CarpentryConnect 2019 to improve material #7

annefou opened this issue Jun 28, 2019 · 0 comments

Comments

@annefou
Copy link
Collaborator

annefou commented Jun 28, 2019

I got very good tips on how to improve material:

nicer way to format the html string (without having to add + signs and loads of """ etc):
html = """


Instructors: {}



""".format(" ".join(instructors))

also if want to avoid for i in range(0, len(list)) can use for element in list, which iterates through list elements, eg 
for element in features:
    location = (element['geometry']['coordinates'][1],element['geometry']['coordinates'][0])
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant