MainActivity
file:
package com.example.formandsql;
import androidx.appcompat.app.AppCompatActivity;
import android.os.Bundle;
import telebot # https://github.com/eternnoir/pyTelegramBotAPI | |
import requests | |
bot = telebot.TeleBot('BOT_TOKEN_HERE') # Create a bot on t.me/BotFather | |
r = requests.get('https://raw.githubusercontent.com/EbookFoundation/free-programming-books/master/books/free-programming-books-it.md') | |
f = r.text | |
f = f.splitlines() |
import telebot | |
from telebot import types | |
from flask import Flask, request | |
import requests | |
import psycopg2 | |
import re | |
import os | |
import sqlite3 | |