Co-op Group: Django web framework

2023-08-28 Thread dn via Python-list
Are you interested in learning Django? Would like to improve your Django knowledge and skills? Have you been picking-up Django piecemeal, and need to consolidate and clarify? Do you know some Django and would like to acquire mentoring and coaching skills? If so, please join us to form a L

Re: Why so fast a web framework?

2021-10-29 Thread Benjamin Schollnick
>> Sometimes this group reminds me of a certain large company I worked for. >> If they didn't have a solution addressing a problem, they'd pretend it >> didn't matter and belittle anyone who questioned that version of reality. >> > > That's not strictly true; what's happening here is that someone

Re: Why so fast a web framework?

2021-10-28 Thread Abdur-Rahmaan Janhangeer
Well, They don't choose languages per se but choose frameworks based on that and ... by virtue of that choose languages. Like just to get faster web services. The benchmark is pretty much referred to in the Python world, web side like https://www.starlette.io/ "Independent T

Re: Why so fast a web framework?

2021-10-28 Thread Chris Angelico
On Fri, Oct 29, 2021 at 3:49 PM Dan Stromberg wrote: > > I care, and I suspect the OP does too. Usually machine time doesn't matter > as much as developer time, but API overhead Can matter - especially on a > busy server. > > I wonder if Pypy would do any better? Or Micropython? Or Cython? > >

Re: Why so fast a web framework?

2021-10-28 Thread Dan Stromberg
I care, and I suspect the OP does too. Usually machine time doesn't matter as much as developer time, but API overhead Can matter - especially on a busy server. I wonder if Pypy would do any better? Or Micropython? Or Cython? CPython != Python. Sometimes this group reminds me of a certain lar

Re: Why so fast a web framework?

2021-10-28 Thread Chris Angelico
On Fri, Oct 29, 2021 at 6:17 AM Calvin Spealman wrote: > > I don't think there's anything meaningful being compared in that so-called > "benchmark" at all. There is no evidence that its worth even the smallest > bit of attention. > > You want to write a web

Re: Why so fast a web framework?

2021-10-28 Thread Calvin Spealman
I don't think there's anything meaningful being compared in that so-called "benchmark" at all. There is no evidence that its worth even the smallest bit of attention. You want to write a web service? Do it. Use Python or PHP, or whatever you prefer. Do you think your service

Re: Why so fast a web framework?

2021-10-28 Thread Abdur-Rahmaan Janhangeer
Me Like why exactly is that the case, i would not be surprised for rust, C, CPP etc But as to where the difference comes for two comparatively similar langs. Kind Regards, Abdur-Rahmaan Janhangeer about | blog github

Re: Why so fast a web framework?

2021-10-28 Thread Calvin Spealman
Who cares? On Wed, Oct 27, 2021 at 10:47 PM Abdur-Rahmaan Janhangeer < arj.pyt...@gmail.com> wrote: > @Chris @Peter > > > See that famous benchmark > > https://www.techempower.com/benchmarks/#section=data-r20 > > Like routinely PHP frameworks appear higher up than py > -- > https://mail.python.or

Re: Why so fast a web framework?

2021-10-27 Thread Abdur-Rahmaan Janhangeer
@Chris @Peter See that famous benchmark https://www.techempower.com/benchmarks/#section=data-r20 Like routinely PHP frameworks appear higher up than py -- https://mail.python.org/mailman/listinfo/python-list

Re: Why so fast a web framework?

2021-10-27 Thread Peter J. Holzer
On 2021-10-27 23:49:59 +0400, Abdur-Rahmaan Janhangeer wrote: > See this: > https://github.com/walkor/webman > > Why similar frameworks do not exist in Python. Is it because > of lack of lib contributors or due to an inherent difference in Py > and PHP? Thanks! The comparison table contains only

Re: Why so fast a web framework?

2021-10-27 Thread Chris Angelico
On Thu, Oct 28, 2021 at 6:52 AM Abdur-Rahmaan Janhangeer wrote: > > See this: > https://github.com/walkor/webman > > Why similar frameworks do not exist in Python. Is it because > of lack of lib contributors or due to an inherent difference in Py > and PHP? Thanks! > It depends entirely on what t

Why so fast a web framework?

2021-10-27 Thread Abdur-Rahmaan Janhangeer
See this: https://github.com/walkor/webman Why similar frameworks do not exist in Python. Is it because of lack of lib contributors or due to an inherent difference in Py and PHP? Thanks! Kind Regards, Abdur-Rahmaan Janhangeer about | blog

