[Tutor] SyntaxError: can't assign to literal while using ""blkid -o export %s | grep 'TYPE' | cut -d"=" -f3" % (fs)" using subprocess module in Python

Steven D'Aprano steve at pearwood.info
Thu Nov 8 05:20:13 EST 2018


On Wed, Nov 07, 2018 at 09:34:43PM -0500, Avi Gross wrote:
> It is easier to understand code when it is shown unaltered. The character
> "*" (as in asterisk) has plenty of meaning in many languages and especially
> in python. 
> 
> WHY is it being shown in your snippet at beginning and end?

As far as I can tell, it is Gmail being "helpful" (i.e. obnoxious) by 
adding markup to the plain-text version of the email, whenever you use 
so-called "Rich Text" (HTML formatting).



-- 
Steve


More information about the Tutor mailing list