Apr-15-2022, 08:12 PM
Hi all,
Trying to concat this variable with strings but it is addind a line in output:
Trying to concat this variable with strings but it is addind a line in output:
>>> del v_first_cell_name >>> v_first_cell_name=subprocess.check_output("cat /tmp/p_f | sort -u | head -1", shell=True); >>> v_first_cell_name=("physicaldisks_"+v_first_cell_name+".xml") >>> print(v_first_cell_name) physicaldisks_CELADM04 .xml >>>How to not ADD the ".xml" as new line, I mean, I want to add in same like to stay like physicaldisks_CELADM04.xml