0
は、私は次の形式私はVimを使って文を印刷するには、コメントを作りたいは、印刷機能にコメントを変更する方法のvimに
# some description of the code
for item in items:
do something with the items
でPythonコードを持っています。ここで
:%s/#\s*\(.*\)/print('\1')/
:
print('some description of the code')
for item in items:
do something with the items
何を試しましたか? – romainl