Re: The Real-Time Use of Python in Data Science World!

2020-03-07 Thread Gene Heskett
On Saturday 07 March 2020 16:23:58 Perri Jones wrote: > Is this training that someone can sign up for, and if so, how do you > sign up. This could be legit, but it sure smells like spam to me, so please meet sa-learn spam> > > From: priyasudha041...@gmail.com > S

Re: The Real-Time Use of Python in Data Science World!

2020-03-07 Thread Perri Jones
Is this training that someone can sign up for, and if so, how do you sign up. From: priyasudha041...@gmail.com Sent: Saturday, March 7, 2020 12:39 AM To: python-announce-l...@python.org Subject: Re: The Real-Time Use of Python in Data Science World! Besant Techn

Re: How to POST html data to be handled by a route endpoint

2020-03-07 Thread Richard Damon
On 3/7/20 5:15 AM, Νίκος Βέργος wrote: > When superhost.gr/test tries to post html form data to the route endpoint > '/mailform' it sends it to superhost.gr/mailform and NOT at > superhost.gr/test/mailform as it should have done. > The HTML path /mailform means server relative path, so the path i

Re: How to POST html data to be handled by a route endpoint

2020-03-07 Thread Νίκος Βέργος
You will see if you create a route endpoint called 'mailform' within '/' which is an alias of 'www.py' and you also have '/mailform' in 'superhost.gr/test' when the latter tries to post data to '/mailform' instead of sending them to 'superhost.gr/test/' it sends them to '/' which is 'superhost.gr

Re: Using zipfile to create a zip file with directories and files

2020-03-07 Thread Michael Torrie
On 3/7/20 1:08 AM, mus...@posteo.org wrote: > On Fri, 6 Mar 2020 20:06:40 -0700 > Michael Torrie wrote: > >> The documentation talks about writing files from >> disk, but I'm interested in creating these files from within Python >> directly in the zip archive. > > But you have seen writestr(), hav

Re: How to POST html data to be handled by a route endpoint

2020-03-07 Thread Νίκος Βέργος
Τη Σάββατο, 7 Μαρτίου 2020 - 9:00:41 μ.μ. UTC+2, ο χρήστης DL Neil έγραψε: > On 7/03/20 2:33 AM, îØî-îºî¿ïé îÆî ïüî³î¿ïé wrote: > > First i must say i use Bottle, but the same may also be the case in Flask > too. I ask here and not in sub Bottle because there are only a few people > there and i re

Re: Using zipfile to create a zip file with directories and files

