I am running a script called mini_medsmaker.py, and in that script I am using subprocess.run to call another script called mini_mocks.py. I am using argparse to list my arguments, and this is the command I am running: subprocess.run(["python", "/path/to/mini_mocks.py", *vars(args).values()]) Whenever I run it, I get this error: Traceback (most recent call last): File "/work/mccleary_group/vassilakis.g/superbit-metacal/superbit_lensing/medsmaker/scripts/mini_medsmaker.py",… Read More Why won't subprocess.run take a list of arguments?
I am trying to get the code to ask the user to choose either k or lambda and then the code needs to ask for a scale parameter for lambda (if k was chosen) or a shape parameter for k (if lambda was chosen). From here, I need the code to ask the user for… Read More Different outputs depending on responses to multiple questions (Python)
I am trying to use Easy pill to make rank cards for discord.py. I have the problem that python cannot import the modules on ubuntu, and I get the error. This is at the top of the file to import from easy_pil import Editor, Canvas, Font, load_image, Text This is the error I get Traceback… Read More python 3.7 cannot import easy-pil