On 29Oct2016 00:11, Adam Jensen wrote:
On 10/28/2016 11:59 PM, Cameron Simpson wrote:
Sync the virtualenv prerequisites file with your DVCS. Have a tiny
script to update the local virtualenv prereq file and run its update
command to honour any new prereqs.
Cool. I didn't mention that I am a p
Adam Jensen writes:
> So what are some of the more successful distributed. multi-platform,
> development models?
Use an orchestration program to keep the systems in sync: I use ansible
(ansible.com) which is written in Python and fairly simple once you get
used to it, but there are lots of other
id_1, clk, val = foo_function()
id_2, key, units, delay = bar_function()
if id_1 == id_2:
print id_1, clk, val, key, units, delay
--
https://mail.python.org/mailman/listinfo/python-list
On 10/29/2016 12:31 AM, Adam Jensen wrote:
> On 10/28/2016 11:59 PM, Cameron Simpson wrote:
>> Sync the virtualenv prerequisites file with your DVCS. Have a tiny
>> script to update the local virtualenv prereq file and run its update
>> command to honour any new prereqs.
>
> Cool. I didn't mention
On 29/10/2016 02:04, Steve D'Aprano wrote:
On Fri, 28 Oct 2016 05:09 am, BartC wrote:
For years I've had discussions in comp.lang.c about things that C should
or should not have.
Bart, don't be naive. The C language isn't going to "acquire a slick new
enhancement" based on a few emails on c
On Sat, 29 Oct 2016 10:53 pm, BartC wrote:
> On 29/10/2016 02:04, Steve D'Aprano wrote:
>> On Fri, 28 Oct 2016 05:09 am, BartC wrote:
>
>>> For years I've had discussions in comp.lang.c about things that C should
>>> or should not have.
>
>> Bart, don't be naive. The C language isn't going to "a
On 29/10/2016 14:51, Dennis Lee Bieber wrote:
On Sat, 29 Oct 2016 12:53:35 +0100, BartC declaimed the
following:
BTW what does reading three integers from the user look like in Python?
On one line, or on three lines?
(Python 2.7)
ln = raw_input("Enter three integers separated by s
On Sun, Oct 30, 2016 at 1:32 AM, BartC wrote:
> BTW the functionality of my 'readln a,b,c' differs from the above.
> Separators can be anything reasonable. When eol is encountered, it will read
> zeros. And errors are not handled: any non-numeric will yield zero.
People will disagree as to what i
why does not type(subprocess.Popen)==? Thanks
[quote]
Python 3.4.4 |Anaconda 2.3.0 (64-bit)| (default, Feb 16 2016, 09:54:04) [MSC v.1
600 64 bit (AMD64)] on win32
Type "help", "copyright", "credits" or "license" for more information.
>>> import subprocess
>>> type(subprocess.Popen)
>>> import os
After carefully reviewing all proposals we had received and intense
discussions with the teams, the EuroPython Society (EPS) is happy to
announce the decision to accept the proposal from the Italian on-site
team, backed by the Python Italia APS, to hold EuroPython 2017 in
Rimini, Italy.
The EPS wo
On Sun, 30 Oct 2016 01:55 am, oyster wrote:
> why does not type(subprocess.Popen)==? Thanks
Because Popen is not a module.
Why do you expect it to be a module?
py> type(int)
py> type(float)
py> type(str)
py> class X(object):
... pass
...
py> type(X)
type(subprocess.Popen)
>
Po
On Sun, 30 Oct 2016 01:32 am, BartC wrote:
> (BTW the functionality of my 'readln a,b,c' differs from the above.
> Separators can be anything reasonable. When eol is encountered, it will
> read zeros. And errors are not handled: any non-numeric will yield zero.
Ah, in other words it is a toy, utt
On 29/10/2016 15:19, Steve D'Aprano wrote:
On Sat, 29 Oct 2016 10:53 pm, BartC wrote:
But I'd like to see Python running on a 64KB system
(Micropython doesn't count!).
Hmmm. So tell me... how do you expect Python to run on tiny systems by
*adding* new features?
Regardless of how "small" thi
Am 29.10.16 um 16:32 schrieb BartC:
I still think a beginner would much prefer something along the lines of
'readln a,b,c' (and I still think that's more intuitive).
(The first programming exercises I ever did involved typing in integers
from the user, and sorting them or working out if they mad
On 29/10/2016 16:24, Steve D'Aprano wrote:
On Sun, 30 Oct 2016 01:32 am, BartC wrote:
(BTW the functionality of my 'readln a,b,c' differs from the above.
Separators can be anything reasonable. When eol is encountered, it will
read zeros. And errors are not handled: any non-numeric will yield ze
On 29/10/2016 15:53, Chris Angelico wrote:
On Sun, Oct 30, 2016 at 1:32 AM, BartC wrote:
BTW the functionality of my 'readln a,b,c' differs from the above.
Separators can be anything reasonable. When eol is encountered, it will read
zeros. And errors are not handled: any non-numeric will yield
Code:
A = 0
B= 0
i=0
j=0
# opening the files
infile1 = open("CDSsrebf1.txt")
infile2 = open("PROsrebf1.txt")
infile3 = open("mutant.txt")
print(" 1st line of WT SREBF1 (CDS):",infile1.readline())
print ("1st line of mutant protein of SREBF1: ", infile3.readline())
print ("1st line of protein of S
On 29/10/2016 17:27, Dennis Lee Bieber wrote:
On Sat, 29 Oct 2016 15:32:16 +0100, BartC declaimed the
following:
I still think a beginner would much prefer something along the lines of
'readln a,b,c' (and I still think that's more intuitive).
Then I would suggest using something lik
On Tuesday, October 25, 2016 at 11:02:47 AM UTC+1, BartC wrote:
> On 25/10/2016 07:39, Steven D'Aprano wrote:
>
> >> I gather that non-blocking keyboard input functions aren't the easiest
> >> thing
> >> to implement. They seem to depend on the operating system. Still, ease of
> >> use is a pri
On 2016-10-29 20:38, dishaachary...@gmail.com wrote:
Code:
A = 0
B= 0
i=0
j=0
# opening the files
infile1 = open("CDSsrebf1.txt")
infile2 = open("PROsrebf1.txt")
infile3 = open("mutant.txt")
print(" 1st line of WT SREBF1 (CDS):",infile1.readline())
print ("1st line of mutant protein of SREBF1: "
On 29/10/2016 23:21, Dennis Lee Bieber wrote:
On Sat, 29 Oct 2016 22:11:31 +0100, BartC declaimed the
following:
(Non-line-oriented would mean it just keeps sitting there until it's
read three values, damn it, no matter how many times you press Enter,
and it's not going to shift until it has
On 10/29/2016 06:16 PM, BartC wrote:
> An editor is either line-oriented or it isn't. Free-flowing English text
> usually isn't, but most program code is. And a line-oriented editor
> should have hard stops at the line ends. (IMO which apparently isn't
> shared by anyone else on the planet.)
Vi
Disha,
Before you struggle to reinvent the wheel, you might want to check out the
Biopython package.
http://biopython.org/wiki/Biopython
I haven't used it for a few years, but the version that I did use was very
comprehensive.
--
https://mail.python.org/mailman/listinfo/python-list
I'd like to modify some images in pdf files -- specifically, extract the image,
process it to give it a comic strip type of coloring (using pillow), and then
put it back.
I see there are several pdf libraries, but a cursory examination did not reveal
which, if any, had a method for extraction
24 matches
Mail list logo