135201
You will be muted until you read the rules. Read them! @Rules_for_Python A group about the Python programming language. Offtopic things go here: @pythonofftopic Resources to learn python: @pythonres Group for Hy: @hylang Selenium: @SeleniumPython
hi, anyone know how can i run telegram bot on the Cpanel?
Читать полностью…
Ask AI, installing some packages may help i dont know which exact
Читать полностью…
thank, but....
Traceback (most recent call last):
File "C:\Users\seva\PycharmProjects\pythonProject1\8.03.24.py", line 9, in <module>
dp = Dispatcher(bot)
^^^^^^^^^^^^^^^
TypeError: Dispatcher.init() takes 1 positional argument but 2 were given
Process finished with exit code 1
maybe I have something not installed in pycharm? everything used to work fine, but a year later I decided to create something again and came across this. reinstalled picharm, looked at many forums with this problem, but did not find a solution:(
This is a Python group for people who want to learn Python. We do not reverse engineer websites/web services.
Читать полностью…
yeah I know! I was asking because I'm trying to figure out if their backend is written in Python (like using FastAPI for the audio streaming) or if they had to use Go/Rust. Usually handling websockets for voice in Python has way more latency than this, so I wanted to see if any Python devs here knew how they optimized it.
Читать полностью…
yo does anyone know what stack mosaicnow.xyz is using? found it yesterday while looking for c.ai alternatives without the annoying filters. the text chat is insanely fast but im trying to figure out what LLM they use under the hood cuz the memory is actually holding up. they also threw in a voice mode which is kinda sick. anyone reverse engineered this yet?
Читать полностью…
https://support.cpanel.net/hc/en-us/articles/360049921014-How-do-I-set-up-a-Python-web-application
Читать полностью…
That depends on your provider and if they allow running python code...assuming the bot is in python
Читать полностью…
This is not a Python specific question, please delete your offtopic message, move to @PythonOfftopic and ask there.
Читать полностью…
If you are serious about getting help you don't take a single line from the whole output you got from Python but share the whole output. Mind rule #5.
Читать полностью…
It's a very basic issue that people who have little experience with Python understand. It suggests your code wasn't written by you and now here you are being stuck. But Saurabh is right. If that same code worked before but doesn't anymore, the library you use has changed and the code needs to be adapted. It's the kind of issue you experience by using AI without knowing much about coding.
Читать полностью…
import asyncio
from aiogram import Bot, Dispatcher
bot = Bot(token=" put your token here ")
dp = Dispatcher()
async def main():
# Pass the bot instance here instead
await dp.start_polling(bot)
if name == "main":
asyncio.run(main())
Maybe this would help
Okok thnks for information btw if you can develop that script then lmk
Читать полностью…
Please send me the website or software. I want to try it.
Читать полностью…
3️⃣ Be considerate!
1) The groups are tidy and focused on their topic! No off-topic conversations or messages! For off-topic conversations, use the off-topic group!
2) No flooding! That includes one word messages or repeating messages for attention!
3) No SPAM!
4) Don't abuse the bot!
5) No useless emojis! Of which most will be considered useless!
6) No nonsense messages!
7) No faulty user-bots!
8) Don't send useless messages like "Hi", "Hello", "How are you?", "Where are you from?", "I'm new here!".
9) No necro-posting! That is replying to old messages and trying to resurrect conversations!
10) No cross-posting! That is sending the same request or message in multiple groups.
11) Don't ask for support nor provide support for exams, homework, interviews or assignment requests/cheats/solutions, a.k.a. spoon-feeding!
12) Don't use names that hinder chat readability!
13) Don't discuss warns or bans in any group other than the meta group!
14) Don't copy and paste answers from ChatGPT or similar AI, neither suggest to use them!
15) Don't delete your messages after getting replies, avoid leaving context-less replies from other users
There are now laws here, just rules. /channel/rules_for_python/14
Читать полностью…