Re: How to get dynamic data in html (javascript?)

2020-01-13 Thread Friedrich Rentsch
OSED":"As of {date} {time}. {marketState}","MARKE . . .". I suppose the browser gets the values whose names appear in braces, dialoguing with the server. I believe it is javascript. I see sections marked . . . section here . . . </tt><tt>. If it is javascript,

Re: How to get dynamic data in html (javascript?)

2020-01-13 Thread Chris Angelico
On Sun, Jan 12, 2020 at 4:41 AM Friedrich Rentsch wrote: > > Hi all, > > I'm pretty good at hacking html text. But I have no clue how to get > dynamic data like this : "At close: {date} {time}". I would appreciate a > starting push to narrow my focus, currently awfully unfocused. Thanks. > > Frede

Re: How to get dynamic data in html (javascript?)

2020-01-12 Thread musbur
On Sat, 11 Jan 2020 14:39:38 +0100 Friedrich Rentsch wrote: > I'm pretty good at hacking html text. But I have no clue how to get > dynamic data like this : "At close: {date} {time}". I would > appreciate a starting push to narrow my focus, currently awfully > unfocused. Thanks. Focus on the st

How to get dynamic data in html (javascript?)

2020-01-11 Thread Friedrich Rentsch
Hi all, I'm pretty good at hacking html text. But I have no clue how to get dynamic data like this : "At close: {date} {time}". I would appreciate a starting push to narrow my focus, currently awfully unfocused. Thanks. Frederic -- https://mail.python.org/mailman/listinfo/python-list

Re: JavaScript Calculator Program

2019-12-07 Thread Chris Angelico
ot;console.log ("The result is ", res);" under the + operand. > (error code reads: Println is not a function) > > Any help will be much appreciated. > Thanks in advance. Do your own homework. You've just posted a JavaScript homework problem to a Python mailing list. The

JavaScript Calculator Program

