HTTPSConnection from http.client?

2015-11-17 Thread Alex Naumov
Hello, does anybody know how to create a HTTPS connections in python2 or python3? I tried second day to do that with http.client[1], but every time get error: from http.client import HTTPSConnection ImportError: cannot import name HTTPSConnection Where is HTTPSConnection located? Which module?

Re: HTTPSConnection from http.client?

2015-11-17 Thread Alex Naumov
On Tue, Nov 17, 2015 at 12:22 PM, Peter Otten <__pete...@web.de> wrote: > Alex Naumov wrote: > >> Hello, >> >> does anybody know how to create a HTTPS connections in python2 or python3? >> I tried second day to do that with http.client[1], but every time get >

Re: HTTPSConnection from http.client?

2015-11-17 Thread Alex Naumov
Hello Peter, thanks for your reply. >>> import ssl Works well in python2 and 3. Maybe somebody know another way to create a SSL connection (username/password)? I just need to log in and log out. Thanks, Alex On Tue, Nov 17, 2015 at 2:24 PM, Peter Otten <__pete...@web.de> wrote

newbie question about subprocess.Popen() arguments

2013-05-23 Thread Alex Naumov
Hello, I'm trying to call new process with some parameters. The problem is that the last parameter is a string that has a lot of spaces and different symbols like slash and so on. I can save it in file and use name of this file as parameter, but my question is: how to make it without additional

Re: newbie question about subprocess.Popen() arguments

2013-05-23 Thread Alex Naumov
Thank you very much, Peter! It works! On Thu, May 23, 2013 at 9:32 AM, Peter Otten __pete...@web.de wrote: Alex Naumov wrote: I'm trying to call new process with some parameters. The problem is that the last parameter is a string that has a lot of spaces and different symbols like slash

Your favorite test tool and automation frameworks

2012-08-27 Thread Alex Naumov
Hello everybody, I would like to ask about your favorite python test frameworks. I never used it before (beginner in testing) and would like to start to learn Unit- and GUI-testing. I look now at PyUnit/unittest and dogtail. Maybe someone can recommend something better or just share experiences?

send string to input of another process

2011-09-13 Thread Alex Naumov
Hello everybody, I'm looking for some solution, maybe someone of you can help me. I call another process via os.system(process) and it waits for some input. I have to write a comment (for example, like using svn or git), and after that to close input (for example, like :wq using vim). How can I