在Python中,如果你想在打印输出时不换行,可以使用 `end=''` 参数。下面是一个例子:
```python
print("Hello, World!", end='')
print(" This is a test.")
输出结果将会是:
```
Hello, World! This is a test.
注意,在Python 2.x中,你需要使用 `print` 语句,并在末尾添加逗号和空格来避免自动换行,例如:
```python
print "Hello, World!",
print " This is a test."
在Python 3.x中,你可以直接使用 `end=''` 参数,如上面的例子所示。