Похожие чаты

Hi folks, new to python coming from js land. i have

a cli script that asks user certain questions every time they interact with the script and creates a google spreadsheet based on the answers.

now couple questions:
1. i want to populate previously entered answers when user interacts with it. what are the storage options in python for a cli app? should i use a csv file in the local and load it from there or go for sqlite?

2. If i want to make a ui out of it and cater for non-technical folks who are not used to command line, what are the options i have? what are the options in python if i want to deploy it as a web app or package it as a windows app?

12 ответов

16 просмотров

1. sqlite 2. https://github.com/spyoungtech/FreeSimpleGUI

sqlite or even text file if it's enough in your case Tkinter is ugly as hell but it's builtin to python so you won't need to install anything

Mohammed-Zeeshan Автор вопроса

okay folks, my python app is ready. now where can i easily deploy? these are the imports i have import json import secrets from datetime import datetime import gspread from google.oauth2.credentials import Credentials from google_auth_oauthlib.flow import Flow from google.auth.transport.requests import Request from telegram import Update, InlineKeyboardButton, InlineKeyboardMarkup from telegram.ext import Application, CommandHandler, CallbackQueryHandler, MessageHandler, filters, ContextTypes, ConversationHandler

Mohammed Zeeshan
okay folks, my python app is ready. now where can ...

anywhere that can run Python. if you try to look for something free, really not much. better allocate some money, eg. USD 5 per month and get a Digital Ocean VPS

Mohammed Zeeshan
okay folks, my python app is ready. now where can ...

I mean, for a hobby bot, isn't it just as easy to keep it running from a laptop?

bittu
gcloud free

how Google Cloud is free?

bittu
very simpl.. but it's offtopic

if it is related to Python hosting in Google Cloud, it it on topic. I never came across Google Cloud is free, except maybe for free tier, but it will never free forever

Fayaz Khan
I mean, for a hobby bot, isn't it just as easy to ...

that laptop would need to run constantly. it makes more sense to host that bot somewhere

Sharuzzaman Ahmat Raslan
if it is related to Python hosting in Google Cloud...

yea i'm also not a friend of hosting it there. honestly, for me it makes most sense to host it on your own server. something that costs like $2 to $3 per month

Похожие вопросы

Обсуждают сегодня

Какой-то там пердун в 90-х решил, что есть какая-то разная типизация. Кого вообще это волнует?
КТ315
49
Hi. Do we have a raid bot? Why nobody doing raids on X? Even RH mentioned this and nobody paying attention...whats the channel for hex memes? If mods cant run raids just insta...
H
31
Подскажите, а есть vault lite или ченить такое?) А то нужен вольт для похода в вольт, но весит он ~500 мб) как-то многовато для парочки запросов ))
Alexandr Orloff
17
блеать, почему так?? где в роутере это исправляется?
Арсен Маньяков 🇦🇲
16
void terminal_scroll() { memmove(terminal_buffer, terminal_buffer + VGA_WIDTH, buffer_size - VGA_WIDTH); memset(terminal_buffer + buffer_size - VGA_WIDTH, 0, VGA_WIDTH); ...
Егор
47
🌊 Ocean Nodes Dashboard Update 🚀 Hey, Oceaners! First off, a massive round of applause 👏to all of you for the amazing engagement since we launched Ocean Nodes. In just a few ...
KreigDK | Never DM first🌊
3
Всем привет! Подскажите, пожалуйста, в чем ошибка? Настраиваю подключение к MySQL. Либы лежат рядом с exe. Все как по "учебнику"
Евгений
16
А можете как-то проверить меня по знаниям по ассемблеру?
A A
132
Здравствуйте! У меня появилась возможность купить книгу "Изучай Haskell во имя добра!". Но я где-то слышал, что эта книга устарела. Насколько это правда??
E
22
люди, которые используют flameshot, к вам вопрос. Можно-ли поставить хоткей на создание скриншота? В программе есть отдел "горячие клавиши", но там все для редактирования, скр...
ThunDer104
11
Карта сайта