mirror of
https://github.com/Brandon-Rozek/website.git
synced 2025-10-09 14:31:13 +00:00
Re-tagged blog posts
This commit is contained in:
parent
209995c77b
commit
2a9c127365
186 changed files with 186 additions and 146 deletions
|
@ -2,7 +2,7 @@
|
|||
title: "Quick Python: __all__"
|
||||
date: 2020-05-01T00:53:46-04:00
|
||||
draft: false
|
||||
tags: ["python"]
|
||||
tags: ["Python"]
|
||||
---
|
||||
|
||||
Anything that is defined inside a package that is imported is also brought into that workspace. So for example, if package `A` uses `numpy` and you import `A`, then `A.numpy` will be shown in your workspace. In order to limit the variables exported, you can define the ones you want to be shown in a variable called `__all__`.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue