About 50 results
Open links in new tab
  1. How to execute Python code from within Visual Studio Code

    May 1, 2015 · Code Runner isn't obsolete; it's a different tool for different requirements. Namely, it's faster to start in my experience and simpler -- good for quick checks and such while the Python …

  2. Running ansible-playbook using Python API - Stack Overflow

    Dec 21, 2014 · How can I run a playbook in python script? What is the equivalent of the following using ansible module in python: ansible -i hosts dbservers -m setup ansible-playbook -i hosts -vvvv -k …

  3. How do I simply run a python script from github repo with actions

    Dec 23, 2021 · I assume it's possible to schedule a python script to run every day for example, from my github repository. After searching, I've come up with the following main.yml file that resides in the …

  4. Running Python scripts through the Windows Command Line

    Apr 17, 2017 · A correctly installed Python 3.6 should associate .py [w] files with the py.exe launcher and pass command-line arguments. The py launcher handles running multiple versions of Python …

  5. Gitlab-ci does not recognize python - Stack Overflow

    Apr 2, 2021 · And to install runipy on the gitlab runner i need python. But when i want to run the .gitlab-ci.yml script it gets stuck at printing the python version because python is not recognized.

  6. How do I run DBT models from a Python script or program?

    Jan 13, 2023 · I have a DBT project, and a python script will be grabbing data from the postgresql to produce output. However, part of the python script will need to make the DBT run. I haven't found the …

  7. Best way to create a "runner" script in Python? - Stack Overflow

    Jan 23, 2009 · I have a bunch of Python modules in a directory, all being a derivate class. I need a "runner" script that, for each module, instantiate the class that is inside it (the actual class name can …

  8. Scheduling a .py file on Task Scheduler in Windows 10

    Another option is using Powershell to run your Python script, and point the Task Scheduler action to the Powershell script. Add a Powershell script, run_script.ps1, in the same directory as my Python script.

  9. Accessing query results from DBT in python script

    Oct 25, 2024 · I am doing a bunch of programmatic running of dbt models from a python script. Part of this is the need to access the results of a simple query to determine what to do next. The …

  10. Why Github Actions run successfully but Python script didn't execute as ...

    Jan 24, 2022 · actions/checkout@v2 : git checkout loads your repository's files (main branch by default) into the GitHub runner defined steps to install python, some libraries, and run your py script In …