Attachment 'TwitterStock_Version3.py'
Download 1 ...
2 import bigboard.libbig as libbig
3 ...
4 class TwitterStock(Stock):
5
6 def __init__(self, *args, **kwargs):
7 ...
8 self._add_more_button(self.__on_more_button)
9 ...
10
11 ...
12
13 def __on_more_button(self):
14 if self.__twitter_account:
15 url = "http://twitter.com/home"
16 else:
17 url = "http://twitter.com"
18 libbig.show_url(url)
Attached Files
To refer to attachments on a page, use attachment:filename, as shown below in the list of files. Do NOT use the URL of the [get] link, since this is subject to change and can break easily.You are not allowed to attach a file to this page.