Skip to content Skip to sidebar Skip to footer
Showing posts with the label Return

Why Isn't This Code Returning These Lists? Does This Have To Do With Using 'return' Rather Than 'print'?

So this is my code, when I had everything set to 'print' things, the code worked, but now w… Read more Why Isn't This Code Returning These Lists? Does This Have To Do With Using 'return' Rather Than 'print'?

How To Handle Invalidschema Exception

I've written a script in python using two functions within it. The first function get_links() f… Read more How To Handle Invalidschema Exception

How To Print Statement After Return In Function?

Here is the code as I currently have it: def F(n): t=time.time() if n==0: return (0… Read more How To Print Statement After Return In Function?

Python3 Exec, Why Returns None?

When the code below this text, and returns the result None why? with open('exx.py', 'rb… Read more Python3 Exec, Why Returns None?

Python Threading Return Values

I am new to threading an I have existing application that I would like to make a little quicker usi… Read more Python Threading Return Values

How Do Scan A Script For Return Values From A Upper Script In Python?

import os import pdb os.system('ToBuildOrNot.py MSS_sims') for output in os.system: … Read more How Do Scan A Script For Return Values From A Upper Script In Python?

Python Return Dictionary

I am trying to create a dictionary of user input. This dictionary takes any user input (ex. 'I … Read more Python Return Dictionary

Why Does My Code Not Return Anything

fairly new to programming and trying to learn Python at the moment. I have this code and I don'… Read more Why Does My Code Not Return Anything