1

I need to write a python code which enables me to verify whether the received SSL certificate from a website is valid or not. the code snippet is gonna be executed in windows platform. I've been using Editra to code python recently which is equipped with PyStudio plugin. I got confused if it's a possible idea or not. Does anyone have any idea how to make it work?

3
  • 3
    So... what's your question again? Commented Jul 20, 2012 at 7:35
  • What is the better way to implement a snippet of code in windows to parse, extract and check validity of SSL certificates provided by websites? Does this make sense at all? Commented Jul 20, 2012 at 7:42
  • May I suggest you edit your question to be more like your comment, and your question title to mention SSL and websites... It'll get picked up more easily and would be less ambiguous Commented Jul 20, 2012 at 7:44

3 Answers 3

3

If you want to distribute a Python script on Windows, (which doesn't have Python installed by default), you can use py2exe. py2exe converts your Python script into an executable that Windows users can run without them needing to install Python.

Sign up to request clarification or add additional context in comments.

1 Comment

Cool - I didn't know this one.
0

Consider Python XY if you are concerned about a good Python installation under windows including a lot of helpful, preconfigured packages.

Comments

0

Assuming it's just a plain script you want to execute, you can do so by invoking the python runtime in the command line, and issuing it to execute the script.

For instance:

python myscript.py

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.