2019-12-07 Thread ferzan saglam
Hi People, I am working on a simple calculator which uses operands (+-*/). The program allows me to choose an operand and enter the first two values, but when it gets to doing the maths, it gives me an error on "console.log ("The result is ", res);" under the + operand. (error code reads: Println

file download using django and javascript

2018-05-17 Thread Xristos Xristoou
i have create a django app with REST JSON API and i fill html table in web page from my JSON. here some examples javascript snippets : var field22=document.getElementById('f22'); field22.innerHTML=e.target.feature.properties.id; var field23=document.getElementById('f23'

Re: Python built-ins versus Javascript [was Re: Old Man Yells At Cloud]

2017-09-17 Thread Abdur-Rahmaan Janhangeer
i use langages that uses py with so you have to wrap things in a function so that it will be called i'm tired telling beginners : hey don't forget to declare your globals don't forget don't forget and most of the time there are many ... well they just can't declare it in the func as they ha

Python built-ins versus Javascript [was Re: Old Man Yells At Cloud]

2017-09-17 Thread Steve D'Aprano
On Sun, 17 Sep 2017 08:02 pm, Abdur-Rahmaan Janhangeer wrote: > as someone who really dislike js, i have to admit : python's globals are > really really bad ! > > js is a charm at that a real charm ! Can you explain what you think is so bad about them, and why Javascript's are better? -- Ste

Re: Does Python need Javascript?

2017-06-15 Thread Ned Batchelder
On Thursday, June 15, 2017 at 5:55:07 AM UTC-4, Gregory Ewing wrote: > Chris Angelico wrote: > > There've been a number of attempts, over the years, to make a > > sandboxed Python interpreter, where you can run untrusted code. But if > > Python came with a JS interpreter, it would be possible to ru

Re: Does Python need Javascript?

2017-06-15 Thread Gregory Ewing
Chris Angelico wrote: There've been a number of attempts, over the years, to make a sandboxed Python interpreter, where you can run untrusted code. But if Python came with a JS interpreter, it would be possible to run untrusted JS code, with Python functioning as a gatekeeper. If that would pro

Re: Does Python need Javascript?

2017-06-15 Thread Steven D'Aprano
On Thu, 15 Jun 2017 17:42:12 +1000, Chris Angelico wrote: > Load up PyPyJS and run Python inside JavaScript inside Python. I'm reminded of a demo I saw once, of a BeOS system running a classic Mac emulator (sheepshaver, I believe it was), then running a Windows emulator inside

Re: Does Python need Javascript?

2017-06-15 Thread Chris Angelico
On Thu, Jun 15, 2017 at 5:14 PM, Steven D'Aprano wrote: > Now that Java 8 includes a Javascript interpreter (Nashorn) as part of > the JDK, and since Javascript is The Futureā„¢, does Python need a > Javascript interpreter in the standard library? > > If Python came with a Ja

Re: Does Python need Javascript?

2017-06-15 Thread Paul Barry
Life is too short... šŸ˜‰ On 15 Jun 2017 08:17, "Steven D'Aprano" wrote: Now that Java 8 includes a Javascript interpreter (Nashorn) as part of the JDK, and since Javascript is The Futureā„¢, does Python need a Javascript interpreter in the standard library? If Python came wi

Re: Does Python need Javascript?

2017-06-15 Thread Chris Angelico
On Thu, Jun 15, 2017 at 5:14 PM, Steven D'Aprano wrote: > Now that Java 8 includes a Javascript interpreter (Nashorn) as part of > the JDK, and since Javascript is The Futureā„¢, does Python need a > Javascript interpreter in the standard library? > > If Python came with a Ja

Does Python need Javascript?

2017-06-15 Thread Steven D'Aprano
Now that Java 8 includes a Javascript interpreter (Nashorn) as part of the JDK, and since Javascript is The Futureā„¢, does Python need a Javascript interpreter in the standard library? If Python came with a Javascript interpreter, what would you do with it? (Serious question, but humorous

Re: Obtain javascript result

2016-12-29 Thread abaco121
Hi, there's a problem in betexplorer? this php page dont response anything to get odds http://www.betexplorer.com/soccer/russia/youth-\league/matchdetails.php?matchid=rLu2Xsdi from 24 december dont work thanxs Il giorno domenica 23 ottobre 2016 20:09:30 UTC+2, epr...@gmail.com ha scritto: > O

Re: Obtain javascript result

2016-10-23 Thread eproser
Ok, I solved to this way: from bs4 import BeautifulSoup from selenium import webdriver driver = webdriver.Chrome() driver.get('http://www.betexplorer.com/soccer/russia/youth-\league/matchdetails.php?matchid=rLu2Xsdi') pg_src = driver.page_source driver.close() soup = BeautifulSoup(pg_src, 'html.

Re: Obtain javascript result

2016-10-22 Thread Bob Gailer
On Oct 22, 2016 12:45 AM, wrote: > > Many Thanks to everybody. You're welcome. It's fun to help in a challenging problem. Please let us know what solution(s), if any, you have adopted, what problems, if any, you've encountered, what Python version and operating system. -- https://mail.python.org

Re: Obtain javascript result

2016-10-21 Thread eproser
Many Thanks to everybody. -- https://mail.python.org/mailman/listinfo/python-list

Re: Obtain javascript result

2016-10-21 Thread justin walters
s, and > bet365's bookmaker odds. > > I can't continue in my fun analyses because the odds > are returned through that javascript code and > I don't know how manage it in python > to take that results. > The data is being obtained through an ajax call: jQuery.

Re: Obtain javascript result

2016-10-21 Thread bob gailer
s. I can't continue in my fun analyses because the odds are returned through that javascript code and I don't know how manage it in python to take that results. What version of Python are you using, and what operating system? I would use splinter (https://pypi.python.org/pypi/splinter)

Re: Obtain javascript result

2016-10-21 Thread Michael Torrie
On 10/21/2016 07:29 AM, epro...@gmail.com wrote: > Hello NG. > > I'm new in Python for fun. > > I have a html page (I load it by BeautifulSoap) that contain > also this javascript code: > ... > > $(document).ready(function() { >

Re: Obtain javascript result

2016-10-21 Thread eproser
e the odds are returned through that javascript code and I don't know how manage it in python to take that results. -- https://mail.python.org/mailman/listinfo/python-list

Re: Obtain javascript result

2016-10-21 Thread Bob Gailer
On Oct 21, 2016 9:30 AM, wrote: > > Hello NG. > > I'm new in Python for fun. > > I have a html page (I load it by BeautifulSoap) that contain > also this javascript code: > ... > > $(document).ready(function() { > matchdetails_init('rLu2Xsdi'

Obtain javascript result

2016-10-21 Thread eproser
Hello NG. I'm new in Python for fun. I have a html page (I load it by BeautifulSoap) that contain also this javascript code: ... $(document).ready(function() { matchdetails_init('rLu2Xsdi', '1x2'); }); ... Please, can You me to aim on the right way to

Re: Python3 html scraper that supports javascript

2016-05-02 Thread zljubisic
> Why? As important as it is to show code, you need to show what actually > happens and what error message is produced. If you run the code you will see that html that I got doesn't have link to the flash video. I should somehow do something (press play video button maybe) in order to get html

Re: Python3 html scraper that supports javascript

2016-05-02 Thread Stephen Hansen
On Mon, May 2, 2016, at 08:33 AM, zljubi...@gmail.com wrote: > I tried to use the following code: > > from bs4 import BeautifulSoup > from selenium import webdriver > > PHANTOMJS_PATH = > 'C:\\Users\\Zoran\\Downloads\\Obrisi\\phantomjs-2.1.1-windows\\bin\\phantomjs.exe' > > url = > 'https://hrti

Re: Python3 html scraper that supports javascript

2016-05-02 Thread DFS
On 5/2/2016 11:33 AM, zljubi...@gmail.com wrote: I tried to use the following code: from bs4 import BeautifulSoup from selenium import webdriver PHANTOMJS_PATH = 'C:\\Users\\Zoran\\Downloads\\Obrisi\\phantomjs-2.1.1-windows\\bin\\phantomjs.exe' url = 'https://hrti.hrt.hr/#/video/show/22036

Re: Python3 html scraper that supports javascript

2016-05-02 Thread zljubisic
I tried to use the following code: from bs4 import BeautifulSoup from selenium import webdriver PHANTOMJS_PATH = 'C:\\Users\\Zoran\\Downloads\\Obrisi\\phantomjs-2.1.1-windows\\bin\\phantomjs.exe' url = 'https://hrti.hrt.hr/#/video/show/2203605/trebizat-prica-o-jednoj-vodi-i-jednom-narodu-dok

Re: Python3 html scraper that supports javascript

2016-05-01 Thread Bob Gailer
On May 1, 2016 10:20 AM, wrote: > > Hi, > > can you please recommend to me a python3 library that I can use for scrapping JS I'm not sure what you mean by that. The tool I use is Splinter. Install it using pip. that works on windows as well as linux? -- https://mail.python.org/mailman/listinfo/py

Python3 html scraper that supports javascript

2016-05-01 Thread zljubisic
Hi, can you please recommend to me a python3 library that I can use for scrapping JS that works on windows as well as linux? Regards. -- https://mail.python.org/mailman/listinfo/python-list

Re: [OT'ish] Is there a list as good as this for Javascript

2016-03-26 Thread Chris Angelico
On Sun, Mar 27, 2016 at 3:05 PM, Gregory Ewing wrote: > Gene Heskett wrote: >> >> But I learned a lot about hot ($2400F) iron too. > > > 2400 dollars farenheit? That's an intriguing unit... > > Or is it meant to be the temperature in hex? Hex, obviously. Which is something like five thousand Kelv

Re: [OT'ish] Is there a list as good as this for Javascript

2016-03-26 Thread Gregory Ewing
Gene Heskett wrote: But I learned a lot about hot ($2400F) iron too. 2400 dollars farenheit? That's an intriguing unit... Or is it meant to be the temperature in hex? -- Greg -- https://mail.python.org/mailman/listinfo/python-list

Re: [OT'ish] Is there a list as good as this for Javascript

2016-03-26 Thread Cameron Simpson
On 26Mar2016 02:36, Thomas 'PointedEars' Lahn wrote: Ned Batchelder wrote: Chris, I apologize for Thomas. How dare you to speak for me, Because it is something you never say: sorry for my rudeness. and *again* the rest of the subscribers? He speaks for me at least, on this topic. I was

Re: [OT'ish] Is there a list as good as this for Javascript

2016-03-26 Thread Michael Torrie
On 03/26/2016 11:49 AM, Michael Torrie wrote: > Well said, Ned, and a good reminder for me, and I suspect all of us, to > considering how we communicate. It's our nature to think problems lie ^^ Sigh. Consider. And proof read. > with everyone else but us (as witnessed by recent post

Re: [OT'ish] Is there a list as good as this for Javascript

2016-03-26 Thread Thomas 'PointedEars' Lahn
Mark Lawrence wrote: > On 24/03/2016 20:53, c...@isbd.net wrote: >> I use Python wherever I can and find this list (as a usenet group via >> gmane) an invaluable help at times. >> >> Occasionally I have to make forays into Javascript, can anyone >> recommend a

Re: [OT'ish] Is there a list as good as this for Javascript

2016-03-26 Thread Michael Torrie
On 03/26/2016 05:37 AM, Ned Batchelder wrote: > [...] > Has anyone ever said to you, "Thanks, Thomas! Lots of people were giving > me answers, but they were all so kind and polite about it, I couldn't > see what they were saying. Finally, your blunt direct manner got > through to me, so now I und

Re: [OT'ish] Is there a list as good as this for Javascript

2016-03-26 Thread Gene Heskett
On Saturday 26 March 2016 11:35:52 Larry Martell wrote: > On Sat, Mar 26, 2016 at 11:31 AM, Gene Heskett wrote: > > On Saturday 26 March 2016 07:52:05 Larry Martell wrote: > >> As my wife once said, "If you start with 'Listen, asshole, ...' > >> they probably won't hear what you have to say afte

Re: [OT'ish] Is there a list as good as this for Javascript

2016-03-26 Thread Larry Martell
On Sat, Mar 26, 2016 at 11:31 AM, Gene Heskett wrote: > On Saturday 26 March 2016 07:52:05 Larry Martell wrote: >> As my wife once said, "If you start with 'Listen, asshole, ...' they >> probably won't hear what you have to say after that. > > She is 100% correct, but try as I might, I can't quite

Re: [OT'ish] Is there a list as good as this for Javascript

2016-03-26 Thread Gene Heskett
On Saturday 26 March 2016 07:52:05 Larry Martell wrote: > On Sat, Mar 26, 2016 at 7:37 AM, Ned Batchelder wrote: > > Thomas, you don't have to choose between correct and nice. It's > > possible to be both. > > "I'm not good, I'm not nice, I'm just right." > > That was written by Stephen Sondhei

Re: [OT'ish] Is there a list as good as this for Javascript

2016-03-26 Thread Mark Lawrence
On 24/03/2016 20:53, c...@isbd.net wrote: I use Python wherever I can and find this list (as a usenet group via gmane) an invaluable help at times. Occasionally I have to make forays into Javascript, can anyone recommend a place similar to this list where Javascript questions can be asked? The

Re: [OT'ish] Is there a list as good as this for Javascript

2016-03-26 Thread cl
Thomas 'PointedEars' Lahn wrote: > c...@isbd.net wrote: > > > Occasionally I have to make forays into Javascript, can anyone > > recommend a place similar to this list where Javascript questions can > > be asked? The trouble is that there are very many us

Re: [OT'ish] Is there a list as good as this for Javascript

2016-03-26 Thread cl
Ned Batchelder wrote: > On Friday, March 25, 2016 at 5:17:21 PM UTC-4, Thomas 'PointedEars' Lahn > wrote: > > c...@isbd.net wrote: > > > > > Occasionally I have to make forays into Javascript, can anyone > > > recommend a place similar to this list

Re: [OT'ish] Is there a list as good as this for Javascript

2016-03-26 Thread Larry Martell
On Sat, Mar 26, 2016 at 7:37 AM, Ned Batchelder wrote: > Thomas, you don't have to choose between correct and nice. It's > possible to be both. "I'm not good, I'm not nice, I'm just right." That was written by Stephen Sondheim and it's from his musical Into The Woods. It's said by the witch. Th

Re: [OT'ish] Is there a list as good as this for Javascript

2016-03-26 Thread Ned Batchelder
orrect things at people, they don't hear you. Your helpful energy is being overshadowed by your blunt rude manner. If your goal is to help people, you are missing the mark. You say you "encourage them to educate and enlighten themselves." I haven't seen encouragement. I've s

Re: [OT'ish] Is there a list as good as this for Javascript

2016-03-25 Thread Rustom Mody
On Saturday, March 26, 2016 at 9:55:15 AM UTC+5:30, Chris Angelico wrote: > On Sat, Mar 26, 2016 at 2:37 PM, Thomas 'PointedEars' Lahn wrote: > > Chris Angelico wrote: > > > >> On Sat, Mar 26, 2016 at 12:36 PM, Thomas 'PointedEars' Lahn wrote: > Thomas is not typical of the Python community. W

Re: [OT'ish] Is there a list as good as this for Javascript

2016-03-25 Thread Chris Angelico
On Sat, Mar 26, 2016 at 2:37 PM, Thomas 'PointedEars' Lahn wrote: > Chris Angelico wrote: > >> On Sat, Mar 26, 2016 at 12:36 PM, Thomas 'PointedEars' Lahn >> wrote: Thomas is not typical of the Python community. We are mostly nice people. :) >>> >>> You do not even know me. I *am*

Re: [OT'ish] Is there a list as good as this for Javascript

2016-03-25 Thread Thomas 'PointedEars' Lahn
Chris Angelico wrote: > On Sat, Mar 26, 2016 at 12:36 PM, Thomas 'PointedEars' Lahn > wrote: >>> Thomas is not typical of the Python community. We are mostly nice >>> people. >>> :) >> >> You do not even know me. I *am* a nice person, if only for the fact that >> I do not let people suffer from

Re: [OT'ish] Is there a list as good as this for Javascript

2016-03-25 Thread Chris Angelico
On Sat, Mar 26, 2016 at 12:36 PM, Thomas 'PointedEars' Lahn wrote: >> Thomas is not typical of the Python community. We are mostly nice people. >> :) > > You do not even know me. I *am* a nice person, if only for the fact that I > do not let people suffer from their own ignorance, and I encourage

Re: [OT'ish] Is there a list as good as this for Javascript

2016-03-25 Thread Steven D'Aprano
On Sat, 26 Mar 2016 08:17 am, PointedEars wrote: ..^^^ > get a real name. You sign your posts "PointedEars". Do you not realise how hypocritical these repeated carping complaints about "real names" are? Not to mention pointless. Aside from the fact that "real

Re: [OT'ish] Is there a list as good as this for Javascript

2016-03-25 Thread Thomas 'PointedEars' Lahn
Ned Batchelder wrote: > Chris, I apologize for Thomas. How dare you to speak for me, and *again* the rest of the subscribers? There is nothing to apologize for when I am *helping* someone by giving them useful information. You can apologize for your own presumptous behavior instead. > is ma

Re: [OT'ish] Is there a list as good as this for Javascript

2016-03-25 Thread Ned Batchelder
On Friday, March 25, 2016 at 5:17:21 PM UTC-4, Thomas 'PointedEars' Lahn wrote: > c...@isbd.net wrote: > > > Occasionally I have to make forays into Javascript, can anyone > > recommend a place similar to this list where Javascript questions can > > be asked?

Re: [OT'ish] Is there a list as good as this for Javascript

2016-03-25 Thread Thomas 'PointedEars' Lahn
Mark Lawrence wrote: > […] It is so blatantly obvious that he knows precisely nothing about > Python, but still the moderators on this list let him get away with it. This is a mailing list? It is moderated? *Seriously*? -- PointedEars Twitter: @PointedEars2 Please do not cc me. / Bitte keine

Re: [OT'ish] Is there a list as good as this for Javascript

2016-03-25 Thread Thomas 'PointedEars' Lahn
c...@isbd.net wrote: > Occasionally I have to make forays into Javascript, can anyone > recommend a place similar to this list where Javascript questions can > be asked? The trouble is that there are very many usenet Javascript > lists and it's difficult to guess which one[

Re: [OT'ish] Is there a list as good as this for Javascript

2016-03-25 Thread Ben Bacarisse
Cousin Stanley writes: > >> Occasionally I have to make forays into Javascript, >> can anyone recommend a place similar to this list >> where Javascript questions can be asked ? > > > Several years back I found > the newsgroup comp.lang.javascr

Re: [OT'ish] Is there a list as good as this for Javascript

2016-03-25 Thread Cousin Stanley
> Occasionally I have to make forays into Javascript, > can anyone recommend a place similar to this list > where Javascript questions can be asked ? Several years back I found the newsgroup comp.lang.javascript to be helpful However, I haven't used th

Re: [OT'ish] Is there a list as good as this for Javascript

2016-03-25 Thread alister
On Thu, 24 Mar 2016 23:46:14 +, Mark Lawrence wrote: > On 24/03/2016 23:33, Ian Kelly wrote: >> On Thu, Mar 24, 2016 at 4:58 PM, Mark Lawrence >> wrote: >>> No. While this idiot, BartC, is let loose on this forum, I'll say >>> what I like. >> >> Good to know. I've been on the fence about thi

Re: [OT'ish] Is there a list as good as this for Javascript

2016-03-25 Thread cl
Larry Martell wrote: > On Thu, Mar 24, 2016 at 4:53 PM, wrote: > > I use Python wherever I can and find this list (as a usenet group via > > gmane) an invaluable help at times. > > > > Occasionally I have to make forays into Javascript, can anyone > > recom

Re: [OT'ish] Is there a list as good as this for Javascript

2016-03-25 Thread Ben Finney
Mark Lawrence writes: > No. While this idiot, BartC, is let loose on this forum, I'll say > what I like. That is the attitude of a petulant schoolyard bully. Stop, please. You are to behave well in this community, and this is not conditional on the behaviour of others. You are better that that

Re: [OT'ish] Is there a list as good as this for Javascript

2016-03-24 Thread Ned Batchelder
On Thursday, March 24, 2016 at 7:47:34 PM UTC-4, Mark Lawrence wrote: > On 24/03/2016 23:33, Ian Kelly wrote: > > On Thu, Mar 24, 2016 at 4:58 PM, Mark Lawrence > > wrote: > >> No. While this idiot, BartC, is let loose on this forum, I'll say what I > >> like. > > > > Good to know. I've been on

Re: [OT'ish] Is there a list as good as this for Javascript

2016-03-24 Thread Larry Martell
On Thu, Mar 24, 2016 at 4:53 PM, wrote: > I use Python wherever I can and find this list (as a usenet group via > gmane) an invaluable help at times. > > Occasionally I have to make forays into Javascript, can anyone > recommend a place similar to this list where Javascript que

Re: [OT'ish] Is there a list as good as this for Javascript

2016-03-24 Thread Mark Lawrence
On 24/03/2016 23:33, Ian Kelly wrote: On Thu, Mar 24, 2016 at 4:58 PM, Mark Lawrence wrote: No. While this idiot, BartC, is let loose on this forum, I'll say what I like. Good to know. I've been on the fence about this for a long time, but lately the frequency of your outbursts seems to have

Re: [OT'ish] Is there a list as good as this for Javascript

2016-03-24 Thread Ian Kelly
On Thu, Mar 24, 2016 at 4:58 PM, Mark Lawrence wrote: > No. While this idiot, BartC, is let loose on this forum, I'll say what I > like. Good to know. I've been on the fence about this for a long time, but lately the frequency of your outbursts seems to have increased, and you're being more of a

Re: [OT'ish] Is there a list as good as this for Javascript

2016-03-24 Thread Joel Goldstick
On Thu, Mar 24, 2016 at 7:06 PM, Mark Lawrence wrote: > On 24/03/2016 22:45, c...@isbd.net wrote: > >> Mark Lawrence wrote: >> >>> On 24/03/2016 22:08, c...@isbd.net wrote: >>> >>>> >>>> If you do find anything like c.l.p for Javascrip

Re: [OT'ish] Is there a list as good as this for Javascript

2016-03-24 Thread Mark Lawrence
On 24/03/2016 22:45, c...@isbd.net wrote: Mark Lawrence wrote: On 24/03/2016 22:08, c...@isbd.net wrote: If you do find anything like c.l.p for Javascript, let us know... OK! :-) I'd try c.l.bartc as he is the world's leading expert on everything that you need to know

Re: [OT'ish] Is there a list as good as this for Javascript

2016-03-24 Thread Mark Lawrence
On 24/03/2016 22:49, Chris Angelico wrote: On Fri, Mar 25, 2016 at 9:31 AM, Mark Lawrence wrote: On 24/03/2016 22:08, c...@isbd.net wrote: If you do find anything like c.l.p for Javascript, let us know... OK! :-) I'd try c.l.bartc as he is the world's leading expert on

Re: [OT'ish] Is there a list as good as this for Javascript

2016-03-24 Thread cl
Mark Lawrence wrote: > On 24/03/2016 22:08, c...@isbd.net wrote: > > > >> If you do find anything like c.l.p for Javascript, let us know... > >> > > OK! :-) > > > > I'd try c.l.bartc as he is the world's leading expert on everything that

Re: [OT'ish] Is there a list as good as this for Javascript

2016-03-24 Thread Chris Angelico
On Fri, Mar 25, 2016 at 9:31 AM, Mark Lawrence wrote: > On 24/03/2016 22:08, c...@isbd.net wrote: >> >> >>> If you do find anything like c.l.p for Javascript, let us know... >>> >> OK! :-) >> > > I'd try c.l.bartc as he is the world'

Re: [OT'ish] Is there a list as good as this for Javascript

2016-03-24 Thread Mark Lawrence
On 24/03/2016 22:08, c...@isbd.net wrote: If you do find anything like c.l.p for Javascript, let us know... OK! :-) I'd try c.l.bartc as he is the world's leading expert on everything that you need to know about any language, whereby the only thing to know is how fast is it.

Re: [OT'ish] Is there a list as good as this for Javascript

2016-03-24 Thread cl
Grant Edwards wrote: > On 2016-03-24, c...@isbd.net wrote: > > > I use Python wherever I can and find this list (as a usenet group > > via gmane) an invaluable help at times. > > > > Occasionally I have to make forays into Javascript, can anyone > > recommen

Re: [OT'ish] Is there a list as good as this for Javascript

2016-03-24 Thread Grant Edwards
On 2016-03-24, c...@isbd.net wrote: > I use Python wherever I can and find this list (as a usenet group > via gmane) an invaluable help at times. > > Occasionally I have to make forays into Javascript, can anyone > recommend a place similar to this list where Javascript questions

[OT'ish] Is there a list as good as this for Javascript

2016-03-24 Thread cl
I use Python wherever I can and find this list (as a usenet group via gmane) an invaluable help at times. Occasionally I have to make forays into Javascript, can anyone recommend a place similar to this list where Javascript questions can be asked? The trouble is that there are very many usenet

Re: Speaking of Javascript [was Re: Everything good about Python except GUI IDE?]

2016-03-02 Thread Jon Ribbens
button to install an app, which is something anyone could > do with full control of a web site; I think that's just a proof-of-concept sort of thing. There's much more interesting things you can do than put up "download this exe and run it" pop-ups if you can run arbitrary javasc

Re: Speaking of Javascript [was Re: Everything good about Python except GUI IDE?]

2016-03-02 Thread Chris Angelico
On Thu, Mar 3, 2016 at 5:29 AM, Jon Ribbens wrote: > On 2016-03-02, Chris Angelico wrote: >> To be fair, this isn't a JS exploit; it's a trusting-of-trust issue - >> eBay has declared that you can trust them to sanitize their sellers' >> listings, and so you trust eBay, but this exploit gets past

Re: Speaking of Javascript [was Re: Everything good about Python except GUI IDE?]

2016-03-02 Thread Jon Ribbens
On 2016-03-02, Chris Angelico wrote: > To be fair, this isn't a JS exploit; it's a trusting-of-trust issue - > eBay has declared that you can trust them to sanitize their sellers' > listings, and so you trust eBay, but this exploit gets past the > filter. This is true. It sounds like their filter

Re: Speaking of Javascript [was Re: Everything good about Python except GUI IDE?]

2016-03-02 Thread Chris Angelico
On Thu, Mar 3, 2016 at 4:05 AM, Steven D'Aprano wrote: > Speaking of Javascript exploits: > > http://thedailywtf.com/articles/bidding-on-security > > > This is a real exploit, and Ebay have refused to fix it. Yay them! > > More here: > > http://blog.checkpoint.c

Speaking of Javascript [was Re: Everything good about Python except GUI IDE?]

2016-03-02 Thread Steven D'Aprano
Speaking of Javascript exploits: http://thedailywtf.com/articles/bidding-on-security This is a real exploit, and Ebay have refused to fix it. Yay them! More here: http://blog.checkpoint.com/2016/02/02/ebay-platform-exposed-to-severe-vulnerability/ -- Steven -- https://mail.python.org

Re: PyFladesk :: create GUI apps by Python and HTML, CSS and Javascript.

2016-01-08 Thread Michael Torrie
On 01/07/2016 08:54 PM, jacob Kruger wrote: > I would definitely like to try out something like this - I am primarily > a web developer, and, partly since am 100% blind, any form of GUI design > is at times an issue for me, whereas I have been working with HTML > markup layouts for almost 20 yea

Re: PyFladesk :: create GUI apps by Python and HTML, CSS and Javascript.

2016-01-07 Thread jacob Kruger
Ok, double-checked again, and if force it to run under 2.7, then it complains about lack of pyQT4 - that's one of the issues was asking about relating to GUI frameworks - pyQT hasn't always worked too well under 2.7 in terms of accessibility API's in past, but, will 'see' if can get hold of tha

Re: PyFladesk :: create GUI apps by Python and HTML, CSS and Javascript.

2016-01-07 Thread Bernardo Sulzbach
On Fri, Jan 8, 2016 at 1:54 AM, jacob Kruger wrote: > > Also, downloaded both the main master, and the RSS reader master images, > but, both python 2.7 and python 3.4 tell me that they have no urllib2, and > under 3.4, pip install can't find it either..? > > TIA > Python 3 does not have urllib2.

Re: PyFladesk :: create GUI apps by Python and HTML, CSS and Javascript.

2016-01-07 Thread jacob Kruger
ython, HTML, CSS and Javascript. source code is https://github.com/smoqadam/PyFladesk you can find RSS Reader app that made by PyFladesk in the following url : https://github.com/smoqadam/PyFladesk-rss-reader I'll waiting for your feedback. thanks -- https://mail.python.org/mailman/listinfo/python-list

PyFladesk :: create GUI apps by Python and HTML, CSS and Javascript.

2016-01-07 Thread Saeed Moqadam
create multi platform desktop application by using Python, HTML, CSS and Javascript. source code is https://github.com/smoqadam/PyFladesk you can find RSS Reader app that made by PyFladesk in the following url : https://github.com/smoqadam/PyFladesk-rss-reader I'll waiting for your fee

Re: Add items from a python list to a javascript array

2015-09-19 Thread Denis McMahon
On Sat, 19 Sep 2015 00:25:20 -0700, Darryl Doherty wrote: > I have a kiosk for digital signage which has a html index file with a > javascript which rotates through other html files using iframe at timed > intervals. What I want to do is edit the array in the index file with > Pytho

Add items from a python list to a javascript array

2015-09-19 Thread Darryl Doherty
I have a kiosk for digital signage which has a html index file with a javascript which rotates through other html files using iframe at timed intervals. What I want to do is edit the array in the index file with Python to add and remove the HTML file paths from the array. I have a list of all

Re: pyjs - a compiler from Python to JavaScript

2015-08-12 Thread Uri Even-Chen
true to python (python > compatible). As stated before it doesn't compile to stand alone > Javascript, but the compile time is usually minimal. Access to Javascript > libraries is supported. You really should give it a try.. > http://brython.info > > Billy > > On T

Re: pyjs - a compiler from Python to JavaScript

2015-08-12 Thread Billy Earney
Uri, Brython on the other hand, tries to stay true to python (python compatible). As stated before it doesn't compile to stand alone Javascript, but the compile time is usually minimal. Access to Javascript libraries is supported. You really should give it a try.. http://brython.info

Re: pyjs - a compiler from Python to JavaScript

2015-08-11 Thread Chris Angelico
On Wed, Aug 12, 2015 at 5:08 AM, Fabio Zadrozny wrote: > > As it's just a way to convert from a Python-like syntax to JavaScript syntax > you can even switch to plain JavaScript later on if you want -- in fact, when > you debug the code you'll be debugging JavaScript and

Re: pyjs - a compiler from Python to JavaScript

2015-08-11 Thread Uri Even-Chen
ue, Aug 11, 2015 at 10:08 PM, Fabio Zadrozny wrote: > Hi Uri, > > No, I'm not related to it. -- I'm the PyDev/Eclipse maintainer... that > already takes a lot of my time ;) > > It's license is BSD (so, no need to pay). As it's just a way to convert > from a

Re: pyjs - a compiler from Python to JavaScript

2015-08-11 Thread Fabio Zadrozny
Hi Uri, No, I'm not related to it. -- I'm the PyDev/Eclipse maintainer... that already takes a lot of my time ;) It's license is BSD (so, no need to pay). As it's just a way to convert from a Python-like syntax to JavaScript syntax you can even switch to plain JavaScript

Re: pyjs - a compiler from Python to JavaScript

2015-08-11 Thread Uri Even-Chen
x27;s OK that I reply to these 3 mailing >> lists) but I also asked if I can use JavaScript scripts such as jQuery, >> jQuery UI and other jQuery plugins from the scripts in Python and Russell >> said it's possible but not practical for production. And I'm thinking about

Re: pyjs - a compiler from Python to JavaScript

2015-08-11 Thread Fabio Zadrozny
t I also asked if I can use JavaScript scripts such as jQuery, > jQuery UI and other jQuery plugins from the scripts in Python and Russell > said it's possible but not practical for production. And I'm thinking about > developing Speedy Mail Software or other projects for pro

Re: pyjs - a compiler from Python to JavaScript

2015-08-11 Thread Uri Even-Chen
Thanks for the feedback. Actually I asked this question also in the django-users mailing list and Russell Keith-Magee told me about Brython, Skulpt and PyPy.js (I hope it's OK that I reply to these 3 mailing lists) but I also asked if I can use JavaScript scripts such as jQuery, jQuery U

Re: pyjs - a compiler from Python to JavaScript

2015-08-10 Thread Ian Kelly
On Fri, Aug 7, 2015 at 5:00 AM, Uri Even-Chen wrote: > > Are you familiar with pyjs? I saw the website and I see that the latest > stable release is from May 2012. Is it possible to use pyjs to compile Python > to JavaScript? Which versions of Python are supported? Are versions 2.

Re: pyjs - a compiler from Python to JavaScript

2015-08-10 Thread Billy Earney
Uri, It has been a few years since I have messed with py2js. Have you checked out brython? http://brython.info It supports javascript libraries such as jQuery, raphael.js, etc. Billy On Fri, Aug 7, 2015 at 6:00 AM, Uri Even-Chen wrote: > To Python developers, > > Are you familiar

pyjs - a compiler from Python to JavaScript

2015-08-10 Thread Uri Even-Chen
To Python developers, Are you familiar with pyjs <http://pyjs.org/>? I saw the website and I see that the latest stable release is from May 2012. Is it possible to use pyjs to compile Python to JavaScript? Which versions of Python are supported? Are versions 2.7 and 3.4 supported? And

Re: Javascript website scraping using WebKit and Selenium tools

2015-07-01 Thread Veek M
dieter wrote: > Once the problems to get the "final" HTML code solved, > I would use "lxml" and its "xpath" support to locate any > relevant HTML information. Hello Dieter, yes - you are correct. (though I don't think there's any auth to browse - nice that you actually tried) He's using jsonP an

Re: Javascript website scraping using WebKit and Selenium tools

2015-07-01 Thread dieter
Veek M writes: > I tried scraping a javascript website using two tools, both didn't work. The > website link is: http://xdguo.taobao.com/category-499399872.htm The relevant > text I'm trying to extract is 'GY-68...': > > > > > >

Javascript website scraping using WebKit and Selenium tools

2015-07-01 Thread Veek M
I tried scraping a javascript website using two tools, both didn't work. The website link is: http://xdguo.taobao.com/category-499399872.htm The relevant text I'm trying to extract is 'GY-68...': I'm

Python functionality in Javascript

2015-06-21 Thread jonas . thornvall
Check this out using a 8 digit base with a 100 digit number no problem. http://jt.node365.se/baseconversion3.html -- https://mail.python.org/mailman/listinfo/python-list

  1   2   3   4   5   >