ANIMATE 2025 is here! 2D/3D animation hackathon using Synfig Studio and Blender. For more details, Click here!
This is a sample video. To access the full content, please Login
import ssTraceback (most recent call last): File "c:\python\python3.9.4\lib\site-packages\IPython\core\interactiveshell.py", line 3441, in run_code exec(code_obj, self.user_global_ns, self.user_ns) File "<ipython-input-15-c2e5125ec1bc>", line 1, in <module> import ss File "C:\Users\My Pc\ss.py", line 6 if__name__=="__main__": ^SyntaxError: invalid syntax
Haven't understood how the GCD code will work? Haven't understood the code...
14689 visits
Outline:About Python modules What is importing? How to write a function and save it as a script Run a python script Import a module Example to import a module usage of __name__ variable Write test condition using the name variable How importing works in new IPython console Different ways of running the Python script
About Python modules What is importing? How to write a function and save it as a script Run a python script Import a module Example to import a module usage of __name__ variable Write test condition using the name variable How importing works in new IPython console Different ways of running the Python script
Show video info
Pre-requisite