我用 python 编写了一个脚本,它偶尔会向 Twitter 发送 tweet
它只使用一个名为 镊子的库。
问题:
我想主机上的服务器上,我没有权限安装任何东西的脚本
It would be great if I can just include it locally from the folder I've got it in.
从现在开始,我需要在我的文件顶部包括的是:
import tweepy
的 镊子文件夹(确实有一个 __init__.py
文件,我相信是重要的。
问题:
如果不安装该库,我如何使用它?
基本上我想用 import local_folder/tweepy/*
代替: import tweepy