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
It's just for learning about decorator injection and manipulation purposes.
My english is bad too, lol.
Actually I never had written parameters on an inner function of a decorator (wrapper), except writing out *args and **kwargs, so I was thinking how does one write parameters correctly on an inner function without messing up. Mypy was telling me something but i didn't understand and i do not know if there's another way of doing this, although it doesn't raise an error on not putting '/' if i disable extra checks flag.
Читать полностью…
i understood you want to do something on the wrapper's parameters
Читать полностью…
If any body wants to start, python coding practice or building project.
Let's connect?
Rules of conduct. number 8
/channel/rules_for_python
Adim please i need pythone software or appulication.can you sent to me
Читать полностью…
You need a server
https://github.com/python-telegram-bot/python-telegram-bot/wiki/Where-to-host-Telegram-Bots
Hello, good morning. I want a Telegram bot for warehouse management. Can you please advise me on how to make one?
Читать полностью…
Why not just make a database like a normal person?
Excell is not a database
Either way, expose that file/database on the network and access it using IP addresses
So a mindset problem not specific to Python. Can’t fix that in 24 hours regardless
Читать полностью…
You could be in 8th 38th or 100th, but you still need preparation for an exam. Alternatively you could take the exam and if you do not pass, get serious about your next attempt
Читать полностью…
and over all... why did you added the "age" parameter if u don't use it inside the called function?
i'm sorry for my english
Nevermind, it was an --extra-checks flag issue with mypy enabled by --strict flag.
Code: https://hastebin.com/share/ayucutover.php
Hello everyone, i am trying to create a decorator which calculates the age based length of the name.
But i have never had added parameters explicitly to the wrapper function (except for *args, **kwargs) ever while writing decorators.
Now with mypy, it complains if i do not put '/' marker before *args/**kwargs in wrapper (and i don't want to make them positional-only).
Is there a proper way to write parameters as-is without accessing raw args/kwargs while being type-safe?
1. Use BotFather to create the bot token, and make sure to save it
2. Write the bot's code
3. Consider using SQLite if it's about stock management
Yes, bots run only when the Python program is running (which is impossible to do 24/7). So it's best to deploy your bot online using cloud hosting services.
The code is also prepared in Python. How do I upload it so that the robot can work?
Читать полностью…
Guys, qq..
If you have Posts and then you can comment in a post in your application.. how would you set the comments up?
Htmx polling or websockets channels?
This is not a Python specific question, please delete your offtopic message, move to @PythonOfftopic and ask there.
Читать полностью…
You can’t be serious ? What were you going until now then ?
Читать полностью…