We've captured the moments from FabCon & SQLCon that everyone is talking about, and we are bringing them to the community, live and on-demand. Starts on April 14th. Register now
Hello!
I need to load a Python script fro a file and execute it in Power Query.
The idea is:
let
Source = File.Content("python.py"), // or "somefile.txt"
Script = Python.Execute(Source),
.... following code
in
How to skip text splitting and get just the script code into Source?
Thanks in advance.
Solved! Go to Solution.
Usually Text.FromBinary ...
Note that this opens you to code injection attacks.
Note that the pyton script is supposed to return a dataframe.
Usually Text.FromBinary ...
Note that this opens you to code injection attacks.
Note that the pyton script is supposed to return a dataframe.
If you have recently started exploring Fabric, we'd love to hear how it's going. Your feedback can help with product improvements.
A new Power BI DataViz World Championship is coming this June! Don't miss out on submitting your entry.
| User | Count |
|---|---|
| 5 | |
| 3 | |
| 3 | |
| 2 | |
| 2 |
| User | Count |
|---|---|
| 10 | |
| 8 | |
| 7 | |
| 7 | |
| 5 |