Skip to content
Snippets Groups Projects

Adding files related to adding a coworking space.

4 files
+ 22
25
Compare changes
  • Side-by-side
  • Inline
Files
4
+ 0
25
import flask
import csv
name_Value = "NEWNEWNEW"
address_Value = "123CodeBase Edinburgh , 37a Castle Terrace, Edinburgh, EH1 2EL"
MP_Value = "123https://images.squarespace-cdn.com/content/v1/55439320e4b0f92b5d6c4c8b/1646867535415-4JI39H286BUMT26H4FHN/C36A1915.jpg?format=2500w"
AP_Value = "123https://images.squarespace-cdn.com/content/v1/55439320e4b0f92b5d6c4c8b/1646868533510-J1OT4PEG5VM9FCBF8BJE/15.10.19_-_CREATIVE_BRIDGE_C02_-_DAY01_-_LQ-19+%281%29.jpg?format=2500w,https://images.squarespace-cdn.com/content/v1/55439320e4b0f92b5d6c4c8b/1646868421127-07KQ4N1OHTDDKQME686A/15.10.19_-_CREATIVE_BRIDGE_C02_-_DAY01_-_LQ-52+%281%29.jpg?format=2500w"
description_Value = "123Hi. We\u2019re CodeBase. We've been exploring the world of startups and innovation for over five years now. We're not really sure how to best describe what we do, but we think the words \"tech cluster\" probably do it best. Please get in touch! We\u2019re friendly people who are geeky about building tech startups, managing disruption and innovation."
website_Value = "123https://www.thisiscodebase.com"
email_Value = "123info@thisiscodebase.com"
PN_Value = "123Hi(+44) 0131 560 2003"
OH_Value = "12308:00 - 17:00"
CI_Value = "123Use the email address or phone number to call ahead and book a desk, let them know you're a Tramshed member"
recordValues = [name_Value, address_Value, MP_Value, AP_Value, description_Value, website_Value, email_Value, PN_Value, OH_Value, CI_Value]
def addWorkingSpaces(values):
with open('coworking_spaces.csv', 'a') as addToFile:
csvWriter = csv.writer(addToFile)
csvWriter.writerow(values)
addToFile.close()
return (f"{values} added.")
addWorkingSpaces(recordValues)
Loading