Skip to content

Conversation

@jingweiz300
Copy link

sub "" and " " from data for response

shell = True,
stdout = subprocess.PIPE)
data = output.communicate()[0]
##替换data中的空格和反斜杠
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please update this to an English comment.

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Remove single charactor "" or single blank space.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants