Skip to content

Commit

Permalink
Gallery updates 2.8 (#11047)
Browse files Browse the repository at this point in the history
* Update learn more message (#11036)

* Update learn more message

* Add titile

* Updates of wording (#11045)

* Gallery Updates to include Python3 info (#11046)

* GalleryUpdates

* resize the image to be 1250 * 833
  • Loading branch information
QilongTang authored Aug 24, 2020
1 parent 44889e6 commit a4b983c
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 0 deletions.
Binary file added extern/gallery/Data/11-Python3.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
5 changes: 5 additions & 0 deletions extern/gallery/en-US/GalleryContents.xml
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,11 @@
<Header>Need More Help?</Header>
<Body>There are more resources to help you learn more about Dynamo.&#10;- OFFICIAL WEBSITE: dynamobim.com&#10;- USERS' GUIDE: dynamoprimer.com&#10;- NODE DICTIONARY: dictionary.dynamobim.com&#10;- SAMPLE FILES: check out examples in the application menu under "Help > Samples"</Body>
<ImagePath>10-Help.png</ImagePath>
</GalleryContent>
<GalleryContent>
<Header>Dynamo Python Node</Header>
<Body>[1] NEW PYTHON FEATURES: Access the Python Engine selector, Migration Assistant and More Information panel.&#10;[2] MIGRATION ASSISTANT: Use the Migration Assistant to help migrate your code from Python 2 to Python 3.&#10;[3] MORE INFORMATION PANEL: Understand the differences between IronPython2 and CPython3.</Body>
<ImagePath>11-Python3.png</ImagePath>
</GalleryContent>
</GalleryUiContents>
</GalleryContents>
Original file line number Diff line number Diff line change
Expand Up @@ -169,6 +169,13 @@
This stopped on January 1st 2020, when Python 2 support from the PSF officially ended.
</p>

<h3>Backwards Compatibility</h3>
<p>
Dynamo 2.7 introduces a new Python engine, CPython3, that provides access to Python 3 inside of Dynamo. There
is no guarantee that any code written in the CPython3 environment will work in previous versions of Dynamo.
Code authors should ensure backwards compatibility with both the IronPython2 and CPython3 versions as desired.
</p>

<h3>Why did we need to change the Python version</h3>
<p>
Dynamo, and many other C#-based environments, uses a tool called IronPython to move data between .NET objects
Expand Down

0 comments on commit a4b983c

Please sign in to comment.