freelanceprogrammers.org Forum Index » Delphi
get **kwargs elegantly into VarPyth calls?
Joined: 21 Dec 2006
Posts: 8
get **kwargs elegantly into VarPyth calls?
Is it possible somehow to feed keyword args elegantly into calls
#dcore.py
def func(*args,**kwargs):
print args,kwargs
//delhi:
dcore:=Import(`dcore`);
dcore.func(a:=5);
--output:
(5,)
->this just goes into args
Robert
All times are GMT
Page 1 of 1
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
Freelace Website Designer - Customer web design and software building.
Booking Calendar - reservation calendar script
Land Surveying - total station instruments and equipments
China Wholesale - Electronics Products
Character Studio - Tutorials and Help
Booking Calendar - reservation calendar script
Land Surveying - total station instruments and equipments
China Wholesale - Electronics Products
Character Studio - Tutorials and Help







