From raukadah at gmail.com Thu Jul 1 11:22:36 2021 From: raukadah at gmail.com (Chandan Kumar) Date: Thu, 1 Jul 2021 20:52:36 +0530 Subject: [Chennaipy] [X-POST] PyCon India 2021 Keynote: Luciano Ramalho Message-ID: Hello Everyone, We are happy to announce Luciano Ramalho as our next Keynote speaker for PyCon India 2021. About Luciano Ramalho --------------------------------- Luciano Ramalho is the author of Fluent Python (O'Reilly), published in 9 languages. He's been a professional Python programmer since 1998, and he just finished writing the Fluent Python, Second Edition, covering Python 3.9 and 3.10?to be released in Q4, 2021. Ramalho is a Principal Consultant at ThoughtWorks, and co-founder of Garoa.net.br, a hackerspace in S?o Paulo, Brazil. Please help us spread this message by sharing it on your social networks as widely as possible. Thank you Tweet: https://twitter.com/pyconindia/status/1410587645831376905 Thanks, Chandan Kumar From devsurveys at yahoo.com Sun Jul 4 22:17:16 2021 From: devsurveys at yahoo.com (Dev Survey) Date: Mon, 5 Jul 2021 02:17:16 +0000 (UTC) Subject: [Chennaipy] Anonymous Survey : Developer Tools, inputs requested References: <2131755963.1312814.1625451436446.ref@mail.yahoo.com> Message-ID: <2131755963.1312814.1625451436446@mail.yahoo.com> I have attached a survey form so that I can better understand what kind of tools developers like to have to facilitate their workflows on a day to day basis.? No login required, anonymous survey, and takes no more than 5-10 minutes.? Developer Tools Survey To confirm this is?not spam, please check the links via :?https://www.phishtank.com/ Shortened URL?:?https://forms.gle/vTrFNUhfFcqznSRr9 Full URL?:?https://docs.google.com/forms/d/e/1FAIpQLSePzAwRUsem1wunWWtXr_FoX2viruIfoyb744zGufX5jBxH8A/viewform?usp=sf_link | | | | | | | | -------------- next part -------------- An HTML attachment was scrubbed... URL: From nithyadurai87 at gmail.com Tue Jul 6 02:18:06 2021 From: nithyadurai87 at gmail.com (Nithya Duraisamy) Date: Tue, 6 Jul 2021 11:48:06 +0530 Subject: [Chennaipy] Query on numpy.logspace() in Python Message-ID: Hello all, I am exploring logspace at numpy. reading here https://www.geeksforgeeks.org/numpy-logspace-python/ import numpy as geek # base = 11 print("B\n", geek.logspace(2.0, 3.0, num=5, base = 11)) The above code gives below output [ 121. 220.36039471 401.31159963 730.8527479 1331. ] Why results are not between 2 and 3 and above 100 ? How to get these values manually using any calculator? Please help to understand this. Thanks. Nithya From tstnarayan at gmail.com Tue Jul 6 02:25:40 2021 From: tstnarayan at gmail.com (Thirunarayanan Srinivasan) Date: Tue, 6 Jul 2021 14:25:40 +0800 Subject: [Chennaipy] Query on numpy.logspace() in Python In-Reply-To: References: Message-ID: Hi, It?s because you are looking at log space. Try linspace if you want it in between the numbers. Rgds On Tue, 6 Jul 2021 at 2:18 PM Nithya Duraisamy wrote: > Hello all, > > I am exploring logspace at numpy. > > reading here > https://www.geeksforgeeks.org/numpy-logspace-python/ > > > import numpy as geek > # base = 11 > print("B\n", geek.logspace(2.0, 3.0, num=5, base = 11)) > > The above code gives below output > > [ 121. 220.36039471 401.31159963 730.8527479 1331. > ] > > > Why results are not between 2 and 3 and above 100 ? > > How to get these values manually using any calculator? > > Please help to understand this. > > Thanks. > Nithya > _______________________________________________ > Chennaipy mailing list > Chennaipy at python.org > https://mail.python.org/mailman/listinfo/chennaipy > -------------- next part -------------- An HTML attachment was scrubbed... URL: From nithyadurai87 at gmail.com Tue Jul 6 03:17:44 2021 From: nithyadurai87 at gmail.com (Nithya Duraisamy) Date: Tue, 6 Jul 2021 12:47:44 +0530 Subject: [Chennaipy] Query on numpy.logspace() in Python In-Reply-To: References: Message-ID: > > It?s because you are looking at log space. Try linspace if you want it in between the numbers. What is mean by log space? Where to read about that? From gprkumar at gmail.com Tue Jul 6 04:26:19 2021 From: gprkumar at gmail.com (rajeshkumar p) Date: Tue, 6 Jul 2021 13:56:19 +0530 Subject: [Chennaipy] Query on numpy.logspace() in Python In-Reply-To: References: Message-ID: Hi, The below snippet will add few info: >>> import numpy as np >>> np.logspace(2, 4, num=1, base=10) array([100.]) # Our result is 10**2 >>> np.logspace(2, 4, num=2, base=10) array([ 100., 10000.]) # Our result is 10**2, 10**3 >>> np.logspace(2, 4, num=3, base=10) array([ 100., 1000., 10000.]) # Our result is 10**2, 10**3, 10**4 >>> np.logspace(2, 4, num=4, base=10) array([ 100. , 464.15888336, 2154.43469003, 10000. ]) >>> np.linspace(2, 4, num=4) array([2. , 2.66666667, 3.33333333, 4. ]) >>> np.power(10, np.linspace(2, 4, num=4)) array([ 100. , 464.15888336, 2154.43469003, 10000. ]) ### Observation: ### np.power(10, np.linspace(2, 4, num=4)) is the same as np.logspace(2, 4, num=4, base=10). Hope this helps. regards, Rajeshkumar P On Tue, 6 Jul 2021 at 12:48, Nithya Duraisamy wrote: > > > > It?s because you are looking at log space. Try linspace if you want it > in between the numbers. > > > What is mean by log space? > > Where to read about that? > _______________________________________________ > Chennaipy mailing list > Chennaipy at python.org > https://mail.python.org/mailman/listinfo/chennaipy > -------------- next part -------------- An HTML attachment was scrubbed... URL: From nithyadurai87 at gmail.com Tue Jul 6 06:53:11 2021 From: nithyadurai87 at gmail.com (Nithya Duraisamy) Date: Tue, 6 Jul 2021 16:23:11 +0530 Subject: [Chennaipy] Query on numpy.logspace() in Python In-Reply-To: References: Message-ID: Thanks Rajeshkumar. ????., 6 ????, 2021, ???????? 1:56 ?????, rajeshkumar p ????????: > > > Hi, > > The below snippet will add few info: > > >>> import numpy as np > >>> np.logspace(2, 4, num=1, base=10) > array([100.]) > > # Our result is 10**2 > > >>> np.logspace(2, 4, num=2, base=10) > array([ 100., 10000.]) > > # Our result is 10**2, 10**3 > > > >>> np.logspace(2, 4, num=3, base=10) > array([ 100., 1000., 10000.]) > > # Our result is 10**2, 10**3, 10**4 > > > >>> np.logspace(2, 4, num=4, base=10) > array([ 100. , 464.15888336, 2154.43469003, 10000. ]) > > > > >>> np.linspace(2, 4, num=4) > array([2. , 2.66666667, 3.33333333, 4. ]) > >>> np.power(10, np.linspace(2, 4, num=4)) > array([ 100. , 464.15888336, 2154.43469003, 10000. ]) > > > ### Observation: > ### np.power(10, np.linspace(2, 4, num=4)) is the same as np.logspace(2, 4, num=4, base=10). > > Hope this helps. > > regards, > Rajeshkumar P > > On Tue, 6 Jul 2021 at 12:48, Nithya Duraisamy wrote: >> >> > >> > It?s because you are looking at log space. Try linspace if you want it in between the numbers. >> >> >> What is mean by log space? >> >> Where to read about that? >> _______________________________________________ >> Chennaipy mailing list >> Chennaipy at python.org >> https://mail.python.org/mailman/listinfo/chennaipy > > _______________________________________________ > Chennaipy mailing list > Chennaipy at python.org > https://mail.python.org/mailman/listinfo/chennaipy From nithyadurai87 at gmail.com Tue Jul 6 06:55:55 2021 From: nithyadurai87 at gmail.com (Nithya Duraisamy) Date: Tue, 6 Jul 2021 16:25:55 +0530 Subject: [Chennaipy] Re module in python Message-ID: Hi All, Can anyone of your please help me to fix my code using re module? import os import re txt=['199.72.81.55 - - [01/Jul/1995:00:00:01 -0400] "GET /history/apollo/ HTTP/1.0" 200 6245', 'unicomp6.unicomp.net - - [01/Jul/1995:00:00:06 -0400] "GET /shuttle/countdown/ HTTP/1.0" 200 3985', '199.120.110.21 - - [01/Jul/1995:00:00:09 -0400] "GET /shuttle/missions/sts-73/mission-sts-73.html HTTP/1.0" 200 4085'] l1= [] for i in range(0, len(txt)): s=txt[i] l1 += re.findall('"(.*?)"', s) print(l1) l2= [] for i in range(0, len(txt)): s=txt[i] l2 += re.findall(' (\d+ [^\s]+)', s) print(l2) I want l1 & l2 to be printed like below: Expected output: [('GET','/history/apollo/ HTTP/1.0'),('GET','/shuttle/countdown/ HTTP/1.0'),('GET','/shuttle/missions/sts-73/mission-sts-73.html HTTP/1.0')] ['6245','3985','4085'] But it is printing like below: Actual output: ['GET /history/apollo/ HTTP/1.0', 'GET /shuttle/countdown/ HTTP/1.0', 'GET /shuttle/missions/sts-73/mission-sts-73.html HTTP/1.0'] ['200 6245', '200 3985', '200 4085'] From vijaykumar at zilogic.com Tue Jul 6 07:18:20 2021 From: vijaykumar at zilogic.com (Vijay Kumar B) Date: Tue, 06 Jul 2021 16:48:20 +0530 Subject: [Chennaipy] Re module in python In-Reply-To: References: Message-ID: <17a7b8a50b2.8238f7e1159027.6929975443189112971@zilogic.com> ---- On Tue, 06 Jul 2021 16:25:55 +0530 Nithya Duraisamy wrote ---- > Hi All, > Can anyone of your please help me to fix my code using re module? Hope this code, produces the required output. import os import re txt = [ '199.72.81.55 - - [01/Jul/1995:00:00:01 -0400] "GET /history/apollo/ HTTP/1.0" 200 6245', 'unicomp6.unicomp.net - - [01/Jul/1995:00:00:06 -0400] "GET /shuttle/countdown/ HTTP/1.0" 200 3985', '199.120.110.21 - - [01/Jul/1995:00:00:09 -0400] "GET /shuttle/missions/sts-73/mission-sts-73.html HTTP/1.0" 200 4085' ] l1= [] for s in txt: m = re.match('.*"([A-Z]+) ((\S+) (\S+))".*', s) if m: l1.append([m.group(1), m.group(2)]) print(l1) l2= [] for s in txt: l2.append(re.findall("\d+$", s)) print(l2) Regards, Vijay From nithyadurai87 at gmail.com Tue Jul 6 07:51:49 2021 From: nithyadurai87 at gmail.com (Nithya Duraisamy) Date: Tue, 6 Jul 2021 17:21:49 +0530 Subject: [Chennaipy] Re module in python In-Reply-To: <17a7b8a50b2.8238f7e1159027.6929975443189112971@zilogic.com> References: <17a7b8a50b2.8238f7e1159027.6929975443189112971@zilogic.com> Message-ID: Hi Vijay, Now its coming as [['6245'], ['3985'], ['4085']] But expected is ['6245', '3985', '4085'] Likewise [['GET', '/history/apollo/ HTTP/1.0'], ['GET', '/shuttle/countdown/ HTTP/1.0'].....['GET', '/images/NASA-logosmall.gif HTTP/1.0']] should be coming as [('GET', '/history/apollo/ HTTP/1.0'), ('GET', '/shuttle/countdown/ HTTP/1.0')...('GET', '/images/NASA-logosmall.gif HTTP/1.0')] Any suggestions? Regards, Nithya. ????., 6 ????, 2021, ???????? 4:48 ?????, Vijay Kumar B ????????: > > ---- On Tue, 06 Jul 2021 16:25:55 +0530 Nithya Duraisamy wrote ---- > > Hi All, > > Can anyone of your please help me to fix my code using re module? > > Hope this code, produces the required output. > > import os > import re > > txt = [ > '199.72.81.55 - - [01/Jul/1995:00:00:01 -0400] "GET /history/apollo/ HTTP/1.0" 200 6245', > 'unicomp6.unicomp.net - - [01/Jul/1995:00:00:06 -0400] "GET /shuttle/countdown/ HTTP/1.0" 200 3985', > '199.120.110.21 - - [01/Jul/1995:00:00:09 -0400] "GET /shuttle/missions/sts-73/mission-sts-73.html HTTP/1.0" 200 4085' > ] > > l1= [] > for s in txt: > m = re.match('.*"([A-Z]+) ((\S+) (\S+))".*', s) > if m: > l1.append([m.group(1), m.group(2)]) > > print(l1) > > l2= [] > for s in txt: > l2.append(re.findall("\d+$", s)) > > print(l2) > > Regards, > Vijay From nithyadurai87 at gmail.com Tue Jul 6 08:05:58 2021 From: nithyadurai87 at gmail.com (Nithya Duraisamy) Date: Tue, 6 Jul 2021 17:35:58 +0530 Subject: [Chennaipy] Re module in python In-Reply-To: References: <17a7b8a50b2.8238f7e1159027.6929975443189112971@zilogic.com> Message-ID: Hi Vijay, Changed the code as below. Now its coming like expected ['6245', '3985', '4085'] l2= [] for i in range(0, len(txt)): s=txt[i] l2 += re.findall("\d+$", s) print(l2) Now please help me on the remaining one thing. [['GET', '/history/apollo/ HTTP/1.0'], ['GET', '/shuttle/countdown/ HTTP/1.0'].....['GET', '/images/NASA-logosmall.gif HTTP/1.0']] should be coming as [('GET', '/history/apollo/ HTTP/1.0'), ('GET', '/shuttle/countdown/ HTTP/1.0')...('GET', '/images/NASA-logosmall.gif HTTP/1.0')] ????., 6 ????, 2021, ???????? 5:21 ?????, Nithya Duraisamy ????????: > > Hi Vijay, > > Now its coming as [['6245'], ['3985'], ['4085']] > But expected is ['6245', '3985', '4085'] > > Likewise > [['GET', '/history/apollo/ HTTP/1.0'], ['GET', '/shuttle/countdown/ > HTTP/1.0'].....['GET', '/images/NASA-logosmall.gif HTTP/1.0']] > > should be coming as > > [('GET', '/history/apollo/ HTTP/1.0'), ('GET', '/shuttle/countdown/ > HTTP/1.0')...('GET', '/images/NASA-logosmall.gif HTTP/1.0')] > > Any suggestions? > > Regards, > Nithya. > > ????., 6 ????, 2021, ???????? 4:48 ?????, Vijay Kumar B > ????????: > > > > ---- On Tue, 06 Jul 2021 16:25:55 +0530 Nithya Duraisamy wrote ---- > > > Hi All, > > > Can anyone of your please help me to fix my code using re module? > > > > Hope this code, produces the required output. > > > > import os > > import re > > > > txt = [ > > '199.72.81.55 - - [01/Jul/1995:00:00:01 -0400] "GET /history/apollo/ HTTP/1.0" 200 6245', > > 'unicomp6.unicomp.net - - [01/Jul/1995:00:00:06 -0400] "GET /shuttle/countdown/ HTTP/1.0" 200 3985', > > '199.120.110.21 - - [01/Jul/1995:00:00:09 -0400] "GET /shuttle/missions/sts-73/mission-sts-73.html HTTP/1.0" 200 4085' > > ] > > > > l1= [] > > for s in txt: > > m = re.match('.*"([A-Z]+) ((\S+) (\S+))".*', s) > > if m: > > l1.append([m.group(1), m.group(2)]) > > > > print(l1) > > > > l2= [] > > for s in txt: > > l2.append(re.findall("\d+$", s)) > > > > print(l2) > > > > Regards, > > Vijay From nithyadurai87 at gmail.com Tue Jul 6 08:09:35 2021 From: nithyadurai87 at gmail.com (Nithya Duraisamy) Date: Tue, 6 Jul 2021 17:39:35 +0530 Subject: [Chennaipy] Re module in python In-Reply-To: References: <17a7b8a50b2.8238f7e1159027.6929975443189112971@zilogic.com> Message-ID: This is also done vijay by changing the code as below method_uri_protocol.append((m.group(1), m.group(2))). Thanks a lot. The issues are solved now. Regards, Nithya. ????., 6 ????, 2021, ???????? 5:35 ?????, Nithya Duraisamy ????????: > > Hi Vijay, > > Changed the code as below. Now its coming like expected ['6245', '3985', '4085'] > > l2= [] > for i in range(0, len(txt)): > s=txt[i] > l2 += re.findall("\d+$", s) > print(l2) > > Now please help me on the remaining one thing. > > [['GET', '/history/apollo/ HTTP/1.0'], ['GET', '/shuttle/countdown/ > HTTP/1.0'].....['GET', '/images/NASA-logosmall.gif HTTP/1.0']] > > should be coming as > > [('GET', '/history/apollo/ HTTP/1.0'), ('GET', '/shuttle/countdown/ > HTTP/1.0')...('GET', '/images/NASA-logosmall.gif HTTP/1.0')] > > > > ????., 6 ????, 2021, ???????? 5:21 ?????, Nithya Duraisamy > ????????: > > > > Hi Vijay, > > > > Now its coming as [['6245'], ['3985'], ['4085']] > > But expected is ['6245', '3985', '4085'] > > > > Likewise > > [['GET', '/history/apollo/ HTTP/1.0'], ['GET', '/shuttle/countdown/ > > HTTP/1.0'].....['GET', '/images/NASA-logosmall.gif HTTP/1.0']] > > > > should be coming as > > > > [('GET', '/history/apollo/ HTTP/1.0'), ('GET', '/shuttle/countdown/ > > HTTP/1.0')...('GET', '/images/NASA-logosmall.gif HTTP/1.0')] > > > > Any suggestions? > > > > Regards, > > Nithya. > > > > ????., 6 ????, 2021, ???????? 4:48 ?????, Vijay Kumar B > > ????????: > > > > > > ---- On Tue, 06 Jul 2021 16:25:55 +0530 Nithya Duraisamy wrote ---- > > > > Hi All, > > > > Can anyone of your please help me to fix my code using re module? > > > > > > Hope this code, produces the required output. > > > > > > import os > > > import re > > > > > > txt = [ > > > '199.72.81.55 - - [01/Jul/1995:00:00:01 -0400] "GET /history/apollo/ HTTP/1.0" 200 6245', > > > 'unicomp6.unicomp.net - - [01/Jul/1995:00:00:06 -0400] "GET /shuttle/countdown/ HTTP/1.0" 200 3985', > > > '199.120.110.21 - - [01/Jul/1995:00:00:09 -0400] "GET /shuttle/missions/sts-73/mission-sts-73.html HTTP/1.0" 200 4085' > > > ] > > > > > > l1= [] > > > for s in txt: > > > m = re.match('.*"([A-Z]+) ((\S+) (\S+))".*', s) > > > if m: > > > l1.append([m.group(1), m.group(2)]) > > > > > > print(l1) > > > > > > l2= [] > > > for s in txt: > > > l2.append(re.findall("\d+$", s)) > > > > > > print(l2) > > > > > > Regards, > > > Vijay From sakthirengaraj at gmail.com Tue Jul 6 08:05:11 2021 From: sakthirengaraj at gmail.com (Rengaraj D) Date: Tue, 6 Jul 2021 17:35:11 +0530 Subject: [Chennaipy] Re module in python In-Reply-To: References: <17a7b8a50b2.8238f7e1159027.6929975443189112971@zilogic.com> Message-ID: On Tue, 6 Jul 2021 at 17:22, Nithya Duraisamy wrote: > Hi Vijay, > > Now its coming as [['6245'], ['3985'], ['4085']] > Above one is a nested list. But expected is ['6245', '3985', '4085'] > Create an empty list loop through the nested list append to the empty list Regards Rengaraj -------------- next part -------------- An HTML attachment was scrubbed... URL: From thiruak1024 at gmail.com Tue Jul 6 03:17:52 2021 From: thiruak1024 at gmail.com (6062_Thirumurugan K) Date: Tue, 6 Jul 2021 12:47:52 +0530 Subject: [Chennaipy] Query on numpy.logspace() in Python In-Reply-To: References: Message-ID: Hi, Mathematically, logs are related to power by the following equation. 1. 10^2 = 100 2. log(100) = 2 * note: base 10 We are finding logspace between 2.0 and 3.0 ( 5 numbers and base as 11 ) evenly spreaded numbers => 2.0, 2.25, 2.50, 2.75, 3.00 taking power to this number => 11^2.0, 11^2.25, 11^2.50, 11^2.75, 11^3.00 ( * base 11) output of this power => 121, 220.36039471, 401.31159963, 730.8527479, 1331 I am not a master at machine learning or numpy. I think this is what happens behind this. It does not log off the mentioned interval, instead outputs the power of intervals with respect to the base. *ex 11^2.0 = 121* for more detail on logs use this link . -- Thanks & Regards, Thirumurugan k -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: Screenshot from 2021-07-06 12-38-37.png Type: image/png Size: 129888 bytes Desc: not available URL: From jackgopi494 at gmail.com Wed Jul 7 23:55:52 2021 From: jackgopi494 at gmail.com (Gopi jack) Date: Thu, 8 Jul 2021 09:25:52 +0530 Subject: [Chennaipy] Selenium Exception Message-ID: Hi all, I was trying to run the python file on a remote server and the error was raised. ( raise exception_class(message, screen, stacktrace) (selenium.common.exceptions.TimeoutException: Message: connection refused) Can anyone help me out to resolve the problem? -------------- next part -------------- An HTML attachment was scrubbed... URL: From jackgopi494 at gmail.com Fri Jul 9 14:52:48 2021 From: jackgopi494 at gmail.com (Gopi jack) Date: Sat, 10 Jul 2021 00:22:48 +0530 Subject: [Chennaipy] Selenium Exception Message-ID: Hi all, i was used the selenium web driver (headless mode) to open websites and find the next and next pages to click and get the data by using beautifulsoup.It was working fine in my machine but when i was trying to run the python file on a remote server and the error was raised. ( raise exception_class(message, screen, stacktrace) (selenium.common.exceptions.TimeoutException: Message: connection refused) Can anyone help me out to resolve the problem? git_link: https://github.com/gopig494/Python-Projects/blob/master/nammabooks_all_data_img_nocd.py -------------- next part -------------- An HTML attachment was scrubbed... URL: From sakthirengaraj at gmail.com Fri Jul 9 22:27:13 2021 From: sakthirengaraj at gmail.com (Rengaraj D) Date: Sat, 10 Jul 2021 07:57:13 +0530 Subject: [Chennaipy] Selenium Exception In-Reply-To: References: Message-ID: On Sat, 10 Jul 2021 at 00:23, Gopi jack wrote: > Hi all, > i was used the selenium web driver (headless mode) to open > websites and find the next and next pages to click and get the data by > using beautifulsoup.It was working fine in my machine but when i was > trying to run the python file on a remote server and the error was raised. > > ( raise exception_class(message, screen, stacktrace) > (selenium.common.exceptions.TimeoutException: Message: connection refused) > Can you paste the complete console error messages ? Regards Rengaraj -------------- next part -------------- An HTML attachment was scrubbed... URL: From jackgopi494 at gmail.com Fri Jul 9 22:49:33 2021 From: jackgopi494 at gmail.com (Gopi jack) Date: Sat, 10 Jul 2021 08:19:33 +0530 Subject: [Chennaipy] Selenium Exception In-Reply-To: References: Message-ID: Hi, The complete console error message is Traceback (most recent call last): File "namma.py", line 12, in driver=webdriver.Firefox(options=opts) File "/usr/local/lib/python3.8/dist-packages/selenium/webdriver/firefox/webdriver.py", line 170, in __init__ RemoteWebDriver.__init__( File "/usr/local/lib/python3.8/dist-packages/selenium/webdriver/remote/webdriver.py", line 157, in __init__ self.start_session(capabilities, browser_profile) File "/usr/local/lib/python3.8/dist-packages/selenium/webdriver/remote/webdriver.py", line 252, in start_session response = self.execute(Command.NEW_SESSION, parameters) File "/usr/local/lib/python3.8/dist-packages/selenium/webdriver/remote/webdriver.py", line 321, in execute self.error_handler.check_response(response) File "/usr/local/lib/python3.8/dist-packages/selenium/webdriver/remote/errorhandler.py", line 242, in check_response raise exception_class(message, screen, stacktrace) selenium.common.exceptions.TimeoutException: Message: connection refused On Sat, Jul 10, 2021 at 7:57 AM Rengaraj D wrote: > > > On Sat, 10 Jul 2021 at 00:23, Gopi jack wrote: > >> Hi all, >> i was used the selenium web driver (headless mode) to open >> websites and find the next and next pages to click and get the data by >> using beautifulsoup.It was working fine in my machine but when i was >> trying to run the python file on a remote server and the error was raised. >> >> ( raise exception_class(message, screen, stacktrace) >> (selenium.common.exceptions.TimeoutException: Message: connection refused) >> > > Can you paste the complete console error messages ? > > Regards > Rengaraj > _______________________________________________ > Chennaipy mailing list > Chennaipy at python.org > https://mail.python.org/mailman/listinfo/chennaipy > -------------- next part -------------- An HTML attachment was scrubbed... URL: From sakthirengaraj at gmail.com Sat Jul 10 00:08:35 2021 From: sakthirengaraj at gmail.com (Rengaraj D) Date: Sat, 10 Jul 2021 09:38:35 +0530 Subject: [Chennaipy] Selenium Exception In-Reply-To: References: Message-ID: On Sat, 10 Jul 2021 at 08:20, Gopi jack wrote: > Hi, > The complete console error message is > > Traceback (most recent call last): > File "namma.py", line 12, in > driver=webdriver.Firefox(options=opts) > File > "/usr/local/lib/python3.8/dist-packages/selenium/webdriver/firefox/webdriver.py", > line 170, in __init__ > RemoteWebDriver.__init__( > File > "/usr/local/lib/python3.8/dist-packages/selenium/webdriver/remote/webdriver.py", > line 157, in __init__ > self.start_session(capabilities, browser_profile) > File > "/usr/local/lib/python3.8/dist-packages/selenium/webdriver/remote/webdriver.py", > line 252, in start_session > response = self.execute(Command.NEW_SESSION, parameters) > File > "/usr/local/lib/python3.8/dist-packages/selenium/webdriver/remote/webdriver.py", > line 321, in execute > self.error_handler.check_response(response) > File > "/usr/local/lib/python3.8/dist-packages/selenium/webdriver/remote/errorhandler.py", > line 242, in check_response > raise exception_class(message, screen, stacktrace) > selenium.common.exceptions.TimeoutException: Message: connection refused > There is a chance that libraries are not compatible with the browser version, Check below, Gecko, selenium and firefox version requirements. If there is a mismatch in the library versions you may get errors like this. Regards Rengaraj -------------- next part -------------- An HTML attachment was scrubbed... URL: From jackgopi494 at gmail.com Sat Jul 10 00:19:46 2021 From: jackgopi494 at gmail.com (Gopi jack) Date: Sat, 10 Jul 2021 09:49:46 +0530 Subject: [Chennaipy] Selenium Exception In-Reply-To: References: Message-ID: I already updated all the packages and browser also, But still I was facing the issue. If there are any criteria for setting the versions ,Kindly let me know. On Sat, Jul 10, 2021 at 9:38 AM Rengaraj D wrote: > > > On Sat, 10 Jul 2021 at 08:20, Gopi jack wrote: > >> Hi, >> The complete console error message is >> >> Traceback (most recent call last): >> File "namma.py", line 12, in >> driver=webdriver.Firefox(options=opts) >> File >> "/usr/local/lib/python3.8/dist-packages/selenium/webdriver/firefox/webdriver.py", >> line 170, in __init__ >> RemoteWebDriver.__init__( >> File >> "/usr/local/lib/python3.8/dist-packages/selenium/webdriver/remote/webdriver.py", >> line 157, in __init__ >> self.start_session(capabilities, browser_profile) >> File >> "/usr/local/lib/python3.8/dist-packages/selenium/webdriver/remote/webdriver.py", >> line 252, in start_session >> response = self.execute(Command.NEW_SESSION, parameters) >> File >> "/usr/local/lib/python3.8/dist-packages/selenium/webdriver/remote/webdriver.py", >> line 321, in execute >> self.error_handler.check_response(response) >> File >> "/usr/local/lib/python3.8/dist-packages/selenium/webdriver/remote/errorhandler.py", >> line 242, in check_response >> raise exception_class(message, screen, stacktrace) >> selenium.common.exceptions.TimeoutException: Message: connection refused >> > > > There is a chance that libraries are not compatible with the browser > version, > > Check below, > > Gecko, selenium and firefox version requirements. > If there is a mismatch in the library versions you may get errors like > this. > > Regards > Rengaraj > _______________________________________________ > Chennaipy mailing list > Chennaipy at python.org > https://mail.python.org/mailman/listinfo/chennaipy > -------------- next part -------------- An HTML attachment was scrubbed... URL: From tstnarayan at gmail.com Sat Jul 10 00:35:57 2021 From: tstnarayan at gmail.com (Thirunarayanan Srinivasan) Date: Sat, 10 Jul 2021 12:35:57 +0800 Subject: [Chennaipy] Python package donation management Message-ID: Hello all, Has anyone used any python package for managing online donations ? Regards, Thiru -------------- next part -------------- An HTML attachment was scrubbed... URL: From tshrinivasan at gmail.com Sat Jul 10 01:16:21 2021 From: tshrinivasan at gmail.com (Shrinivasan T) Date: Sat, 10 Jul 2021 10:46:21 +0530 Subject: [Chennaipy] Python package donation management In-Reply-To: References: Message-ID: > > Has anyone used any python package for managing online donations ? > > > Try ERPNext. Check here https://erpnext.com/open-source-ngo-erp-software -- Regards, T.Shrinivasan My Life with GNU/Linux : http://goinggnu.wordpress.com Free E-Magazine on Free Open Source Software in Tamil : http://kaniyam.com Get Free Tamil Ebooks for Android, iOS, Kindle, Computer : http://FreeTamilEbooks.com -------------- next part -------------- An HTML attachment was scrubbed... URL: From balchandani.sanchit at gmail.com Tue Jul 20 00:23:56 2021 From: balchandani.sanchit at gmail.com (Sanchit Balchandani) Date: Tue, 20 Jul 2021 09:53:56 +0530 Subject: [Chennaipy] [Job] EPAM Systems is hiring Senior/Lead Software Engineers In-Reply-To: References: Message-ID: Hello Everyone, EPAM Systems India is hiring Senior/Lead Software Engineers with Python as a primary skillset, across multiple locations (Hyderabad, Pune, Bangalore, Gurgaon & Chennai). To know more about EPAM, please visit these links [0][1][2]. Below is the brief job description- - 4+ Years of experience in Software Development - Solid experience on Python3, Django or Flask, & ORM - Good grasp on RDBMS concepts & SDLC lifecycle - Good Problem-solving skills & quick learning ability If you or someone else who might be interested, feel free to reach out to me or refer them to my email. I'll be happy to answer any questions. [0] - https://www.epam.com/ [1] - https://youtu.be/7FSv8wt7328 [2] - https://youtu.be/e0w9OOWT_lw Regards Sanchit -------------- next part -------------- An HTML attachment was scrubbed... URL: From sakthirengaraj at gmail.com Fri Jul 23 22:36:57 2021 From: sakthirengaraj at gmail.com (Rengaraj D) Date: Sat, 24 Jul 2021 08:06:57 +0530 Subject: [Chennaipy] July Meetup RSVP Required Message-ID: Hi Everyone # July Meetup ## Schedule * Introduction to Intents with Kivy mobile application * Introduction to Telenium * Fast API Framework ## Timings and Date * 24/07/2021 at 3:00 PM to 5:00 PM ## Venue * Online * Event link will be visible to those who have RSVPed in the event page. ## Meetup page * https://www.meetup.com/Chennaipy/events/279311315 ## New to Python? * Learn Python in 30 minutes https://learnxinyminutes.com/docs/python/ * How to think like a computer Scientist? http://openbookproject.net/thinkcs/python/english3e/ Regards Rengaraj -------------- next part -------------- An HTML attachment was scrubbed... URL: From sakthirengaraj at gmail.com Sat Jul 24 06:40:21 2021 From: sakthirengaraj at gmail.com (Rengaraj D) Date: Sat, 24 Jul 2021 16:10:21 +0530 Subject: [Chennaipy] July month meeting minutes Message-ID: ## First talk - kivy is a cross platform application - Intents - Intents are used to send messages between apps - Implicit intents and explicit intents - Implicit intents - send request within app e.g, navigation between different pages in an app - Explicit intent - send request to some other app - Pyjnius - is the python api to use Java intent objects. ## Second talk - Telenium - Automation test framework to test GUI application built using Kivy - Demo - a telenium app to test GUI applications which have multiple pages. - After running the telenium the GUI application button actions were automated with out manual navigation. ## Third Talk - Fast API - fast to code - easy to learn - api testing is easy in fast API - Demo 1 - A simple application that return hello world - Demo 2 - A simple application to receive data from the user using post method - FastAPI project structure - Using a command we can create a default fast api project structure. -------------- next part -------------- An HTML attachment was scrubbed... URL: