Python uses multiple number types in the same way Dynamo does. Learn about the different number types Python uses, and simple arithmetic operations.
- [Instructor] Python is made up…of many different native data types,…including integers, doubles, strings, and booleans,…all of which you would be familiar with from using Dynamo.…In Python, let's have a look at two types…that are commonly used in Dynamo, the integer and double.…Once we have an understanding…of how the two different number types work,…we'll look at different arithmetic operators…that we can utilize when using both types.…An integer is simply a whole number…which can be either positive or negative.…For example, one, two or negative one.…A double, on the other hand,…can be thought of as a decimal point number…or what is known as a floating-point number.…
For example, 0.1, 4.5 or negative 1.3.…When using integers and doubles,…it's important to know the limitations of both.…As you know, integers are whole numbers…and therefore, exact in what they represent.…There's no mistake that a whole number is as it appears.…Doubles, on the other hand, may appear exact…or in fact, an approximation.…To put simply, this is because the computer…
Note: This course uses Dynamo 1.3.1 and Revit 2018. For best results, it helps to have the same versions of the software.
- Importing the Dynamo Geometry library
- Defining variables
- Making decisions with conditionals
- Controlling flow with operators
- Defining functions
- Working with external libraries in Python
- Accessing the Revit API with Python
Skill Level Beginner
1. Dynamo and Python
2. Python Basics
3. Working with Libraries
4. Revit API
Next steps2m 18s
- Mark as unwatched
- Mark all as unwatched
Are you sure you want to mark all the videos in this course as unwatched?
This will not affect your course history, your reports, or your certificates of completion for this course.Cancel
Take notes with your new membership!
Type in the entry box, then click Enter to save your note.
1:30Press on any video thumbnail to jump immediately to the timecode shown.
Notes are saved with you account but can also be exported as plain text, MS Word, PDF, Google Doc, or Evernote.