web conference on python

2020-10-20 Thread Agnese Camellini
Hello, i am not a staff member, but some connection on likeding asked me to share this link and i would be happy if it helps someone. https://python.geekle.us/? -- https://mail.python.org/mailman/listinfo/python-list

Web Developer | Job position at CMCC Foundation, Italy

2020-07-17 Thread CMCC Info
/Please, feel free to circulate //to anyone you think may be interested./// -- Web Developer (code 11648*)* <https://www.cmcc.it/jobs/11648-web-developer> *Deadline: **23/08/2020* The CMCC is taking into consideration the possibility to hire a talented, motivated and proactive Web Dev

Getting ReadTimeoutError for tensorflow while deploying python app to Azure Web App

2020-04-11 Thread kargawal . abhishek
remote: [20:44:36+] Collecting tensorflow==2.1.0 remote: [20:44:36+] Downloading tensorflow-2.1.0-cp37-cp37m-manylinux2010_x86_64.whl (421.8 MB) remote: ... remote: ... remote:

Re: Python Resources related with web security

2019-11-27 Thread Peter J. Holzer
On 2019-11-28 10:56:58 +1300, Greg Ewing wrote: > On 27/11/19 10:54 am, Mr. Gentooer wrote: > > why would I be a troll? I have never used usenet. I am honestly and > > genuinely curious. > > The reason people are asking is that wanting a manual on how to > search the Web

Re: Python Resources related with web security

2019-11-27 Thread Greg Ewing
On 27/11/19 10:54 am, Mr. Gentooer wrote: why would I be a troll? I have never used usenet. I am honestly and genuinely curious. The reason people are asking is that wanting a manual on how to search the Web is a bit like wanting a manual on how to walk. Most people pick it up by watching

Re: Python Resources related with web security

2019-11-26 Thread Michael Torrie
On 11/26/19 10:24 AM, Pycode wrote: > On Tue, 26 Nov 2019 10:20:11 -0500, Dennis Lee Bieber wrote: > >> On Tue, 26 Nov 2019 02:51:36 + (UTC), Pycode >> declaimed the following: >> >>> which keywords should i use for web-search? do you have a list? >

Re: Python Resources related with web security

2019-11-26 Thread Michael Torrie
On 11/26/19 11:57 AM, Pycode wrote: > On Wed, 27 Nov 2019 04:35:10 +1100, Chris Angelico wrote: >> On Wed, Nov 27, 2019 at 4:26 AM Pycode wrote: >>> asking offtopic question, >>> can you give a few guides that teach how to search the web? >>> >> At this p

Re: Python Resources related with web security

2019-11-26 Thread Mr. Gentooer
On Tue, Nov 26, 2019 at 03:29:48PM -0500, Joel Goldstick wrote: > On Tue, Nov 26, 2019 at 2:23 PM Mr. Gentooer wrote: > > > > > > On Mon, 25 Nov 2019 21:25:12 + (UTC), Pycode > > > > declaimed the following: > > > > > > > > comp.lang.python gmane.comp.python.general > > > > how do you access

Re: Python Resources related with web security

2019-11-26 Thread mm0fmf
On 26/11/2019 21:35, Rob Gaddi wrote: On 11/26/19 12:41 PM, Grant Edwards wrote: On 2019-11-26, Joel Goldstick wrote: I'm thinking this is a troll or a turing machine experiment? Yea, many of the posts remind me of ELIZA. How do you feel about many of the posts remind you of ELIZA? +1

Re: Python Resources related with web security

2019-11-26 Thread Rob Gaddi
On 11/26/19 12:41 PM, Grant Edwards wrote: On 2019-11-26, Joel Goldstick wrote: I'm thinking this is a troll or a turing machine experiment? Yea, many of the posts remind me of ELIZA. How do you feel about many of the posts remind you of ELIZA? -- Rob Gaddi, Highland Technology -- www.hi

Re: Python Resources related with web security

2019-11-26 Thread Grant Edwards
On 2019-11-26, Joel Goldstick wrote: > I'm thinking this is a troll or a turing machine experiment? Yea, many of the posts remind me of ELIZA. -- Grant Edwards grant.b.edwardsYow! Hmmm ... A hash-singer at and a cross-eyed g

Re: Python Resources related with web security

2019-11-26 Thread Joel Goldstick
On Tue, Nov 26, 2019 at 2:23 PM Mr. Gentooer wrote: > > > > On Mon, 25 Nov 2019 21:25:12 + (UTC), Pycode > > > declaimed the following: > > > > > > comp.lang.python gmane.comp.python.general > > how do you access these in a reasonable way? > > -- > https://mail.python.org/mailman/listinfo/pyt

