Reddy writes:
> ...
> I'm trying to use locust (http://locust.io/) to run load test of one site
> we're developing. Everything was running nice and smooth until we switch the
> servers to use SNI. SNI is not officially supported in python 2.7.5
A recent post in this list regarding missing SNI s
On Wed, Oct 1, 2014 at 9:16 AM, Seymore4Head
wrote:
> On Tue, 30 Sep 2014 18:58:50 -0400, Terry Reedy
> wrote:
>
>>On 9/30/2014 5:15 PM, Seymore4Head wrote:
>>> Since the developers of Python decided to make Python 3 non backward
>>> compatible,
>>
>>This is a trollish exaggeration.
>>
>> > I can
On Wed, Oct 1, 2014 at 6:53 AM, math math wrote:
> I want to basically write a program that inputs a polynomial in standard
> algebraic notation and outputs its derivative.
>
> I know that I need to get the exponent somehow, but I am not sure how to
> accomplish this in python (3.3)
As Gary say
On Tue, Sep 30, 2014 1:50 PM CEST Jean-Michel Pichavant wrote:
> >I'm currently writing a presentation to help my co-workers ramp up on new
> >features of our tool (written in python (2.7)).
> >
> >I have some difficulties presenting code in an efficient way (with some
> >basic syntax highlights
On 30/09/2014 22:27, Grant Edwards wrote:
On 2014-09-30, Seymore4Head wrote:
Since the developers of Python decided to make Python 3 non backward
compatible, I can't help but wonder why they don't think a command to
restart would be a useful addition?
Uh... what?
Does that make any sense to
On 30/09/2014 22:32, c...@isbd.net wrote:
In the namedtuple documentation there's an example:-
EmployeeRecord = namedtuple('EmployeeRecord', 'name, age, title,
department, paygrade')
import sqlite3
conn = sqlite3.connect('/companydata')
cursor = conn.cursor()
cursor.ex
On Tue, 30 Sep 2014 18:58:50 -0400, Terry Reedy
wrote:
>On 9/30/2014 5:15 PM, Seymore4Head wrote:
>> Since the developers of Python decided to make Python 3 non backward
>> compatible,
>
>This is a trollish exaggeration.
>
> > I can't help but wonder why they don't think a command to
>> restart w
c...@isbd.net wrote:
> In the namedtuple documentation there's an example:-
>
> EmployeeRecord = namedtuple('EmployeeRecord', 'name, age, title,
> department, paygrade')
>
> import sqlite3
> conn = sqlite3.connect('/companydata')
> cursor = conn.cursor()
> cursor.execute(
On 9/30/2014 5:15 PM, Seymore4Head wrote:
Since the developers of Python decided to make Python 3 non backward
compatible,
This is a trollish exaggeration.
> I can't help but wonder why they don't think a command to
restart would be a useful addition?
More trollishness. Python does not hav
On Tue, 30 Sep 2014 18:05:20 -0400, Ned Batchelder
wrote:
>On 9/30/14 5:15 PM, Seymore4Head wrote:
>> Since the developers of Python decided to make Python 3 non backward
>> compatible, I can't help but wonder why they don't think a command to
>> restart would be a useful addition?
>>
>
>Starting
On 9/30/14 5:15 PM, Seymore4Head wrote:
Since the developers of Python decided to make Python 3 non backward
compatible, I can't help but wonder why they don't think a command to
restart would be a useful addition?
Starting a process over again in the same way is not something that is
easy to
In the namedtuple documentation there's an example:-
EmployeeRecord = namedtuple('EmployeeRecord', 'name, age, title,
department, paygrade')
import sqlite3
conn = sqlite3.connect('/companydata')
cursor = conn.cursor()
cursor.execute('SELECT name, age, title, department, paygr
On 2014-09-30, Seymore4Head wrote:
> Since the developers of Python decided to make Python 3 non backward
> compatible, I can't help but wonder why they don't think a command to
> restart would be a useful addition?
Uh... what?
Does that make any sense to anybody else?
--
Grant Edwards
Since the developers of Python decided to make Python 3 non backward
compatible, I can't help but wonder why they don't think a command to
restart would be a useful addition?
--
https://mail.python.org/mailman/listinfo/python-list
On 09/30/2014 01:53 PM, math math wrote:
Hi,
I am trying to learn Python while solving exercises.
I want to basically write a program that inputs a polynomial in standard
algebraic notation and outputs its derivative.
I know that I need to get the exponent somehow, but I am not sure how to
a
Hi,
I am trying to learn Python while solving exercises.
I want to basically write a program that inputs a polynomial in standard
algebraic notation and outputs its derivative.
I know that I need to get the exponent somehow, but I am not sure how to
accomplish this in python (3.3)
Do you hav
I use Chris Roffey's "Coding Club - Python Basics (Level 1)" and "Coding Club -
Python: Next Steps (Level 2)"
I also use the Turtle material from "Python for Kids"
These are 11+ year old kids in week long, 3 hour/day summer camps on the
Raspberry Pi and Python.
The Level 2 book is for the 2nd cam
Neil D. Cerutti wrote:
> On 9/30/2014 7:35 AM, c...@isbd.net wrote:
> > Thus I'd have something like (apologies for any syntax errors):-
> >
> > cfg = { "LeisureVolts": ["AIN0", 0.061256, "Leisure Battery Voltage"],
> > "StarterVolts": ["AIN1", 0.060943, "Starter Battery Voltage"],
> >
On 09/30/2014 02:50 PM, Jean-Michel Pichavant wrote:
I wonder if some people in this list who have successfully presented python
code have some tips about doing the proper way. Ned's presentations for pycons
are to me one example of successful code presentation:
- the layout is simple
- t
On Wed, Oct 1, 2014 at 3:30 AM, wrote:
> The main trouble with this approach is that I need some way to have
> the python/config file available at the 'home' end of this as well as
> at the 'remote' end. I guess I could write a copy of the file into
> the database but then I have the editing iss
On Wed, Oct 1, 2014 at 3:31 AM, Rustom Mody wrote:
> On the other hand if you impose a convention: Constants file-module has
> NOTHING but constants, thats a non-formal convention and thats ok.
>
> If however you mix it up with other (real) code, you'll get a bloody mess.
> This kind of stuff "7*2
On 30.09.2014 16:50, Reddy wrote:
> Hello,
>
> At the beginning - welcome everyone, as this is my first post here. I'm not
> an active Python developer now, but I have general knowledge of the language.
>
> I'm trying to use locust (http://locust.io/) to run load test of one site
> we're devel
Rustom Mody wrote:
>
> > # docs for first option
> > # more docs
> > # examples
> > # etcetera
> > first_option =123
>
> > # docs for second option
> > second_option = 234
>
> > Is that Python code, or is it a sectionless INI file, or what?
>
> Yeah I was going to say that this is possible
>
On Tuesday, September 30, 2014 10:46:21 PM UTC+5:30, Chris Angelico wrote:
> On Wed, Oct 1, 2014 at 3:01 AM, Rustom Mody wrote:
> >> And you get expressions for free - simple stuff like
> >> "7*24*60*60" to represent the number of seconds in a week (for people
> >> who aren't intimately familiar w
On Wed, Oct 1, 2014 at 3:01 AM, Rustom Mody wrote:
>> And you get expressions for free - simple stuff like
>> "7*24*60*60" to represent the number of seconds in a week (for people
>> who aren't intimately familiar with 604800), or calculations relative
>> to previous data, or whatever. Sometimes i
On Tuesday, September 30, 2014 10:22:12 PM UTC+5:30, Chris Angelico wrote:
> On Wed, Oct 1, 2014 at 2:39 AM, Rustom Mody wrote:
> >> python - just keep config in the modules/classes, not easy to use
> >> at 'both ends' (home and remote), otherwise quite simple
> > Can work at a trivial lev
On Wed, Oct 1, 2014 at 2:39 AM, Rustom Mody wrote:
>> python - just keep config in the modules/classes, not easy to use
>> at 'both ends' (home and remote), otherwise quite simple
>
> Can work at a trivial level.
>
> As soon as things get a bit larger data and code mixed up is a recipe for
On Tuesday, September 30, 2014 8:48:15 PM UTC+5:30, c...@isbd.net wrote:
> Rustom Mody wrote:
> > On Tuesday, September 30, 2014 5:18:31 PM UTC+5:30, Chris wrote:
> > > I would actually
> > > quite like to keep the configuration data separate from the code as it
> > > would simplify using the data
On 9/30/2014 7:35 AM, c...@isbd.net wrote:
Thus I'd have something like (apologies for any syntax errors):-
cfg = { "LeisureVolts": ["AIN0", 0.061256, "Leisure Battery Voltage"],
"StarterVolts": ["AIN1", 0.060943, "Starter Battery Voltage"],
"LeisureAmps1": ["AIN2", 0.423122, "
might this be of interest (though old)?
https://wiki.python.org/moin/ConfigParserShootout
Cheers
Jon N
--
https://mail.python.org/mailman/listinfo/python-list
Rustom Mody wrote:
> On Tuesday, September 30, 2014 5:18:31 PM UTC+5:30, Chris wrote:
>
> > I would actually
> > quite like to keep the configuration data separate from the code as it
> > would simplify using the data at the 'home' end of things as I'd just
> > need to copy the configuration file
Hello,
At the beginning - welcome everyone, as this is my first post here. I'm not an
active Python developer now, but I have general knowledge of the language.
I'm trying to use locust (http://locust.io/) to run load test of one site we're
developing. Everything was running nice and smooth un
Dave Angel wrote:
> c...@isbd.net Wrote in message:
> > I am puzzling where and how to keep these configuration values. My
> > current design has them in dedicated tables in the database but this
> > is rather clumsy in many ways as there's an overhead reading them
> > every time the program needs
--
On Tue, Sep 30, 2014 1:50 PM CEST Jean-Michel Pichavant wrote:
>Hello list,
>
>I'm currently writing a presentation to help my co-workers ramp up on new
>features of our tool (written in python (2.7)).
>
>I have some difficulties presenting code in an efficient wa
- Original Message -
> From: "Joel Goldstick"
> Cc: python-list@python.org
> Sent: Tuesday, 30 September, 2014 3:01:38 PM
> Subject: Re: Python code in presentations
>
> I'm a little at a loss that you are concentrating on showing code to
> users. Are you also showing how your tool works
On 9/30/14 7:50 AM, Jean-Michel Pichavant wrote:
I wonder if some people in this list who have successfully presented python
code have some tips about doing the proper way. Ned's presentations for pycons
are to me one example of successful code presentation:
- the layout is simple
- the c
On Tuesday, September 30, 2014 5:21:00 PM UTC+5:30, Jean-Michel Pichavant wrote:
> Hello list,
> I'm currently writing a presentation to help my co-workers ramp up on new
> features of our tool (written in python (2.7)).
> I have some difficulties presenting code in an efficient way (with some bas
On Tuesday, September 30, 2014 5:18:31 PM UTC+5:30, Chris wrote:
> I would actually
> quite like to keep the configuration data separate from the code as it
> would simplify using the data at the 'home' end of things as I'd just
> need to copy the configuration file across. This was why the datab
c...@isbd.net Wrote in message:
> I am developing some code which runs on a (remote from me most of the
> time) Beaglebone Black single board computer. It reads various items
> of data (voltages, currents, temperatures, etc.) using both a 1-wire
> bus system and the Beaglebone's ADC inputs. The v
On Tue, Sep 30, 2014 at 8:46 AM, Tom P wrote:
> On 30.09.2014 13:50, Jean-Michel Pichavant wrote:
>>
>> Hello list,
>>
>> I'm currently writing a presentation to help my co-workers ramp up on new
>> features of our tool (written in python (2.7)).
>>
>> I have some difficulties presenting code in a
On 30.09.2014 13:50, Jean-Michel Pichavant wrote:
Hello list,
I'm currently writing a presentation to help my co-workers ramp up on new
features of our tool (written in python (2.7)).
I have some difficulties presenting code in an efficient way (with some basic syntax
highlights). I need to b
Hello list,
I'm currently writing a presentation to help my co-workers ramp up on new
features of our tool (written in python (2.7)).
I have some difficulties presenting code in an efficient way (with some basic
syntax highlights). I need to be catchy about the code I'm presenting otherwise
th
I am developing some code which runs on a (remote from me most of the
time) Beaglebone Black single board computer. It reads various items
of data (voltages, currents, temperatures, etc.) using both a 1-wire
bus system and the Beaglebone's ADC inputs. The values are stored
at hourly intervals int
43 matches
Mail list logo