Generator - Provide parameters to url - requests

2017-07-04 Thread Sayth Renshaw
Hi I am struggling to figure out how I can create a generator to provide values to my url. My url needs to insert the year month and day in the url not as params to the url. import json import requests import datetime # using this I can create a list of dates for the first 210 days of this ye

Re: Privy: An easy, fast lib to password-protect your data

2017-07-04 Thread ofekmeister
On Monday, July 3, 2017 at 10:36:39 PM UTC-4, ofekm...@gmail.com wrote: > https://github.com/ofek/privy Bump b/c spam -- https://mail.python.org/mailman/listinfo/python-list

Re: memory leak with re.match

2017-07-04 Thread Cameron Simpson
On 04Jul2017 17:01, Mayling ge wrote: My function is in the following way to handle file line by line. There are multiple error patterns defined and need to apply to each line. I use multiprocessing.Pool to handle the file in block. The memory usage increases to 2G for a 1G file. A

Re: EuroPython 2017: Free Intel Distribution for Python

2017-07-04 Thread Gregory Ewing
Chris Angelico wrote: > On 7/4/2017 10:22 AM, M.-A. Lemburg wrote: I looked but did not find the most important thing. What version of Python? I think that page is basically just a teaser to say "come to our booth". Google found me a (sort of) download page: https://software.seek.intel.com/p

Re: EuroPython 2017: Free Intel Distribution for Python

2017-07-04 Thread MRAB
On 2017-07-04 23:05, Terry Reedy wrote: On 7/4/2017 10:22 AM, M.-A. Lemburg wrote: We are very pleased to have Intel as Diamond Sponsor for EuroPython 2017. You can visit them at the most central booth in our exhibit area, the Sala della Piazza, and take the opportunity to chat with their staff.

Re: EuroPython 2017: Free Intel Distribution for Python

2017-07-04 Thread Chris Angelico
On Wed, Jul 5, 2017 at 8:05 AM, Terry Reedy wrote: > On 7/4/2017 10:22 AM, M.-A. Lemburg wrote: >> >> We are very pleased to have Intel as Diamond Sponsor for EuroPython >> 2017. You can visit them at the most central booth in our exhibit >> area, the Sala della Piazza, and take the opportunity to

Re: EuroPython 2017: Free Intel Distribution for Python

2017-07-04 Thread Terry Reedy
On 7/4/2017 10:22 AM, M.-A. Lemburg wrote: We are very pleased to have Intel as Diamond Sponsor for EuroPython 2017. You can visit them at the most central booth in our exhibit area, the Sala della Piazza, and take the opportunity to chat with their staff. Please find below a hosted blog post fr

If you like Python, star Github python [forward from pydev]

2017-07-04 Thread Terry Reedy
On pydev list, 2017-06-30 15:59 GMT+02:00 Victor Stinner : > GitHub has a showcase page of hosted programming languages: >https://github.com/showcases/programming-languages > Python is only #11 with 8,539 stars, behind PHP and Ruby! > Hey, you should "like" ("star"?) the CPython project if y

memory leak with re.match

2017-07-04 Thread Mayling ge
Hi, My function is in the following way to handle file line by line. There are multiple error patterns defined and need to apply to each line. I use multiprocessing.Pool to handle the file in block. The memory usage increases to 2G for a 1G file. And stays in 2G even after

Re: python script is slowly after use multiprocessing

2017-07-04 Thread MRAB
On 2017-07-04 18:24, Xristos Xristoou wrote: @MRAB tell me your proposal for this ? I don't have any suggestions because you haven't given any details about the function. @Ben Bacarisse i dont get some error,i have wrong map ? That code will call the function and then try to pass its resu

Re: python script is slowly after use multiprocessing

2017-07-04 Thread Xristos Xristoou
@MRAB tell me your proposal for this ? @Ben Bacarisse i dont get some error,i have wrong map ? -- https://mail.python.org/mailman/listinfo/python-list

Re: Spammy spam spam spam spam

2017-07-04 Thread Tim Golden
On 04/07/2017 16:40, Steve D'Aprano wrote: On Tue, 4 Jul 2017 10:55 pm, Case Solution & Analysis wrote: Our e-mail address is CASESOLUTIONSCENTRE (AT) GMAIL (DOT) COM. Please replace (at) by @ and (dot) by . Since we don't yet have a protocol for transmitting a punch to the face over TCP/IP,

Re: Spammy spam spam spam spam

2017-07-04 Thread Steve D'Aprano
On Tue, 4 Jul 2017 10:55 pm, Case Solution & Analysis wrote: > Our e-mail address is CASESOLUTIONSCENTRE (AT) GMAIL (DOT) COM. Please replace > (at) by @ and (dot) by . Since we don't yet have a protocol for transmitting a punch to the face over TCP/IP, is it be wrong of me to wish that some whit

EuroPython 2017: Free Intel Distribution for Python

2017-07-04 Thread M.-A. Lemburg
We are very pleased to have Intel as Diamond Sponsor for EuroPython 2017. You can visit them at the most central booth in our exhibit area, the Sala della Piazza, and take the opportunity to chat with their staff. Please find below a hosted blog post from Intel, that offers us an exciting glimpse