Python SDET Day 02

  1. Any line starting with a hash sign (#) is considered a comment (single-line-comment)
  2. Comments are used for 
  3. Purpose of the code that helps to do easier KT in future. 
  4. Documenting your code in english.
  5. Comment old code and replace with new code. You are not deleting, and can easily change it back if needed. 
  6. Multi line comment (we use “”” at the beginning and “”” at the end)
  7. Helps us to comment a block of code or do a more detailed write-up.
  8. PyCharm helps us to color our code based on the keyword or character or variable/object
  9. Change the editor settings to make it larger font or change colors and preferences. 
  10. Personalize PyCharm to your needs or likings. 
  11. Syntax Error - A message from Code or IDE to us that “I do not understand your instructions. You wrote something that does not resonate with me.” 
  12. You cannot run the code till you correct the syntax error (will run only till that point).
  13. Comments are exempt from Syntax. All else in the code needs to match with the Programming Language Syntax. 
  14. RunTime Error comes only during execution. 
  15. Debug and ensure our code is defect free. Internal testing for our code. Unit Testing. We are the developers.

Complete and Continue  
Discussion

0 comments