![]() ![]() We are trying to open localhost: in IPython shell which is not possible. Why there is an error□□□? The answer is quite simple. After execution, we’ll encounter an error as shown below. You can check the installation by executing !qbittorrent-nox. Till now, a significant portion of our task has been accomplished□. You can install it by executing, !add-apt-repository ppa:qbittorrent-team/qbittorrent-stable -y !apt install qbittorrent-nox Now, you have to install the command-line version of BitTorrent (we’ll be using qBitTorrent). I know, I know, why the hell do we need to use these sign and what do these signs stand for? In layman terms, ! is us to execute shell commands in IPython while %cd is a built-in function of IPython, also knows as magic function. Here, you can see that for changing as well as for creating a directory, we are using either % or ! sign as a prefix. Now, we want to change our current directory to My Drive and create a new folder to store all our downloaded data. Pro Tip: You can use Ctrl+Enter or ⌘+ Enter to execute the current cell. %cd '/content/drive/My Drive' !mkdir 'Torrent' ![]() Changing, moving and creating directories. Here, with these lines of code, we’ll be able to mount Google Drive in Colab. from lab import drive drive.mount('/content/drive/') Tip: Use the University or Work drive ID because those accounts may have unlimited (if not, large) storage capacity. Since Google Colab uses IPython, some of the terminal command would be different. Now, switch to the website ( Google Colab) and create a new notebook named qBitTorrent CLI (you can use whatever name you wish), but I’ll be stick to qBitTorrent.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |