+ 1

How to install modules to be able to code with them, like for example the module "binarytree"?

example code: from binarytree import Node root = Node(1) root.left = Node(2) root.right = Node(3) root

30th Mar 2022, 12:19 PM
Rayan
Rayan - avatar
8 odpowiedzi
+ 2
* Add that code in start. * Then call function install() with passing need module name. Now you have module installed, if it supported by SL. * now add your code, as you wrote.
30th Mar 2022, 1:28 PM
Jayakrishna 🇮🇳
30th Mar 2022, 12:34 PM
Jayakrishna 🇮🇳
+ 1
1. Install module. 2. Import module. 3. Use module.
30th Mar 2022, 1:23 PM
Lisa
Lisa - avatar
0
Jayakrishna🇮🇳 thank you but what do i do next?
30th Mar 2022, 1:07 PM
Rayan
Rayan - avatar
0
"what do I do next?" The same as always: import the module.
30th Mar 2022, 1:14 PM
Lisa
Lisa - avatar
0
i don't get it Lisa, i have to put this code in the start at each code i need a module not installed?
30th Mar 2022, 1:17 PM
Rayan
Rayan - avatar
0
can you help me by telling me step by step what to do Lisa 🙏?
30th Mar 2022, 1:18 PM
Rayan
Rayan - avatar
0
Lisa so funny 😂😂😐
30th Mar 2022, 3:05 PM
Rayan
Rayan - avatar