是否有办法将ys、st和rite的产出添加到变数中? 或者说,我做得更好:
I have a web address("www.example.com/whateverpage.html") and I want to create a variable which I get my script to click into so the end result must be:
HtmlAnchor[<a href="www.example.com/whateverpage.html">]
I tried using pageAnchor = HtmlAnchor[<a href=" ,PageLink, ">]
but it didn t work, because it outputs a space between the href and the PageLink variable. So I figured I was smart(which apparently I am far from :-) and used stdout.write to print with the spaces but when I output it in the script it looks perfect but when I try to save it to a variable and then print that variable I get (None, None, None).
我认为这样做的另一种方式是使用压抑手段来清除空间,但我需要一到三者之间的空间。
I m sure there is a simple way I m just not seeing, can anyone give me any pointers.. Thanks!