예제 #1
0
파일: interface.py 프로젝트: nltncsr/t
def tweet(status):
    if type(status) == str or type(status) == int:
        if len(status) <= 140:
            api.update_status(status)
        else:
            print('This tweet is too long!')
    else:
        print('This is not a valid status to tweet. Try to be human.')
예제 #2
0
def tweet(status):
	if type(status) == str or type(status) == int:
		if len(status) <= 140:
			api.update_status(status)
		else:
			print('This tweet is too long!')
	else:
		print('This is not a valid status to tweet. Try to be human.')
예제 #3
0
파일: interface.py 프로젝트: nltncsr/t
def continuing(status):
    if type(status) == str:
        api.update_status(status, api.me().status.id)
예제 #4
0
def continuing(status):
	if type(status) == str:
		api.update_status(status, api.me().status.id)