I am in the process of teaching myself python 3 and I have been able to change vi so that tabs are 4 characters instead of 8. What I'm having a hard time with is figuring out how to change the output from a print() statement, within python script to a bash terminal screen, so that a '\t' character outputs 4 characters instead of 8.
I've tried looking at the documentation for python to see if there is a way of modifying how the print() statement works, but I haven't found anything that route. I've also tried to find a way of possibly adding something to the .bashrc or .bash_profile files to change this, but so far no luck. Any help would be greatly appreciated. -- You received this message because you are subscribed to the Linux Users Group. To post a message, send email to [email protected] To unsubscribe, send email to [email protected] For more options, visit our group at http://groups.google.com/group/linuxusersgroup
