Intellij: How do I run a single method from my python script instead of running main

后端 未结 0 1862
醉酒成梦
醉酒成梦 2021-01-03 21:24

I have written a script foo.py. In the method there is a method:

def bar(p1, p2):
  print("this is bar:" + p1 + ", " + p2)
<
相关标签:
回答
  • 消灭零回复
提交回复
热议问题