user39602

0

votes
0

answer
3

views

How to import one databricks notebook into another?

I have a python notebook A in Azure Databricks having import statement as below: import xyz, datetime, ... I have another notebook xyz being imported in notebook A as shown in above code. When I run notebook A, it throws the following error: ImportError: No module named xyz Both notebooks are in...
user39602
2

votes
1

answer
76

views

Linking pointer arguments from a C function with a ctype argument in python script

The following is a simple code showing division of a number: //pointer.h #include int divide(int , int , int *); //pointer.c #include __declspec(dllexport) int divide(int a, int b, int *remainder) { int quot = a / b; remainder = a % b; return quot; } As shown in the pointer.c, remainder is a po...
user39602