Odoo Help

Welcome!

This community is for beginners and experts willing to share their Odoo knowledge. It's not a forum to discuss ideas, but a knowledge base of questions and their answers.

2

args and *agrs [Closed]

By
Vardan
on 2/22/13, 8:57 AM 1,154 views

The Question has been closed for reason: off-topic or not relevant

by
Guewen Baconnier - Software Developer, Camptocamp
on 02/22/2013 09:41:55

What is the difference between args and *agrs?

I'm not sure what you are talking about (since you didn't provide any information or example), but it looks like a python related question.

Antonin Bourguignon (abo)
on 2/22/13, 9:13 AM
1

Guewen Baconnier - Software Developer, Camptocamp

--Guewen Baconnier - Software Developer, Camptocamp--
2658
| 6 7 8
Lausanne, Switzerland
--Guewen Baconnier - Software Developer, Camptocamp--

Guewen works at Camptocamp as an Odoo developer since 2010. He is the lead developer of the Odoo Connector framework and the Magento Connector. He is a delegate member of the OCA, a committer and an active contributor to the OCA projects.

 

Guewen Baconnier - Software Developer, Camptocamp
On 2/22/13, 9:15 AM

This is more a question about Python than OpenERP.

In summary, args is one parameter which receive one argument, when *args can receive an arbitrary number of arguments and **kwargs receive an arbitrary number of keyword arguments.

But you better have to refer to the python documention or specialized sites like StackOverflow

Thanx a lot Guewen Baconnier

Vardan
on 2/22/13, 9:27 AM

i closed it

Vardan
on 2/22/13, 9:28 AM

About This Community

This community is for professionals and enthusiasts of our products and services. Read Guidelines

Question tools

0 follower(s)

Stats

Asked: 2/22/13, 8:57 AM
Seen: 1154 times
Last updated: 3/16/15, 8:10 AM