I don’t usually comment often, but I was a bit stunned after accidentally stumbling on your channel and when subscribing realising you don’t have an absolute horde of followers yet. Think something with the RU-vid algo still needs to click into place, cause this does not seem right. I like your pace and channel. Good quality and clear. Thanks for this tutorial. Keep them coming.
Hey Paul, thank you! I’m relatively new to making videos and just try to be helpful to as many people as possible. Thankfully my job pays well enough that I get to do this “for fun”, which sounds like a big privilege already!
Thank you Diego! :) subprocess should help you earn >60 mins of your life back once you start automating all the little things in your developer tool chain!
One question though… the “project_dir” variable - how did you add the forward slash and projectname variable without putting in quotes. Was expecting it to throw and error cause it’s like you’re dividing the path by projectname
I have a Python / Operating system question.. In windows, I can plot a file using type logfile | cantools plot inputfile.dbc I'd like to do the same using Python. I understand everyone uses Popen, but I have not been able to get it to Pipe the contents of logfile over to cantools (while also passing the Plot and filename arguments). The following did not work: args = ["plot inputfile.dbc"] p = Popen(['cantools'] + args, stdout=PIPE) Any suggestions?