Friday, February 2nd, 2018 | Coding
Last Modified: 2024-04-25
Argv is default for incoming command line arguments, this applies to Python as well.
$a = $argv; $b = array(); if (count($a) != 0) { foreach ($a as $arg){ list($x,$y) = explode('=', $arg); $b["$x"] = $y; } $message = $b['message']; $key = $b['key']; }
Input Action Output
A collection of snippets and links that have proven useful for development, programming, ColdFusion, Javascript, jQuery, PHP, Python, Dell, Minecraft, Apple, Mac, Windows, LINUX, Raspberry Pi, Adobe, CSS, and HTML.
©2024 Input Action Output