Calling a Python script from another Python script
-
I'm trying to call a Python script that takes argv[0] from my Python script. I'd rather not mess with the script I'm calling much. Is there a course you have that you can recommend for me? I have older programming knowledge, but not much experience with Python. And I can't really afford the time to read through a lot of Python courses because this is now part of my job. So far, the listing of courses available don't make it obvious where to find this course.
-
We have a large Python Fundamentals course and then a Python Programming course that is smaller. You can see the lessons covered in each using our videos area.
If these courses do not provide specifically what you need - you might want to check out some of the great Python learning sites that are out there - like Real Python (for example). https://realpython.com/run-python-scripts/
-
I can see I didn't fully explain what I was looking for. I'm currently taking courses in Python Fundamentals here, but I do not see anything anywhere in the Python listings showing a course that might cover this. I need to find the proper code to implement calling a Python script from another Python script. I'll try realpython.com, but was hoping there would be a course that covers it here. Search did not help.
-
If you're looking to have a course added here, you might want to click the chat bubble on the Dashboard page and suggest it. They'll look into it and, if there's a need, they'll add it.
-
Not sure if this is what you want, but I found this on Google: https://datatofish.com/one-python-script-from-another/