
I am a very new to python and have a small question.. I have a function: set_time_at_next_pps(self, *args, **kwargs) but don't know how to use it... Askign for your help please. Cheers, Zoh -- View this message in context: http://old.nabble.com/Access-a-function-tp29008798p29008798.html Sent from the Python - python-dev mailing list archive at Nabble.com.

On 28/06/2010 19:09, Zohair wrote:
I am a very new to python and have a small question..
I have a function: set_time_at_next_pps(self, *args, **kwargs) but don't know how to use it... Askign for your help please.
Hi Zoh, This mailing list is for the development *of* Python, not for questions about developing *with* Python. You should ask your question on a mailing list / newsgroup like python-list or python-tutor. python-list is available via google groups: https://groups.google.com/group/comp.lang.python/topics You haven't given enough information to answer the question however. The first argument 'self' means that the function is probably a method of a class, and should be called from a class instance. The *args / **kwargs means that the function can take any number of arguments or keyword arguments, which doesn't tell us anything about the function should be used. You can find out more on Python functions in the tutorial: http://docs.python.org/tutorial/controlflow.html#more-on-defining-functions All the best, Michael Foord
Cheers,
Zoh
-- http://www.ironpythoninaction.com/ http://www.voidspace.org.uk/blog READ CAREFULLY. By accepting and reading this email you agree, on behalf of your employer, to release me from all obligations and waivers arising from any and all NON-NEGOTIATED agreements, licenses, terms-of-service, shrinkwrap, clickwrap, browsewrap, confidentiality, non-disclosure, non-compete and acceptable use policies (”BOGUS AGREEMENTS”) that I have entered into with your employer, its partners, licensors, agents and assigns, in perpetuity, without prejudice to my ongoing rights and privileges. You further represent that you have the authority to release me from any BOGUS AGREEMENTS on behalf of your employer.

Hello. We'are sorry but we cannot help you. This mailing list is to work on developing Python (fixing bugs and adding new features to Python itself); if you're having problems using Python, please find another forum. Probably python-list (comp.lang.python) news group/mailing list is the best place. See http://www.python.org/community/lists/ for other lists/news groups/fora. Thank you for understanding. On Mon, Jun 28, 2010 at 11:09:35AM -0700, Zohair wrote:
I am a very new to python and have a small question..
I have a function: set_time_at_next_pps(self, *args, **kwargs) but don't know how to use it... Askign for your help please.
Cheers,
Zoh -- View this message in context: http://old.nabble.com/Access-a-function-tp29008798p29008798.html Sent from the Python - python-dev mailing list archive at Nabble.com.
_______________________________________________ Python-Dev mailing list Python-Dev@python.org http://mail.python.org/mailman/listinfo/python-dev Unsubscribe: http://mail.python.org/mailman/options/python-dev/phd%40phd.pp.ru
Oleg. -- Oleg Broytman http://phd.pp.ru/ phd@phd.pp.ru Programmers don't die, they just GOSUB without RETURN.

Of course I concur with the two posters above me, but in order to advertise for my own shop... If you're stuck with a lot of newbie questions like these you might want to try #python (the IRC channel on irc.freenode.net). You're more likely to get quick successive responses there than on other media (which are more suitable for bigger, more complex questions). cheers Laurens
participants (4)
-
Laurens Van Houtven
-
Michael Foord
-
Oleg Broytman
-
Zohair