Ok, I'm a very-well-versed web developer in PHP and more. I've got a new job concentrating on front-end coding, but I have to cross over into some back-end as well, but based in Python not PHP. I'm a seasoned programmer but new to python so expect me to come back with more questions =) For now:
PHP has functions that let me easily see the contents of any array, object, etc, etc. Any variable in fact. I am speaking of print_r and var_dump . I am aware that at the interactive prompt I can just type a variable name and generally get the same thing, but how do I do that from within a script?