python | Unsorted

Telegram-канал python - Python

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

Subscribe to a channel

Python

It depends on the builtin function

Builtin functions are optimized

But if they are for multipurpose and you have a specific case where you can optimize for your case better than the builtin function, then you can write your own function

But most of the time it is good to use builtin functions

-- just my thoughts

Читать полностью…

Python

In a question, if we are given to write a user-defined function, is it advisable or not for a good programmer to use in-built functions ??

Читать полностью…

Python

Hey admins, if I want to paste my code, simply I have to click on the pasting service link and then paste my code there, and then recopy it and paste it here. I mean is that how pasting service works??

Читать полностью…

Python

Hello everyone, do you guys help with Django Rest Framework too? Im working with it right now

Читать полностью…

Python

https://wiki.python.org/moin/BeginnersGuide/NonProgrammers

Читать полностью…

Python

So first then search for that, here we can help you with the python part

Читать полностью…

Python

Do you already have access tt he API? because it is not public

Читать полностью…

Python

Yep but sometimes it's working and sometimes it's like that pretty weird

Читать полностью…

Python

The error is coming in toolmessage when i run the agent but it runs again and that time it successfully runs and provides the appropriate response but i have to make it work in single run

Читать полностью…

Python

Stop catching every exception and you will see what's going on. Especially where.

Читать полностью…

Python

Yep i tried that but it didn't work..the issue is i have to use **kwargs in my tool function and the method which it suggests with that i should make a schema and then use it but i have to use kwargs for some special cases

Читать полностью…

Python

Rule 5️⃣: Never post walls of text or screen photos. Use paste bins like https://dpaste.org, https://hastebin.com, https://bin.kv2.dev or your favorite one!

Читать полностью…

Python

Can anybody suggest some websites for good (challenging) problems for beginners in python???

Читать полностью…

Python

I don't think you understand return yet. Please read this article: https://python.land/introduction-to-python/functions

Читать полностью…

Python

You don't need to use return even if a function has parameters. You simply use it to return a value.

Читать полностью…

Python

If the question can be solved without using in-built functions but it may be larger...

Читать полностью…

Python

No, you paste there, save it and paste here the generated URL

Читать полностью…

Python

If it's python the yes. But we also have a Django specific group: @django

Читать полностью…

Python

still i not learn this,

Читать полностью…

Python

Hi everyone,
I'm new to computer programming but very passionate about programming. Could someone help me learn well through documentation and others? Thanks in advance

Читать полностью…

Python

I was looking for another alternative than the official becoz I can’t access meta api

Читать полностью…

Python

Hey guys how do I connect WhatsApp api with python

Читать полностью…

Python

No, according to error is not getting json

Читать полностью…

Python

It gets json string which is taken by query argument and since kwargs is there unused so its leading to too many arguments...i have to use both

Читать полностью…

Python

So when you are callig the tool you are sending the wrong params it expects a query dic but it gets two strings instead

Читать полностью…

Python

And have you considered what the error says?

Читать полностью…

Python

Hey folks...need some help

this is my tool function

https://hastebin.com/share/qaruguxawa.python


and this is error
ToolMessage(content='Error: ToolException("Too many arguments to single-input tool Tavily.\n                Consider using StructuredTool instead. Args: ['israel and iran war 2025', 'tvly-dev-8Wgjmvd1ZymvCvcX5FgsmT3AorWZ']")\n Please fix your mistakes.', name='Tavily',

Does anyone know how to fix it

Читать полностью…

Python

Yeah, I had a wrong assumption...Now it's clear. Thanks!!!

Читать полностью…

Python

My last question, plz ans it!!!
What someone means by returning a value...
I mean how do we coders get to know whether the code returns a value or not if we do not print it??

Читать полностью…

Python

Yeah, if there is a function which doesn't need any parameters, then it's working without return statement

Читать полностью…
Subscribe to a channel