Lab: Generating Python Webex Teams API code using Postman
Lab ID: collab-spark-interfacing-with-rest
Page: Page 3 – Writing a Python Script
Sample code on this page has a leading space on each line, which when copy/pasted will break Python.
Ideally, the sample code should be updated to remove this leading space. This will create the least errors and confusion.
Alternately, add a short statement letting participants know.
e.g. Although typing the code out yourself is the best way to learn programming, if you choose to copy/paste from the DevNet Learning Lab then be careful that it may copy a space in front of some of the lines of code:You will need to delete those extra spaces after you Paste the code.
Removing the leading space would be the simplest solution and save valuable troubleshooting time.
Can't see anything in the lab source that would cause this, it's lined up as best the tools will allow (perhaps a browser issue?) - perhaps it was fixed previously? Closing
From the Collab DNE track:
Lab: Generating Python Webex Teams API code using Postman Lab ID: collab-spark-interfacing-with-rest Page: Page 3 – Writing a Python Script
Sample code on this page has a leading space on each line, which when copy/pasted will break Python.
Ideally, the sample code should be updated to remove this leading space. This will create the least errors and confusion.
Alternately, add a short statement letting participants know.
e.g. Although typing the code out yourself is the best way to learn programming, if you choose to copy/paste from the DevNet Learning Lab then be careful that it may copy a space in front of some of the lines of code: You will need to delete those extra spaces after you Paste the code.
Removing the leading space would be the simplest solution and save valuable troubleshooting time.
https://developer.cisco.com/learning/devnet-express/devnet-express-cloud-collab-it-pro/automating-spark-itp/collab-spark-interfacing-with-rest/step/3