Re: Python Resources related with web security

2019-11-26 Thread Mr. Gentooer
> > On Mon, 25 Nov 2019 21:25:12 + (UTC), Pycode > > declaimed the following: > > > > comp.lang.python gmane.comp.python.general how do you access these in a reasonable way? -- https://mail.python.org/mailman/listinfo/python-list

Re: Python Resources related with web security

2019-11-26 Thread Pycode
On Wed, 27 Nov 2019 04:35:10 +1100, Chris Angelico wrote: > On Wed, Nov 27, 2019 at 4:26 AM Pycode wrote: >> asking offtopic question, >> can you give a few guides that teach how to search the web? >> >> > At this point, I'm starting to be quite confuse

Re: Python Resources related with web security

2019-11-26 Thread Chris Angelico
On Wed, Nov 27, 2019 at 4:26 AM Pycode wrote: > asking offtopic question, > can you give a few guides that teach how to search the web? > At this point, I'm starting to be quite confused as to whether this is a genuine question or a parody. I'd love to respond to it as a parod

Re: Python Resources related with web security

2019-11-26 Thread Pycode
On Tue, 26 Nov 2019 10:20:11 -0500, Dennis Lee Bieber wrote: > On Tue, 26 Nov 2019 02:51:36 + (UTC), Pycode > declaimed the following: > >>which keywords should i use for web-search? do you have a list? >>what is the best "manual" for the specific security top

Re: Python Resources related with web security

2019-11-26 Thread Pycode
On Tue, 26 Nov 2019 14:01:54 +1100, Chris Angelico wrote: > On Tue, Nov 26, 2019 at 1:56 PM Pycode wrote: >> >> which keywords should i use for web-search? do you have a list? >> what is the best "manual" for the specific security topic? > > https:

Re: Python Resources related with web security

2019-11-25 Thread Chris Angelico
On Tue, Nov 26, 2019 at 1:56 PM Pycode wrote: > > which keywords should i use for web-search? do you have a list? > what is the best "manual" for the specific security topic? https://lmgtfy.com/?q=How+to+search+the+web ChrisA -- https://mail.python.org/mailman/listinfo/python-list

Re: Python Resources related with web security

2019-11-25 Thread Pycode
On Mon, 25 Nov 2019 17:32:50 -0500, Dennis Lee Bieber wrote: > On Mon, 25 Nov 2019 21:25:12 + (UTC), Pycode > declaimed the following: > > >>you are not being helpful or answer the question.. >>can someone answer? maybe should i ask on the mailing list? > > Why? > > comp.lang.python

Re: Python Resources related with web security

2019-11-25 Thread Pycode
ction. But > not knowing who you are (see point #1 above), I imagine folks here are > hesitant. And almost certainly not going to spoon-feed example code > that could then end up attacking sites on the web. > > So I suspect DL Neil was raising awareness to make sure that anyb

Re: Python Resources related with web security

2019-11-25 Thread DL Neil via Python-list
On 26/11/19 11:48 AM, Tim Chase wrote: On 2019-11-25 21:25, Pycode wrote: On Sun, 24 Nov 2019 10:41:29 +1300, DL Neil wrote: Are such email addresses 'open' and honest? you are not being helpful or answer the question.. What DL Neil seems to be getting at is that there's been an uptick in q

Re: Python Resources related with web security

2019-11-25 Thread Tim Chase
ey're the sorts of tools that, if the community deems you a non-threatening-actor, they might point you in the right direction. But not knowing who you are (see point #1 above), I imagine folks here are hesitant. And almost certainly not going to spoon-feed example code that could then end up attacking s

Re: Python Resources related with web security

2019-11-25 Thread Pycode
On Sun, 24 Nov 2019 10:41:29 +1300, DL Neil wrote: > Curiosity: why have recent similar enquiries also come from > non-resolving domain names? > > > Recently we've seen security-related enquiries (on more than one Python > Discussion List) which don't explicitly claim to come from 'white hat > h

Re: Python Resources related with web security

2019-11-23 Thread DL Neil via Python-list
Curiosity: why have recent similar enquiries also come from non-resolving domain names? Recently we've seen security-related enquiries (on more than one Python Discussion List) which don't explicitly claim to come from 'white hat hackers' but which do have the potential to have less-than prod

Python Resources related with web security

2019-11-23 Thread Pycode
Hello, can anyone post links for python resources that contain tools and scripts related with security and pentesting? not looking for the obvious such as OWASP,etc can anyone post a list of interesting links? you can also include blogs and forums.. Thanks -- https://mail.python.org/mailman/l

Re: Speeding up a test process with a local pypi and/or web proxy?

2019-11-19 Thread Dan Stromberg
e next thing to look at is setting up a local pypi, and > building some of the packages that're compiled from C/C++ every time we do > a full test run. (We're using docker and building dependencies for each > full test run) > > Also, we could conceivably set up a web proxy