2020-03-07 Thread musbur
On Fri, 6 Mar 2020 20:06:40 -0700 Michael Torrie wrote: > The documentation talks about writing files from > disk, but I'm interested in creating these files from within Python > directly in the zip archive. But you have seen writestr(), haven't you? ZipFile.writestr(zinfo_or_arcname, data, com

Re: How to POST html data to be handled by a route endpoint

2020-03-07 Thread Νίκος Βέργος
î¤î· î£î¬î²î²î±ïäî¿, 7 î£î±ïüïäî-î¿ïà 2020 - 12:34:21 ï .î¼. UTC+2, î¿ ïçïüîRïâïäî·ïé DL Neil î î³ïüî±ïêîµ: > Please post the full error message and traceback. > > To clarify: is the error coming from Python or from the web server? I beleive it comes from the web server. Here it is: Error: 500

pip UX Studies - help improve the usability of pip

2020-03-07 Thread Bernard Tyers - Sane UX Design
Hi there, My name is Bernard Tyers. I'm a UX designer and have recently started working on the PSF project to improve the usability of pip, funded by MOSS/CZI. I want to let you know about the pip UX Studies we've started today, and encourage you to sign-up and take part. The pip Team is looki

Is there something similar to guidechimp in python?

2020-03-07 Thread Souvik Dutta
This is guidechimp -https://github.com/Labs64/GuideChimp Is there anything similar to this in python? -- https://mail.python.org/mailman/listinfo/python-list

Using zipfile to create a zip file with directories and files inside

2020-03-07 Thread Michael Torrie
I am trying to do something very simple but having no success in finding out how to do it. I just want to use the Python zipfile module to create a zip file with a specific directory structure and create and write to files inside those subdirectories (not files already on disk). The documentati

Python question

2020-03-07 Thread Mr . Lee Chiffre
Thank you Marco for at least taking the time to read my message even if you do not agree with me on things. And no disrespect to you. But I came here for python related questions and help. Not to be called suspicious and untrustworthy only because I am concerned about security of users and for b

iterate through an irregular nested list in Python

2020-03-07 Thread sinndhhu
Hi All, I am new to python. I have a irregular nested lists in a list. Please help me to iterate through each element. Thanks much in advance. Sample Ex aList = [[2,'jkj'],[],[],['kite',88,'ooo','pop','push','pull'],['hello']] expected output: 2,jkj,,,kite,88,ooo,pop,push,pull,hello -- https:

Re: Application setup like windows msi

2020-03-07 Thread Christian Gollwitzer
Am 05.03.20 um 02:48 schrieb Michael Torrie: > On 3/4/20 4:51 PM, J A wrote: >> I was wondering g if there was a way to distribute an application that took >> advantage of user input like a windows .msi does. On linux of course. > > Several installer frameworks can make interactive installers for L

Re: How to POST html data to be handled by a route endpoint

2020-03-07 Thread DL Neil via Python-list
On 7/03/20 2:33 AM, îØî-îºî¿ïé îÆî ïüî³î¿ïé wrote: > First i must say i use Bottle, but the same may also be the case in Flask too. I ask here and not in sub Bottle because there are only a few people there and i receive no responses. > > Actualy since i started here let me say what i have found.

How to POST html data to be handled by a route endpoint

2020-03-07 Thread =?UTF-8?B?zp3Or866zr/PgiDOks6tz4HOs
First i must say i use Bottle, but the same may also be the case in Flask too. I ask here and not in sub Bottle because there are only a few people there and i receive no responses. Actualy since i started here let me say what i have found. Iam just trying to post html form data to the followin

Re: iterate through an irregular nested list in Python

2020-03-07 Thread Pieter van Oostrum
sinnd...@gmail.com writes: > Hi All, > I am new to python. > I have a irregular nested lists in a list. > Please help me to iterate through each element. > > Thanks much in advance. > > Sample Ex > > aList = [[2,'jkj'],[],[],['kite',88,'ooo','pop','push','pull'],['hello']] > > expected output: > 2

Re: iterate through an irregular nested list in Python

2020-03-07 Thread Dan Stromberg
On Fri, Mar 6, 2020 at 6:55 AM Pieter van Oostrum wrote: > sinnd...@gmail.com writes: > > > Hi All, > > I am new to python. > > I have a irregular nested lists in a list. > > Please help me to iterate through each element. > > > > Thanks much in advance. > > > > Sample Ex > > > > aList = [[2,'jk

Re: Python question

2020-03-07 Thread Souvik Dutta
This is not a place to quarrel our only task is to discuss and help other learn and learn ourselves. To Mr. Marco what Mr. Lee says is correct. Since he is working on a cryptocurrency project and he might use our original code in his final project I don't think offering money is bad. After all t

Re: Application setup like windows msi

2020-03-07 Thread Grant Edwards
On 2020-03-05, Michael Torrie wrote: > On 3/4/20 4:51 PM, J A wrote: >> I was wondering g if there was a way to distribute an application that took >> advantage of user input like a windows .msi does. On linux of course. > > Several installer frameworks can make interactive installers for Linux. >

Re: Help building python application from source

2020-03-07 Thread Ethan Furman
On 03/03/2020 01:50 PM, Marco Sulla via Python-list wrote: > People of Python List, I strongly discourage you to support this user. > He is quite suspicious for the following reasons: Marco, this is not an appropriate response. If you have concerns about list behavior then email the list owners

Re: iterate through an irregular nested list in Python

2020-03-07 Thread Souvik Dutta
A better way would be to just do nestedl = [[2], [], [], [l, b, n]]#nested list for a in nestedl: #taking all the sublist for b in a: #iterating through the sub print(b) Though it is easy the only limitation is that it works only if the elements are lists. Which we

Re: ÿ in Unicode

2020-03-07 Thread Grant Edwards
On 2020-03-07, Jon Ribbens via Python-list wrote: > On 2020-03-06, Jon Ribbens wrote: >> What's the bug, or source of amusement? > > Oh, that's fun. There's a Russian Fidonet gateway, that somehow > still exists, that's re-injecting usenet posts back into the group. Last time I think it was one

Re: ÿ in Unicode

2020-03-07 Thread Richard Damon
On 3/7/20 12:52 PM, Ben Bacarisse wrote: > moi writes: > >> Le samedi 7 mars 2020 16:41:10 UTC+1, R.Wieser a écrit : >>> Moi, >>> Fortunately, UTF-8 has not been created the Python devs. >>> >>> And there we go again, making vague statements/accusations - without >>> /anything/ to back it u

Re: ÿ in Unicode

2020-03-07 Thread Ben Bacarisse
moi writes: > Le samedi 7 mars 2020 16:41:10 UTC+1, R.Wieser a écrit : >> Moi, >> >> > Fortunately, UTF-8 has not been created the Python devs. >> >> And there we go again, making vague statements/accusations - without >> /anything/ to back it up ofcourse >> >> Kiddo, you have posted a couple

Re: ÿ in Unicode

2020-03-07 Thread R.Wieser
Moi, > Fortunately, UTF-8 has not been created the Python devs. And there we go again, making vague statements/accusations - without /anything/ to back it up ofcourse Kiddo, you have posted a couple of messages now, but have said exactly nothing. Are you sure you do not want to go into polit

wxjmfauth posts

2020-03-07 Thread Ethan Furman
All, wxjmfauth is a known troll who posts on the usenet comp.lang.python. Their posts are discarded from Python List. If you choose to interact with them anyway, please: - leave `wxjmfauth` in the attribution lines so those replies can be discarded - keep your discourse civil Thank you. --

Re: Using zipfile to create a zip file with directories and files inside those directories

2020-03-07 Thread Michael Torrie
On 3/7/20 1:08 AM, mus...@posteo.org wrote: > On Fri, 6 Mar 2020 20:06:40 -0700 > Michael Torrie wrote: > >> The documentation talks about writing files from >> disk, but I'm interested in creating these files from within Python >> directly in the zip archive. > > But you have seen writestr(), h

Re: How to POST html data to be handled by a route endpoint

2020-03-07 Thread Νίκος Βέργος
You will see if you create a route endpoint called 'mailform' within '/' which is an alias of 'www.py' and you also have '/mailform' in 'superhost.gr/test' when the latter tries to post data to '/mailform' instead of sending them to 'superhost.gr/test/' it sends them to '/' which is 'superhost.g

Re: ÿ in Unicode

2020-03-07 Thread R.Wieser
Moi, > - Today, there are still people who do not understand a > "ÿ' can not be *safely* encoded with a single byte. It can (and has been done for ages), just not in the character encoding method you've choosen to use. > - Python == Latin-1 mess (as somebody wrote on a mailing list). Putting b

Re: How to POST html data to be handled by a route endpoint

2020-03-07 Thread Νίκος Βέργος
Τη Σάββατο, 7 Μαρτίου 2020 - 12:34:21 π.μ. UTC+2, ο χρήστης DL Neil έγραψε: > Please post the full error message and traceback. > > To clarify: is the error coming from Python or from the web server? I beleive it comes from the web server. Here it is: Error: 500 Internal Server Error Sorry, th

Re: Using zipfile to create a zip file with directories and files inside those directories

2020-03-07 Thread musbur
On Fri, 6 Mar 2020 20:06:40 -0700 Michael Torrie wrote: > The documentation talks about writing files from > disk, but I'm interested in creating these files from within Python > directly in the zip archive. But you have seen writestr(), haven't you? ZipFile.writestr(zinfo_or_arcname, data, com