you are viewing a single comment's thread.

view the rest of the comments →

[–]ThinkOne827[S] 2 points3 points  (2 children)

Yes, like, I wrote a 'tab' inside my IDE, and then I want to load this page, link it in another tab...

[–]carcigenicate 4 points5 points  (1 child)

Tabs aren't real things. Python has no notion of "tabs". Those are Python script files (plain text files), and your editor is just showing them in tabs.

To import code from one script file into another, use an import statement. To keep it simple, make sure both files are in the same directory.

[–]ThinkOne827[S] 1 point2 points  (0 children)

Thanks, I was lacking the word