WEBVTT 00:01.180 --> 00:09.970 When we restarted Tibetan interpreter the functions and variables are lost like I can not use mine Max 00:10.600 --> 00:15.750 which we have created in the previous radio. 00:15.950 --> 00:23.300 It's a problem as we now want to use a function that we have already written in multiple programs without 00:23.300 --> 00:25.660 copying its definition each time. 00:26.090 --> 00:33.740 To solve this as a way to put the definition of the function in a file and import them whenever needed 00:34.560 --> 00:46.040 such file this card module in order to import a function the dot by file must be in any directory present 00:46.040 --> 00:46.920 in system. 00:46.980 --> 00:49.380 But see 00:52.010 --> 00:52.720 this. 00:53.850 --> 01:03.340 But so our fine Max and our pipeline must be in any of these directories 01:06.820 --> 01:07.870 so if we do this 01:12.350 --> 01:12.720 that 01:15.920 --> 01:28.250 often is the fine Max start by file from learn better in order to assist. 01:28.530 --> 01:28.860 But 01:44.170 --> 01:44.340 a 01:47.560 --> 01:50.700 base you know when 01:53.740 --> 01:55.630 I tried to order this 02:01.380 --> 02:15.280 so I can use this function again fine Max dot by max 6 so 6 is the max 02:18.540 --> 02:20.010 let's create another function 02:22.960 --> 02:31.440 and I assure you older imported def extra are more like 02:37.280 --> 02:42.210 X less y. 02:43.270 --> 02:52.060 Subtract X Y return x minus y 02:56.100 --> 02:59.430 multiply x or y 03:03.840 --> 03:28.170 return x y that y x y return x do I get BO Y so we have created this file and we are saving it as 03:33.770 --> 03:34.370 later 03:38.180 --> 03:49.860 but this is a file and as I told you that I will not buy a file must be available. 03:51.250 --> 03:57.730 In any of these directories we can do one more thing. 03:57.730 --> 04:03.310 We can add or learn underscored by border 04:06.300 --> 04:09.430 to sis not by by 04:12.930 --> 04:13.210 then 04:17.000 --> 04:18.990 the score 04:34.260 --> 04:42.950 says but the rudest a board calculator. 04:48.760 --> 04:51.080 Sorry I think I haven't declared it. 04:54.310 --> 05:04.580 Right or the. 05:05.360 --> 05:10.030 And five six. 05:10.920 --> 05:11.180 Eleven 05:14.280 --> 05:20.800 and you can use any of the function and calculator the 05:28.940 --> 05:41.090 know we can rename this calculator module also at the time of import saying import calculator as 05:46.130 --> 05:49.920 at then 0 1 05:54.310 --> 05:59.220 we can also import a specific function from the calculator. 06:01.060 --> 06:05.280 This thing or from 06:13.010 --> 06:13.780 later 06:16.300 --> 06:17.800 or at 06:39.990 --> 06:48.450 so that's how the order function by specifying the module name dot function name.