mik-laj commented on a change in pull request #10303:
URL: https://github.com/apache/airflow/pull/10303#discussion_r469505026



##########
File path: docs/packages.rst
##########
@@ -0,0 +1,75 @@
+ .. Licensed to the Apache Software Foundation (ASF) under one
+    or more contributor license agreements.  See the NOTICE file
+    distributed with this work for additional information
+    regarding copyright ownership.  The ASF licenses this file
+    to you under the Apache License, Version 2.0 (the
+    "License"); you may not use this file except in compliance
+    with the License.  You may obtain a copy of the License at
+
+ ..   http://www.apache.org/licenses/LICENSE-2.0
+
+ .. Unless required by applicable law or agreed to in writing,
+    software distributed under the License is distributed on an
+    "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+    KIND, either express or implied.  See the License for the
+    specific language governing permissions and limitations
+    under the License.
+
+
+
+Loading Packages in Python and Airflow
+======================================
+
+How does Python load packages?
+------------------------------
+Python's `sys <https://docs.python.org/3/library/sys.html>`_ package provides 
key variables and functions that are used
+or maintained by the interpreter. One such variable is ``sys.path``. It's a 
list of directories which is searched by
+Python during imports. for example,

Review comment:
       ```suggestion
   The list of directories from which Python tries to load the module is given 
by the variable: any:`sys.path`. Python really tries to `intelligently 
determine the contents of <https://stackoverflow.com/a/38403654>` __ of this 
variable, including depending on the operating system and how Python is 
installed.
   
   You can check the contents of this variable for the current Python 
environment by running an interactive terminal as in the example below:
   ```




----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
[email protected]


Reply via email to