Russ Posted August 28, 2016 Share Posted August 28, 2016 Is there a link that indicates what version of python, and what python modules, have been installed on the server? Also, I any information on how to run python scripts from my domain would be very helpful. I have some ".py" files that I have on my laptop that I would like to run from my site, and imagine some modifications are necessary to run from the server? Thanks in advance for any help. Quote Link to comment Share on other sites More sharing options...
TCH-Bala Posted August 28, 2016 Share Posted August 28, 2016 Please open a ticket to our support department, our techs will check it out and get back to you Quote Link to comment Share on other sites More sharing options...
okayservers Posted March 9, 2017 Share Posted March 9, 2017 I wanted to test if a key exists in a dictionary before updating the value for the key. I wrote the following code: if 'key1' in dict.keys():print "blah"else:print "boo" I think this is not the best way to accomplish this task. Is there a better way to test for a key in the dictionary for python? Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.