Speeding up a test process with a local pypi and/or web proxy?

2019-11-15 Thread Dan Stromberg
re compiled from C/C++ every time we do a full test run. (We're using docker and building dependencies for each full test run) Also, we could conceivably set up a web proxy...? Does having a local pypi obviate the web proxy? And what local pypi servers do folks recommend for speed? We need suppo

Re: web scraper

2019-10-26 Thread Michael Torrie
On 10/25/19 9:19 AM, joseph pareti wrote: > but can it be generalized? > Not all tags are in the form ofto just replace those tags in the code, should > one process a different website? Not really, no. There is not an easy way to generalize this sort of web scraping. There

web scraper

2019-10-26 Thread joseph pareti
Thank you so much for your very valuable guidance on my python experiment. Meanwhile the problems I reported before have been solved. This is part of a program that extracts specific information from bank transaction records, and one functionality I still need to implement is a *web scraper

Re: Web framework for static pages

2019-08-13 Thread Morten W. Petersen
oint, even if that learning > better-equips you to change to something else later! > (see also mention in other contributions to this thread) > > > > And where it is easy to override using for example plain or template > > HTML, or extend programmatic features using some plugins or jus

Re: Web framework for static pages

2019-08-13 Thread DL Neil
e it is easy to override using for example plain or template HTML, or extend programmatic features using some plugins or just subclassing. Using Python as an 'engine' to generate a web-site, either as a static file-set or as part of a web server is relatively trivial. Some of your mor

Re: Web framework for static pages

2019-08-13 Thread Joel Goldstick
On Tue, Aug 13, 2019 at 4:12 PM Morten W. Petersen wrote: > > Hi Joel. > > I don't disagree with what you're saying, but is there a documented way of > making Django produce a neat set of static pages? > > It would be nice to use a web application framework to cr

Re: Web framework for static pages

2019-08-13 Thread Morten W. Petersen
Hi Joel. I don't disagree with what you're saying, but is there a documented way of making Django produce a neat set of static pages? It would be nice to use a web application framework to create pages, because it would after that be easy to add a little bit of logic if a customer w

Re: Web framework for static pages

2019-08-13 Thread Joel Goldstick
On Tue, Aug 13, 2019 at 2:46 PM DL Neil wrote: > > On 14/08/19 2:26 AM, Grant Edwards wrote: > > On 2019-08-13, Jon Ribbens via Python-list wrote: > > > >> If it's really that small then it sounds like what you are looking for > >> is known as a "text editor". > > > > Bah. Kids these days. > > >

Re: Web framework for static pages

2019-08-13 Thread DL Neil
On 14/08/19 2:26 AM, Grant Edwards wrote: On 2019-08-13, Jon Ribbens via Python-list wrote: If it's really that small then it sounds like what you are looking for is known as a "text editor". Bah. Kids these days. $ cat > index.hmtl [roaring with laughter] Oh come now. Surely a per

Re: Web framework for static pages

2019-08-13 Thread Brian Oney via Python-list
L HTML 5? Is it the >ability >to write websites using a text editor only what makes web companies >continue the malformed input cycle, or is it legacy websites? > >-Morten It's all text. Or do you have a better suggestion? What is wrong with templates? -- https://mail.python.org/mailman/listinfo/python-list

Re: Web framework for static pages

2019-08-13 Thread Jon Ribbens via Python-list
e ability > to write websites using a text editor only what makes web companies > continue the malformed input cycle, or is it legacy websites? I'm not sure why you think that using XML is in any way "pure" or "perfect", nor why not using XML means your input is &qu

Re: Web framework for static pages

2019-08-13 Thread Morten W. Petersen
HMTL? Good you weren't in cat input after a newline. 😁 -Morten Blogging at http://blogologue.com Tweeting at https://twitter.com/blogologue On Instagram https://instagram.com/morphexx tir. 13. aug. 2019, 16.28 skrev Grant Edwards : > On 2019-08-13, Jon Ribbens via Python-list wrote: > > > If i

Re: Web framework for static pages

2019-08-13 Thread Grant Edwards
On 2019-08-13, Jon Ribbens via Python-list wrote: > If it's really that small then it sounds like what you are looking for > is known as a "text editor". Bah. Kids these days. $ cat > index.hmtl -- Grant Edwards grant.b.edwardsYow! My vaseline is

Re: Web framework for static pages

2019-08-13 Thread Morten W. Petersen
that takes quite a bit of time. Yes, my fixation on XML HTML might be a bit purist or perfectionist, but isn't it strange that there isn't a DTD for XML HTML 5? Is it the ability to write websites using a text editor only what makes web companies continue the malformed input cycle, or i

Re: Web framework for static pages

2019-08-13 Thread Morten W. Petersen
Ok, will take a look at those. -Morten Blogging at http://blogologue.com Tweeting at https://twitter.com/blogologue On Instagram https://instagram.com/morphexx tir. 13. aug. 2019, 14.39 skrev Jan Erik Moström : > On 13 Aug 2019, at 12:54, Morten W. Petersen wrote: > > > I was hoping to avoid te

Re: Web framework for static pages

2019-08-13 Thread Jon Ribbens via Python-list
On 2019-08-13, Morten W. Petersen wrote: > Ideally I'd want a static site generator that makes it easy and quick to > create a website which is pretty, accessible, works across browsers and > standards compliant and doesn't freeze the browser on a low-end phone. That isn't what they do. All those

Re: Web framework for static pages

2019-08-13 Thread Morten W. Petersen
rote: > >> On August 12, 2019 9:14:55 AM GMT+02:00, morphex > >> wrote: > >>> Hi. > >>> What frameworks are there for generating static web pages in Python? > >> I have used: > >> https://github.com/Frozen-Flask/Frozen-Flask > >>

Re: Web framework for static pages

2019-08-13 Thread Morten W. Petersen
Yes. Well, one of the ideas of the web is being able to create a website using simple tools like that. And I like that idea. And for one site, either small or very specialized and well-funded, that would be an OK choice. However, I want to offer customers websites that cover their needs, without

Re: Web framework for static pages

2019-08-13 Thread Morten W. Petersen
, so it could be entirely served by for > >example Apache. > > > >And with it having well-formed XHTML, proper CSS, little Javascript, > >scaling to different screen and web browsers (wow, it's been so long I > >forgot it was called responsive design) and so on,

Re: Web framework for static pages

2019-08-13 Thread DL Neil
On 13/08/19 10:01 AM, Morten W. Petersen wrote: On 12.08.2019 18:13, Brian Oney wrote: On August 12, 2019 9:14:55 AM GMT+02:00, morphex wrote: Hi. What frameworks are there for generating static web pages in Python? I have used: https://github.com/Frozen-Flask/Frozen-Flask It's pretty s

Re: Web framework for static pages

2019-08-12 Thread Jon Ribbens via Python-list
On 2019-08-12, Morten W. Petersen wrote: > What I guess I'm looking for, is something that will help create a > static website, in a simple and efficient manner. Without being bloated. > > I don't have a lot of hair on my head, but I would be pulling it out > because of some of the websites I s

Re: Web framework for static pages

2019-08-12 Thread Cameron Simpson
che. And with it having well-formed XHTML, proper CSS, little Javascript, scaling to different screen and web browsers (wow, it's been so long I forgot it was called responsive design) and so on, being a nice little package. The common search term is "static site generator". The

Re: Web framework for static pages

2019-08-12 Thread Morten W. Petersen
On 12.08.2019 18:13, Brian Oney wrote: On August 12, 2019 9:14:55 AM GMT+02:00, morphex wrote: Hi. What frameworks are there for generating static web pages in Python? I have used: https://github.com/Frozen-Flask/Frozen-Flask It's pretty simple. Develop with flask and then "

Re: Web framework for static pages

2019-08-12 Thread morphex
Why Google it, when I have an Oracle? 😄 -Morten -- https://mail.python.org/mailman/listinfo/python-list

Re: Web framework for static pages

2019-08-12 Thread Michael Torrie
On 8/12/19 1:14 AM, morphex wrote: > What frameworks are there for generating static web pages in Python? What are > the features of each? A quick google search reveals a number of them. Pelican, Hyde, etc. -- https://mail.python.org/mailman/listinfo/python-list

Re: Web framework for static pages

2019-08-12 Thread Brian Oney via Python-list
On August 12, 2019 9:14:55 AM GMT+02:00, morphex wrote: >Hi. > >What frameworks are there for generating static web pages in Python? I have used: https://github.com/Frozen-Flask/Frozen-Flask It's pretty simple. Develop with flask and then "freeze" it. I am lo

Web framework for static pages

2019-08-12 Thread morphex
Hi. After a long break, I'm starting to work with web development again, in my company Nidelven IT. http://www.nidelven-it.no I've used Zope and Plone since the early days, as well as other web systems / frameworks, Python-based, some PHP, Java etc. However, I would like to add an

Re: Handle foreign character web input

2019-07-04 Thread Peter J. Holzer
ounterparts. > > Just curious - what would you do? I would set up a web registration form, so people can use their own device (phone, laptop, whatever) to enter their name. Presumably they know how to enter their name on their device. I definitely don't know how to enter a hand-writt

Re: Handle foreign character web input

2019-07-03 Thread Chris Angelico
On Thu, Jul 4, 2019 at 8:12 AM Igor Korot wrote: > > Hi, Chris, > > On Wed, Jul 3, 2019 at 4:41 PM Chris Angelico wrote: > > > > On Thu, Jul 4, 2019 at 7:08 AM Igor Korot wrote: > > > > > > Hi, Thomas, > > > > > > On Sat, Jun 29, 2019 at 11:06 AM Thomas Jollans wrote: > > > > > > > > On 28/06/2

Re: Handle foreign character web input

2019-07-03 Thread Igor Korot
Hi, Chris, On Wed, Jul 3, 2019 at 4:41 PM Chris Angelico wrote: > > On Thu, Jul 4, 2019 at 7:08 AM Igor Korot wrote: > > > > Hi, Thomas, > > > > On Sat, Jun 29, 2019 at 11:06 AM Thomas Jollans wrote: > > > > > > On 28/06/2019 22:25, Tobiah wrote: > > > > A guy comes in and enters his last name

Re: Handle foreign character web input

2019-07-03 Thread Chris Angelico
On Thu, Jul 4, 2019 at 7:08 AM Igor Korot wrote: > > Hi, Thomas, > > On Sat, Jun 29, 2019 at 11:06 AM Thomas Jollans wrote: > > > > On 28/06/2019 22:25, Tobiah wrote: > > > A guy comes in and enters his last name as RÖnngren. > > With a capital Ö in the middle? That's unusual. > > > > > > So what

Re: Handle foreign character web input

2019-07-03 Thread Igor Korot
Hi, Thomas, On Sat, Jun 29, 2019 at 11:06 AM Thomas Jollans wrote: > > On 28/06/2019 22:25, Tobiah wrote: > > A guy comes in and enters his last name as RÖnngren. > With a capital Ö in the middle? That's unusual. > > > > So what did the browser really give me; is it encoded > > in some way, like

Re: Handle foreign character web input

2019-07-03 Thread mm0fmf
On 30/06/2019 15:04, Chris Angelico wrote: ut it looks like our old "Py3's Unicode is buggy" troll is back Yes... check the from field in the posts for confirmation. But it's obvious from the message content anyway. -- https://mail.python.org/mailman/listinfo/python-list

Re: Handle foreign character web input

2019-06-30 Thread Richard Damon
On 6/30/19 10:04 AM, Chris Angelico wrote: > On Sun, Jun 30, 2019 at 10:26 PM Richard Damon > wrote: >> On 6/30/19 4:00 AM, moi wrote: >> > I didn't see who you were quoting, but it looks like our old "Py3's > Unicode is buggy" troll is back (or maybe he never left, he just got > banned from the

Re: Handle foreign character web input

2019-06-30 Thread Michael Torrie
On 06/30/2019 06:21 AM, Richard Damon wrote: > On 6/30/19 4:00 AM, moi wrote: >> Unfortunately not. >> >> The only thing Python succeeds to propose is a mechanism >> which does the opposite of UTF-8 when it comes to handle >> memory *and* - at the same time - which also does the opposite >> of UTF-

Re: Handle foreign character web input

2019-06-30 Thread Chris Angelico
On Sun, Jun 30, 2019 at 10:26 PM Richard Damon wrote: > > On 6/30/19 4:00 AM, moi wrote: > > Le samedi 29 juin 2019 19:25:40 UTC+2, Richard Damon a écrit : > >> > >> Now (as I understand it), all Python (3) 'Strings' are internally > >> Unicode, if you need something with a different encoding it n

Re: Handle foreign character web input

2019-06-30 Thread Richard Damon
On 6/30/19 4:00 AM, moi wrote: > Le samedi 29 juin 2019 19:25:40 UTC+2, Richard Damon a écrit : >> >> Now (as I understand it), all Python (3) 'Strings' are internally >> Unicode, if you need something with a different encoding it needs to be >> in Bytes. >> >> -- > > Unfortunately not. > > The

Re: Handle foreign character web input

2019-06-29 Thread Jon Ribbens via Python-list
On 2019-06-28, Chris Angelico wrote: > On Sat, Jun 29, 2019 at 6:31 AM Tobiah wrote: >> A guy comes in and enters his last name as RÖnngren. >> >> So what did the browser really give me; is it encoded >> in some way, like latin-1? Does it depend on whether >> the name was cut and pasted from a W

Re: Handle foreign character web input

2019-06-29 Thread Alan Meyer via Python-list
On 6/28/19 4:25 PM, Tobiah wrote: A guy comes in and enters his last name as RÖnngren. So what did the browser really give me; is it encoded in some way, like latin-1?  Does it depend on whether the name was cut and pasted from a Word doc. etc? Should I handle these internally as unicode?  Right

Re: Handle foreign character web input

2019-06-29 Thread Richard Damon
On 6/29/19 3:19 AM, Thomas Jollans wrote: > On 28/06/2019 22:25, Tobiah wrote: >> A guy comes in and enters his last name as RÖnngren. > With a capital Ö in the middle? That's unusual. >> >> So what did the browser really give me; is it encoded >> in some way, like latin-1?  Does it depend on wheth

Re: Handle foreign character web input

2019-06-29 Thread Thomas Jollans
On 28/06/2019 22:25, Tobiah wrote: A guy comes in and enters his last name as RÖnngren. With a capital Ö in the middle? That's unusual. So what did the browser really give me; is it encoded in some way, like latin-1?  Does it depend on whether the name was cut and pasted from a Word doc. etc?

Re: Handle foreign character web input

2019-06-28 Thread Terry Reedy
On 6/28/2019 4:25 PM, Tobiah wrote: A guy comes in and enters his last name as RÖnngren. So what did the browser really give me; is it encoded in some way, like latin-1?  Does it depend on whether the name was cut and pasted from a Word doc. etc? Should I handle these internally as unicode?  Rig

Re: Handle foreign character web input

2019-06-28 Thread Akkana Peck
ike that. There are other methods too -- include "fuzzy" in your web searches and you'll probably find several options. ...Akkana -- https://mail.python.org/mailman/listinfo/python-list

Re: Handle foreign character web input

2019-06-28 Thread Chris Angelico
On Sat, Jun 29, 2019 at 7:01 AM Tobiah wrote: > > > On 6/28/19 1:33 PM, Chris Angelico wrote:> On Sat, Jun 29, 2019 at 6:31 AM > Tobiah wrote: > >> > >> A guy comes in and enters his last name as RÖnngren. > >> > >> So what did the browser really give me; is it encoded > >> in some way, like lat

Re: Handle foreign character web input

2019-06-28 Thread inhahe
: > > On 6/28/19 1:33 PM, Chris Angelico wrote:> On Sat, Jun 29, 2019 at 6:31 AM > Tobiah wrote: > > >> Also, what do people do when searching for a record. > >> Is there some way to get 'Ronngren' to match the other > >> possible foreign spellings? > > > > I think I've heard of algorithms that

Re: Handle foreign character web input

2019-06-28 Thread Tobiah
On 6/28/19 1:33 PM, Chris Angelico wrote:> On Sat, Jun 29, 2019 at 6:31 AM Tobiah wrote: A guy comes in and enters his last name as RÖnngren. So what did the browser really give me; is it encoded in some way, like latin-1? Does it depend on whether the name was cut and pasted from a Word do

Re: Handle foreign character web input

2019-06-28 Thread Chris Angelico
On Sat, Jun 29, 2019 at 6:31 AM Tobiah wrote: > > A guy comes in and enters his last name as RÖnngren. > > So what did the browser really give me; is it encoded > in some way, like latin-1? Does it depend on whether > the name was cut and pasted from a Word doc. etc? > Should I handle these inter

Handle foreign character web input

2019-06-28 Thread Tobiah
A guy comes in and enters his last name as RÖnngren. So what did the browser really give me; is it encoded in some way, like latin-1? Does it depend on whether the name was cut and pasted from a Word doc. etc? Should I handle these internally as unicode? Right now my database tables are latin-1

Custom Python web development companies across the globe - ETG - Etisbew Technology Group

2019-04-17 Thread ETG GlobalServices
ETG one among the best custom Python web development companies across the globe, we cover a wide array of Python web app development services using latest framework like Django, CherryPy, Zope etc. https://bit.ly/2Maf8Hx  #pythonwebdevelopmentcompany#djangowebdevelopmentcompany -- https

Re: Scraping multiple web pages help

2019-02-27 Thread Phu Sam
You need to obtain a key for API first - from https://regulationsgov.github.io/developers/ The Regulations.gov API is taking action to conserve system resources. Beginning immediately, we will limit access to one account per organization, and require approval for enabling accounts.* Please contact

Re: trying to begin a code for web scraping

2019-02-19 Thread Joel Goldstick
hat I can get the comment. > > Help! I'm trying to learn code on the fly. I'm an experienced researcher > but am new to coding. Any help you could give me would be tremendously > awesome. > > Best, > Drake > -- > https://mail.python.org/mailman/listinfo/python-list

trying to begin a code for web scraping

2019-02-18 Thread Drake Gossi
Hi everyone, I'm trying to write code to scrape this website ( regulations.gov) of its comments, but I'm having trouble figuring out what to link onto in the inspect page (like when I right click on inspect with the mouse). Although I

Re: Scraping multiple web pages help

2019-02-18 Thread Sivan GrĂŒnberg
Hi there Drake, A quick google search revealed: - https://regulationsgov.github.io/developers/ This seems particulriy useful: - https://regulationsgov.github.io/developers/console/ And to fetch stuff from the API, there's Python requests that has a rather wonderful doc: - http://docs.pytho

Scraping multiple web pages help

2019-02-18 Thread Drake Gossi
Hello everyone, For a research project, I need to scrape a lot of comments from regulations.gov https://www.regulations.gov/docketBrowser?rpp=25&so=DESC&sb=commentDueDate&po=0&dct=PS&D=ED-2018-OCR-0064 But partly what's throwing me is the url addresses of the comments. They aren't consistent. I

Re: Find and display gif file/s in web browser, according to the passed string, compared to files names in the folder.

2019-01-22 Thread Grant Edwards
On 2019-01-22, Dennis Lee Bieber wrote: > On Mon, 21 Jan 2019 22:49:19 +0100, "pe...@o2.pl" declaimed > the following: > >>Character/s starting from 8 to "*" are called "InitialText". > > Illegal requirement in Windows, and likely also in Linux. "*" is > considered a wild-card character by comman

Find and display gif file/s in web browser, according to the passed string, compared to files names in the folder.

2019-01-21 Thread pe...@o2.pl
prefix+number, Character/s starting from 8 to "*" are called "InitialText". Character/s from the first character after "*" until ".gif" are called "FinalText" 5). Program has to find file/s, for which "Adam" (value of "x") is between &

Re: Rate limiting a web crawler

2018-12-26 Thread Simon Connah
On 26/12/2018 19:04, Terry Reedy wrote: On 12/26/2018 10:35 AM, Simon Connah wrote: Hi, I want to build a simple web crawler. I know how I am going to do it but I have one problem. Obviously I don't want to negatively impact any of the websites that I am crawling so I want to impl

Re: Rate limiting a web crawler

2018-12-26 Thread Simon Connah
On 26/12/2018 18:30, Richard Damon wrote: On 12/26/18 10:35 AM, Simon Connah wrote: Hi, I want to build a simple web crawler. I know how I am going to do it but I have one problem. Obviously I don't want to negatively impact any of the websites that I am crawling so I want to implement

Re: Rate limiting a web crawler

2018-12-26 Thread Terry Reedy
On 12/26/2018 10:35 AM, Simon Connah wrote: Hi, I want to build a simple web crawler. I know how I am going to do it but I have one problem. Obviously I don't want to negatively impact any of the websites that I am crawling so I want to implement some form of rate limiting of HTTP req

Re: Rate limiting a web crawler

2018-12-26 Thread Richard Damon
On 12/26/18 10:35 AM, Simon Connah wrote: > Hi, > > I want to build a simple web crawler. I know how I am going to do it > but I have one problem. > > Obviously I don't want to negatively impact any of the websites that I > am crawling so I want to implement some for

Rate limiting a web crawler

2018-12-26 Thread Simon Connah
Hi, I want to build a simple web crawler. I know how I am going to do it but I have one problem. Obviously I don't want to negatively impact any of the websites that I am crawling so I want to implement some form of rate limiting of HTTP requests to specific domain names. What I'

  1   2   3   4   5   6   7   8   9   10   >