Top "Arguments" questions

An argument is a value passed to a function, procedure, or command line program.

WooCommerce [product_categories] shortcode - Missing displayed sub-categories

I am using WooCommerce plugin in WordPress, and I have added 20 sub-categories in one parent category. When I want to …

wordpress pagination woocommerce arguments shortcode
Python multiprocessing keyword arguments

Here is a simple example of using keyword arguments in a function call. Nothing special. def foo(arg1,arg2, **args): …

python arguments multiprocessing keyword-argument
How do I pass arguments to a Java instrumentation agent?

How do I pass arguments to a java.lang.instrument instrumentation agent? The documentation simply states: -javaagent:jarpath[=options] What …

java arguments instrumentation javaagents
calling rsync from python subprocess.call

I'm trying to execute rsync over ssh from a subprocess in a python script to copy images from one server …

python arguments call subprocess rsync
Can I have required named parameters in Ruby 2.x?

Ruby 2.0 is adding named parameters, like this: def say(greeting: 'hi') puts greeting end say # => puts 'hi' say(greeting: …

ruby arguments ruby-2.0 ruby-2.1
TypeError: __init__() takes 2 positional arguments but 4 were given

My code is giving the error as TypeError: __init__() takes 2 positional arguments but 4 were given. tried searching for an extra …

python arguments positional-parameter
class, dict, self, init, args?

class attrdict(dict): def __init__(self, *args, **kwargs): dict.__init__(self, *args, **kwargs) self.__dict__ = self a = attrdict(x=1, y=2) …

python class arguments self
How to send a Yes parameter to overwrite a schedule from command line in vb.net

I'm developing and application and I'm creating scheduled tasks from command line using vb.net. When I'm trying to create …

vb.net command arguments line windows-task-scheduler
Java: how to get arguments passed to method that called this method?

In java, it is possible to get the class and method that called the current method (the method in which …

java debugging arguments stack-trace inflection
Why are the arguments to atan2 Y,X rather than X,Y?

In C the atan2 function has the following signature: double atan2( double y, double x ); Other languages do this as …

math arguments conventions