The basic, basics of Dynamo

It should take me less than 2 weeks to complete the Crash Course in Python-Coursera and Eric Mathes Python Crash Course. The latter is a better guide to programming than the former. This seems like a good time to test my Python knowledge in Dynamo and I am excited to follow through Youtube tutorials and challenge my proficiency in both programming and Revit. The Dynamo interface is not as intimidating as Python terminals and the linkages between scripts make it easier to understand. 

If you only have 2 minutes to learn Python, this is all you need to know; Integers, Strings, Lists, and Boolean operations. These are the 4 most commonly used terminologies, so far. Crossing my fingers that my explanation is as accurate as Eric Mathe's. 

  1. Python interprets the information as either strings or integers. Simply put an integer is a numerical value ie 1, 2, 3, and a string is a value that has alphabetical letters, punctuation marks, or both ie "yes", " " or "yes!".  
  2. Lists are a set of information stored between square brackets and separated by commas. You could have a list of integers [ 1 , 2 , 3] or a list of strings ['yes' , 'no', 'maybe']
  3. Boolean operations are comparison statements that evaluate to True or False such as 1 == 1 would be True but One == one would be false, the capital letter changes the value of the word. 
That is my 2-minute roundup of Python which should be the very basic information you need to start using Dynamo. What I am yet to understand is the additional semi-colon that is required on some operations, it doesn't align with anything I have learned so far, it seems like a Dictionary but not really it, and neither is it a functional call, hopefully, this will be debunked in the remaining chapters of my tutorials. 


Comments

Popular Posts