PyQt v4.8.1 has been released and is available from
http://www.riverbankcomputing.com/software/pyqt/.
PyQt is a comprehensive set of bindings for the Qt application and UI
framework from Nokia. It supports the same platforms as Qt (Windows,
Linux and MacOS/X).
PyQt supports Python v3 and Python
Hi,
This is a mini-proposal I piggy-tailed in the other topic:
Allow the conditions in the if-, elif-, while-, for-, and
with-clauses to span multiple lines without using a backlalsh
at the end of a line,
just like when you specify literal lists, tuples, dicts, etc.
across multiple lines
Guido's time machine strikes again! It's already in Python
3; your
example would be spelled:
with open('scores.csv') as f, open('grades.csv', wt) as g:
g.write(f.read())
Indeed! Thanks, Chris and James.
Yingjie
--
http://mail.python.org/mailman/listinfo/python-list
Hi,
Sorry if I am baking too many ideas today.
I am just having trouble with the backslashes
I would like to have comments after the line continuation backslash.
if a 0 \ #comments for this condition
and b 0:
#do something here
This is currently not OK, but this might be a
import gdata.spreadsheet.service
username= 'prakhil.purch...@gmail.com'
passwd = 'purchase'
doc_name= 'googleapps_spreadsheet'
gd_client = gdata.spreadsheet.service.SpreadsheetsService()
gd_client.email = username
gd_client.password =passwd
#gd_client.source =
On 31 loka, 21:48, Tim Chase python.l...@tim.thechases.com wrote:
PRJ01001 4 00100END
PRJ01002 3 00110END
I would like to pick only some columns to a new file and put them to a
certain places (to match previous data) - definition file (def.csv)
could be something like this:
VARIABLE
in 645437 20101031 230912 Lawrence D'Oliveiro
l...@geek-central.gen.new_zealand wrote:
In message 4ccd5ad9$0$19151$426a7...@news.free.fr, jf wrote:
I edit each file to remove tabs ...
expand -i oldfile newfile
Do you know a tools to compare the initial file with the cleaned one to
know if
Yingjie Lan lany...@yahoo.com writes:
Allow the conditions in the if-, elif-, while-, for-, and with-clauses
to span multiple lines without using a backlalsh at the end of a line,
You can already do this with any expression: use parentheses.
Yingjie Lan lany...@yahoo.com writes:
I would
In message 874oc1ldo6@benfinney.id.au, Ben Finney wrote:
Yingjie Lan lany...@yahoo.com writes:
Allow the conditions in the if-, elif-, while-, for-, and with-clauses
to span multiple lines without using a backlalsh at the end of a line,
You can already do this with any expression: use
In message mailman.437.1288592002.2218.python-l...@python.org, Yingjie Lan
wrote:
I would like to have comments after the line continuation backslash.
What language allows that?
--
http://mail.python.org/mailman/listinfo/python-list
In message dvukp7-7sa@satorlaser.homedns.org, Ulrich Eckhardt wrote:
Geobird wrote:
def fact(x):
return x 1 and x * fact(x - 1) or 1
I'd say this is about as small as it gets.
fact = lambda x : x 1 and x * fact(x - 1) or 1
--
Lawrence “Functionalism Strikes Again”
In message qoteibcq9pr@ruuvi.it.helsinki.fi, Jussi Piitulainen wrote:
(I agree that no one should write factorial like that, except as
a joke. I have nothing against (x if (a b) else y). The trick
with and and or was used before Python had an actual conditional
expression.)
You know
In message mailman.297.1288170848.2218.python-l...@python.org, Stefan
Behnel wrote:
What's a that boy?
A boy who’s the opposite of fin.
--
http://mail.python.org/mailman/listinfo/python-list
Sorry if I am baking too many ideas today.
I am just having trouble with the backslashes
I would like to have comments after the line continuation backslash.
if a 0 \ #comments for this condition
and b 0:
#do something here
This is currently not OK, but this might be a
In message
0b6f704c-e108-4fb9-afc2-3616d92d6...@t13g2000yqm.googlegroups.com, charu
gangal wrote:
This is the python code I was trying to access the cell information
from a google spreadsheet but the issue is that i am able to make it
work on Eclipse but when i deploy it, it is not showing me
On Sun, 31 Oct 2010 23:02:21 -0700, Yingjie Lan wrote:
Hi,
This is a mini-proposal I piggy-tailed in the other topic:
Allow the conditions in the if-, elif-, while-, for-, and with-clauses
to span multiple lines
[...]
also, if we don't allow it, people just have to use
parenthesis
Yingjie Lan wrote:
I would like to have comments after the line continuation backslash.
if a 0 \ #comments for this condition
and b 0:
#do something here
Historically, and also in Python, the backslash escapes the immediately
following character. That means that _nothing_ may
On Oct 31, 11:46 pm, iwawi iwawi...@gmail.com wrote:
On 31 loka, 21:48, Tim Chase python.l...@tim.thechases.com wrote:
PRJ01001 4 00100END
PRJ01002 3 00110END
I would like to pick only some columns to a new file and put them to a
certain places (to match previous data) -
On Sun, 31 Oct 2010 23:13:19 -0700, Yingjie Lan wrote:
Hi,
Sorry if I am baking too many ideas today. I am just having trouble with
the backslashes
Then don't use them.
If you are having so much trouble keeping your lines short, then I
suggest you're trying to do too much in one line.
This is the page i am getting on localhost 8080. The code is showing
me thr result only in Eclipse but not through google app engine
launcher.
Traceback (most recent call last):
File C:\Program Files (x86)\Google\google_appengine\google\appengine
\tools\dev_appserver.py, line 3211, in
On Fri, Oct 29, 2010 at 1:02 AM, Chris Rebert c...@rebertia.com wrote:
On Thu, Oct 28, 2010 at 9:41 PM, Bj Raz whitequill...@gmail.com wrote:
I am working with differential equations of the higher roots of negative
one. (dividing enormous numbers into other enormous numbers to come out
with
On Mon, 01 Nov 2010 01:08:52 -0700, Gnarlodious wrote:
On Oct 31, 11:09 am, Дамјан Георгиевски wrote:
from .. import Data.DumpHT as DumpHT
That doesn't work. Any more ideas?
Define doesn't work. Does it?
Print a warning message but continue execution?
Import the wrong module?
Abort Python
Simply out of curiosity is there a way to force python to print more then 16
places from the decimal? For better accuracy.
On Mon, Nov 1, 2010 at 4:19 AM, Bj Raz whitequill...@gmail.com wrote:
On Fri, Oct 29, 2010 at 1:02 AM, Chris Rebert c...@rebertia.com wrote:
On Thu, Oct 28, 2010 at
I was thinking of recommending this to a friend but what do you all think?
Thanks!
Sent wirelessly from my BlackBerry.
--
http://mail.python.org/mailman/listinfo/python-list
On Mon, Nov 1, 2010 at 12:51 AM, Steven D'Aprano
steve-remove-t...@cybersource.com.au wrote:
On Sun, 31 Oct 2010 23:02:21 -0700, Yingjie Lan wrote:
Hi,
This is a mini-proposal I piggy-tailed in the other topic:
Allow the conditions in the if-, elif-, while-, for-, and with-clauses
to span
On Mon, Nov 1, 2010 at 4:19 AM, Bj Raz whitequill...@gmail.com wrote:
On Fri, Oct 29, 2010 at 1:02 AM, Chris Rebert c...@rebertia.com wrote:
On Thu, Oct 28, 2010 at 9:41 PM, Bj Raz whitequill...@gmail.com wrote:
I am working with differential equations of the higher roots of
negative
one.
On Mon, 01 Nov 2010 20:23:42 +1300, Lawrence D'Oliveiro wrote:
In message qoteibcq9pr@ruuvi.it.helsinki.fi, Jussi Piitulainen
wrote:
(I agree that no one should write factorial like that, except as a
joke. I have nothing against (x if (a b) else y). The trick with and
and or was used
On 1 marras, 09:59, cbr...@cbrownsystems.com
cbr...@cbrownsystems.com wrote:
On Oct 31, 11:46 pm, iwawi iwawi...@gmail.com wrote:
On 31 loka, 21:48, Tim Chase python.l...@tim.thechases.com wrote:
PRJ01001 4 00100END
PRJ01002 3 00110END
I would like to pick only some columns
Hey! Can anyone help me with python script for reading google
spreadsheets? what all packages do i need to import to make the code
run successfully after deploying it on google environment..thnx in
advance
--
http://mail.python.org/mailman/listinfo/python-list
Chris Rebert c...@rebertia.com writes:
(2) The underlying double-precision floating-point number only has ~16
decimal digits of precision, so it's pointless to print out further
digits.
A digression which has nothing to do with Raj's desire for better
accuracy...
Printing out further digits
PyQt v4.8.1 has been released and is available from
http://www.riverbankcomputing.com/software/pyqt/.
PyQt is a comprehensive set of bindings for the Qt application and UI
framework from Nokia. It supports the same platforms as Qt (Windows,
Linux and MacOS/X).
PyQt supports Python v3 and Python
On Nov 1, 2:16 am, Steven D'Aprano steve-REMOVE-
t...@cybersource.com.au wrote:
On Mon, 01 Nov 2010 01:08:52 -0700, Gnarlodious wrote:
On Oct 31, 11:09 am, Дамјан Георгиевски wrote:
from .. import Data.DumpHT as DumpHT
That doesn't work. Any more ideas?
Define doesn't work.
LOL.
I get
On Oct 30, 7:16 pm, brad...@hotmail.com wrote:
I was thinking of recommending this to a friend but what do you all think?
I think
1. Python is a great language, and a good starting point for many
people.
2. You really haven't given us much to go on.
Regards, Alex
--
Howdy,
I was going through, evaluating how hard a project would be to move
over to a hybrid codebase of python2 and python3 using 2to3. I found
that while it would convert most other urllib renames and moves, 2to3
currently leaves urllib.URLopener as is, instead of changing it to go
via the
On Mon, Nov 1, 2010 at 5:42 AM, Hrvoje Niksic hnik...@xemacs.org wrote:
Printing out further digits (without quotes) is not pointless if you
want to find out the exact representation of your number in python's
floating point, for educational purposes or otherwise. Python has a
little-known
On 2010-11-01, Martin v. Loewis mar...@v.loewis.de wrote:
i.e. avoid the backslash for multi-line conditions altogether
(in fact, I can't think any situation where I would use the
backslash).
The horrible-to-nest with statement.
--
Neil Cerutti
--
Gnarlodious wrote:
On Nov 1, 2:16 am, Steven D'Aprano steve-REMOVE-
t...@cybersource.com.au wrote:
On Mon, 01 Nov 2010 01:08:52 -0700, Gnarlodious wrote:
On Oct 31, 11:09 am, Дамјан Георгиевски wrote:
from .. import Data.DumpHT as DumpHT
That doesn't work. Any more ideas?
Define
On 10/31/10 23:51, Ben Finney wrote:
Sorry, to clarify I heard that when you declare a variable in python
you have to use some sort of standard boiler plate _variable_ however
this has not been my experience using IDLE so is this even true?
I don't know what “some sort of boiler plate
On Nov 1, 2010, at 5:42 AM, Hrvoje Niksic hnik...@xemacs.org wrote:
Chris Rebert c...@rebertia.com writes:
(2) The underlying double-precision floating-point number only has ~16
decimal digits of precision, so it's pointless to print out further
digits.
A digression which has nothing to
I'm facing following error while running Python script. Any idea what
causing this error --
execute_local_command: Traceback (most recent call last):
File ./pcapreplay/flowreplay.py, line 376, in module
main()
File ./pcapreplay/flowreplay.py, line 177, in main
cPcapC =
On 2010-10-30, brad...@hotmail.com brad...@hotmail.com wrote:
I was thinking of recommending this to a friend but what do you all think?
Sounds like a great idea to me.
Sent wirelessly from my BlackBerry.
Well bully for you!
--
Grant Edwards grant.b.edwardsYow! I am
I was thinking of recommending this to a friend but what do you all think?
Python is great language to learn programming.
I've heard MIT switched from Scheme to Python as introductory language for
their students.
--
With best regards,
Daniel Kluev
--
On Mon, 01 Nov 2010 01:14:09 -0700, charu gangal wrote:
This is the page i am getting on localhost 8080. The code is showing me
thr result only in Eclipse but not through google app engine launcher.
Traceback (most recent call last):
File C:\Program Files
On Nov 1, 5:36 am, Peter Otten wrote:
Remove the directory containing the importing file from your sys.path.
I removed all sys.path customizations and rebooted.
In the following scenario, I am programming in one.py attempting to
import Data.py which is in the alpha folder:
$ tree
.
`-- alpha
Gnarlodious wrote:
On Nov 1, 5:36 am, Peter Otten wrote:
Remove the directory containing the importing file from your sys.path.
I removed all sys.path customizations and rebooted.
In the following scenario, I am programming in one.py attempting to
import Data.py which is in the alpha
On Sat, 30 Oct 2010 19:16:10 +
brad...@hotmail.com wrote:
I was thinking of recommending this to a friend but what do you all think?
Of course! But then, what did you expect from this group. :-)
--
D'Arcy J.M. Cain da...@druid.net | Democracy is three wolves
Lawrence D'Oliveiro wrote:
You know what, I think I actually prefer the trick to Python’s
backwards-if syntax...
fact = lambda x: x*fact(x-1) if x1 else 1
naa, it's not too bad...
--
By ZeD
--
http://mail.python.org/mailman/listinfo/python-list
On Nov 1, 1:58 am, iwawi iwawi...@gmail.com wrote:
On 1 marras, 09:59, cbr...@cbrownsystems.com
cbr...@cbrownsystems.com wrote:
On Oct 31, 11:46 pm, iwawi iwawi...@gmail.com wrote:
On 31 loka, 21:48, Tim Chase python.l...@tim.thechases.com wrote:
PRJ01001 4 00100END
PRJ01002
PHP (PHP Hypertext Preprocessor) Programming is Similar to C ...
PHP programming is similar to C / JavaScript and Java. ... Modeling
Agencies - Helping Teen Models · Fashion and Success - Starting a
Retail ... Read More
http://childschooledu.blogspot.com/
--
On Mon, 01 Nov 2010 12:09:12 +1300, Lawrence D'Oliveiro wrote:
In message 4ccd5ad9$0$19151$426a7...@news.free.fr, jf wrote:
I edit each file to remove tabs ...
expand -i oldfile newfile
Do you know a tools to compare the initial file with the cleaned one to
know if the algorithms are
On 01/11/2010 04:51, Ben Finney wrote:
brad...@hotmail.com writes:
Sorry, to clarify I heard that when you declare a variable in python
you have to use some sort of standard boiler plate _variable_ however
this has not been my experience using IDLE so is this even true?
I don't know what
On 10/24/2010 5:36 AM, Steve Holden wrote:
On 10/24/2010 2:22 AM, Lawrence D'Oliveiro wrote:
In messagemailman.176.1287896531.2218.python-l...@python.org, Steve
Holden wrote:
Yes, *if the exception is caught* then it doesn't make any difference.
If the exception creates a traceback, however,
Sorry that is what I mean. What is it for?
Sent wirelessly from my BlackBerry.
-Original Message-
From: MRAB pyt...@mrabarnett.plus.com
Sender: python-list-bounces+bradenf=hotmail@python.org
Date: Mon, 01 Nov 2010 17:33:22
To: python-list@python.org
Reply-To: python-list@python.org
On 01/11/2010 18:18, brad...@hotmail.com wrote:
Sorry that is what I mean. What is it for?
Sent wirelessly from my BlackBerry.
-Original Message-
From: MRABpyt...@mrabarnett.plus.com
Sender: python-list-bounces+bradenf=hotmail@python.org
Date: Mon, 01 Nov 2010 17:33:22
On Mon, Nov 1, 2010 at 2:18 PM, brad...@hotmail.com wrote:
Sorry that is what I mean. What is it for?
Sent wirelessly from my BlackBerry.
What is what for? There is no boiler plate on variable names. *BY
CONVENTION*, variables and methods with a special meaning will start
and end with two
On Mon, 1 Nov 2010 18:18:45 + brad...@hotmail.com wrote:
Sorry that is what I mean. What is it for?
Sent wirelessly from my BlackBerry.
andreas.quick_hot_anger = True
Braden! Stop Top-Posting already! Please. If your BlackBerry makes this
hard, then get another mail client. It gets
On 11/1/2010 2:18 PM, brad...@hotmail.com wrote:
Sorry that is what I mean. What is it for?
Sent wirelessly from my BlackBerry.
Does it require you to toppost? Understanding the above requires one to
guess what 'that' forward references.
Perhaps the OP means:
if __name__ ==
On Mon, Nov 1, 2010 at 8:52 AM, Bj Raz whitequill...@gmail.com wrote:
On Nov 1, 2010, at 5:42 AM, Hrvoje Niksic hnik...@xemacs.org wrote:
Chris Rebert c...@rebertia.com writes:
(2) The underlying double-precision floating-point number only has ~16
decimal digits of precision, so it's
On 11/1/2010 6:54 AM, Gnarlodious wrote:
On Nov 1, 2:16 am, Steven D'Apranosteve-REMOVE-
t...@cybersource.com.au wrote:
On Mon, 01 Nov 2010 01:08:52 -0700, Gnarlodious wrote:
On Oct 31, 11:09 am, Дамјан Георгиевски wrote:
from .. import Data.DumpHT as DumpHT
That doesn't work. Any more
On 11/1/2010 7:23 AM, Chris McDonald wrote:
Howdy,
I was going through, evaluating how hard a project would be to move
over to a hybrid codebase of python2 and python3 using 2to3. I found
that while it would convert most other urllib renames and moves, 2to3
currently leaves urllib.URLopener as
Hi folks,
My niece is interested in programming and python looks like a good
choice (she already wrote a couple of lines :)) She is 10 and I
thought it would be good to have a bunch of playful coding problems
for her, stuff that she could code herself maybe after some initial
help.
Do you guys
On 2010-11-01, Benjamin Kaplan benjamin.kap...@case.edu wrote:
On Mon, Nov 1, 2010 at 2:18 PM, brad...@hotmail.com wrote:
Sorry that is what I mean. What is it for?
Sent wirelessly from my BlackBerry.
What is what for?
I think I smell troll...
--
Grant Edwards
This is in JS but have a look here http://github.com/ryanmcgrath/splash
On 1 Nov, 20:31, Daniel Fetchinson fetchin...@googlemail.com wrote:
Hi folks,
My niece is interested in programming and python looks like a good
choice (she already wrote a couple of lines :)) She is 10 and I
thought it
Why don't you start here
http://code.google.com/apis/spreadsheets/data/1.0/developers_guide_python.html
On 1 Nov, 09:05, charu gangal charugan...@gmail.com wrote:
Hey! Can anyone help me with python script for reading google
spreadsheets? what all packages do i need to import to make the code
Daniel Fetchinson fetchin...@googlemail.com writes:
Hi folks,
My niece is interested in programming and python looks like a good
choice (she already wrote a couple of lines :)) She is 10 and I
thought it would be good to have a bunch of playful coding problems
for her, stuff that she could
My niece is interested in programming and python looks like a good
choice (she already wrote a couple of lines :)) She is 10 and I
thought it would be good to have a bunch of playful coding problems
for her, stuff that she could code herself maybe after some initial
help.
I think anything
Just starting with Python.
Installed:
Python 2.7
pywin32-214.win32-py2.7.exe
pyserial-2.5.win32.exe
on a Home WinXP SP3 Toshiba laptop with 2GB memory. Open Python and
try to do simple I/O test and can't even get past first line.
Transcript below. You will see that
__name__ is defined as
In message 4cce6ff6.2050...@v.loewis.de, Martin v. Loewis wrote:
(in fact, I can't think any situation where I would use the backslash).
for \
Description, Attr, ColorList \
in \
(
(normal, image, MainWindow.ColorsNormalList),
(highlighted,
In message 8j8am4fk2...@mid.individual.net, Peter Pearson wrote:
On Mon, 01 Nov 2010 12:09:12 +1300, Lawrence D'Oliveiro wrote:
In message 4ccd5ad9$0$19151$426a7...@news.free.fr, jf wrote:
I edit each file to remove tabs ...
expand -i oldfile newfile
Do you know a tools to compare
On 2010-11-01, Lawrence D'Oliveiro l...@geek-central.gen.new_zealand wrote:
In message 8j8am4fk2...@mid.individual.net, Peter Pearson wrote:
diff -b oldfile newfile
Warning: diff -b won't detect changes in indentation. Changes in
indentation can change a Python program.
I'm getting
In message 4ccf3595.2060...@v.loewis.de, Martin v. Loewis wrote:
Take a look at the turtle demos.
Are turtle graphics still enough to hold the kids’ interest these days?
I’ve been visiting a local Computer Clubhouse, and it seems like they mostly
spend their time in Google SketchUp and
On Mon, Nov 1, 2010 at 5:55 PM, Fossil mskcrpttn...@gmail.com wrote:
Just starting with Python.
Installed:
Python 2.7
pywin32-214.win32-py2.7.exe
pyserial-2.5.win32.exe
on a Home WinXP SP3 Toshiba laptop with 2GB memory. Open Python and
try to do simple I/O test and can't even get past
On 11/1/2010 2:48 PM Martin v. Loewis said...
My niece is interested in programming and python looks like a good
choice (she already wrote a couple of lines :)) She is 10 and I
thought it would be good to have a bunch of playful coding problems
for her, stuff that she could code herself maybe
Hello all,
I'm happy to announce the release of pyOpenSSL 0.11. The primary change
from the last release is that Python 3.2 is now supported. Python 2.4
through Python 2.7 are still supported as well. This release also fixes
a handful of bugs in error handling code. It also adds APIs for
Hello,
I have a class with some members that depend on others. Initially most
of them are None.
For each one there is a function to calculate it as soon as some other
dependencies become available.
In the end, all values can be computed by the right sequence of
function applications.
class A:
brad...@hotmail.com writes:
Sorry that is what I mean. What is it for?
Branden, you're welcome to ask questions about Python here.
But please, help us help you:
Don't top-post. It makes the flow of conversation difficult to follow.
Instead, respond in-line beneath the point you're responding
On Mon, 1 Nov 2010 22:24:03 + (UTC), Grant Edwards wrote:
On 2010-11-01, Lawrence D'Oliveiro l...@geek-central.gen.new_zealand wrote:
In message 8j8am4fk2...@mid.individual.net, Peter Pearson wrote:
diff -b oldfile newfile
Warning: diff -b won't detect changes in indentation.
On 11/1/2010 3:18 PM Lawrence D'Oliveiro said...
In message8j8am4fk2...@mid.individual.net, Peter Pearson wrote:
snip
Warning: diff -b won't detect changes in indentation. Changes in
indentation can change a Python program.
I’m getting less and less keen on that particular feature of
On 01/11/2010 22:44, Daniel wrote:
Hello,
I have a class with some members that depend on others. Initially most
of them are None.
For each one there is a function to calculate it as soon as some other
dependencies become available.
In the end, all values can be computed by the right sequence
On 11/01/2010 01:31 PM, Daniel Fetchinson wrote:
Hi folks,
My niece is interested in programming and python looks like a good
choice (she already wrote a couple of lines :)) She is 10 and I
thought it would be good to have a bunch of playful coding problems
for her, stuff that she could code
In message mailman.465.1288653523.2218.python-l...@python.org, Emile van
Sebille wrote:
At least you can look at python code and _know_ that spurious placement of
required line noise don't have the ability to impact what the code does.
But it does. What is spurious whitespace if not noise,
In message
bbcc1dce-1a05-46fe-879c-7d0b08a2f...@r14g2000yqa.googlegroups.com, nu
wrote:
I want to sync the file foder in different server,and I can't use ftp
protocl.
I try to sync files during defferent server and not use username and
password to login.
Set up an SSH public/private key
In message 4ccd954f$0$12350$426a7...@news.free.fr, News123 wrote:
Is there any other way to make screen shots in Linux, ideally without
creating an intermediate file
The ImageMagick “import” command lets you grab the contents of any window
(including the root window) from your X server
On Tue, Nov 2, 2010 at 9:23 AM, MRAB pyt...@mrabarnett.plus.com wrote:
You might be interested by the story of how AstraZeneca tackled that
kind of problem in PyDrone: http://www.python.org/about/success/astra/
This might be a good use-case (if I'm reading the post correctly) for
Traits (1)
On Nov 1, 3:55 pm, Fossil mskcrpttn...@gmail.com wrote:
Just starting with Python.
Installed:
Python 2.7
pywin32-214.win32-py2.7.exe
pyserial-2.5.win32.exe
on a Home WinXP SP3 Toshiba laptop with 2GB memory. Open Python and
try to do simple I/O test and can't even get past first
On Mon, Nov 1, 2010 at 3:16 PM, Lawrence D'Oliveiro
l...@geek-central.gen.new_zealand wrote:
In message 4cce6ff6.2050...@v.loewis.de, Martin v. Loewis wrote:
(in fact, I can't think any situation where I would use the backslash).
for \
Description, Attr, ColorList \
in \
On Nov 1, 4:48 pm, Peter Pearson ppear...@nowhere.invalid wrote:
True, but diff doesn't come with an ignore curly braces option.
I'm not personally repelled by Python's use of significant indentation,
but I must concede that some awkwardness results from assigning
significance to something
On 01/11/2010 23:38, James Mills wrote:
On Tue, Nov 2, 2010 at 9:23 AM, MRABpyt...@mrabarnett.plus.com wrote:
You might be interested by the story of how AstraZeneca tackled that
kind of problem in PyDrone: http://www.python.org/about/success/astra/
This might be a good use-case (if I'm
Thank you, Ian. You put your finger on the problem. As I thrashed
around earlier, I had installed serial i/o pieces before the clean
install pieces of
pywin32-214.win32-py2.7.exe
pyserial-2.5.win32.exe
I did a complete de-install and re-install. Now the serial i/o is
functioning -- I'm
*** FBI gets a warm welcome in Chicago for their EXCELLENT performance
- cheers to NEW CONS ***
http://www.youtube.com/watch?v=eq2ZvSd-z0Mfeature=player_embeddedrelated
http://www.youtube.com/watch?v=eq2ZvSd-z0Mfeature=player_embeddedrelated
On Nov 1, 2010, at 6:43 PM, exar...@twistedmatrix.com wrote:
I'm happy to announce the release of pyOpenSSL 0.11.
Congratulations, JP! It's great to see this effort coming together.--
http://mail.python.org/mailman/listinfo/python-list
How exactly does this relate to python?
Sent wirelessly from my BlackBerry device on the Bell network.
Envoyé sans fil par mon terminal mobile BlackBerry sur le réseau de Bell.
-Original Message-
From: silver light lightsilv...@gmail.com
Sender:
-Original Message-
From: silver light lightsilv...@gmail.com
Sender: python-list-bounces+brf256=gmail@python.org
Date: Mon, 1 Nov 2010 18:10:36
To: python-list@python.org
Cc: lightsilv...@gmail.com
Subject: *** FBI gets a warm welcome in Chicago for their EXCELLENT
Chris Rebert c...@rebertia.com wrote:
Or, if possible, refactor the conditional into a function (call) so
it's no longer multiline in the first place.
Or even simpler, assign the condition result to a variable:
a_b_positive = a 0 and b 0
if a_b_positive:
...
--
In message mailman.469.1288654964.2218.python-l...@python.org, Chris
Rebert wrote:
desc_attr_colors_triples = ((normal, image,
MainWindow.ColorsNormalList),
(highlighted, highlight, MainWindow.ColorsHighlightedList),
(selected, select, MainWindow.ColorsSelectedList))
for in
In message
da1b455a-02d0-41b7-b5dc-73546fd0b...@k22g2000yqh.googlegroups.com, Fossil
wrote:
I did a complete de-install and re-install.
Standard solution to Dimdows problems, really...
--
http://mail.python.org/mailman/listinfo/python-list
On Nov 1, 6:35 pm, Chris Rebert c...@rebertia.com wrote:
-Original Message-
From: silver light lightsilv...@gmail.com
Sender: python-list-bounces+brf256=gmail@python.org
Date: Mon, 1 Nov 2010 18:10:36
To: python-l...@python.org
Cc: lightsilv...@gmail.com
Subject: *** FBI
In message 87r5f55qj5@xemacs.org, Hrvoje Niksic wrote:
Python has a little-known but very instructive method for determining the
makeup of a float:
1.1 .as_integer_ratio()
(2476979795053773, 2251799813685248)
Only available in 2.6 or later. Are we already talking as though 2.5 doesn’t
In message mailman.443.1288608727.2218.python-l...@python.org, Phil
Thompson wrote:
PyQt is available under the GPL and a commercial license.
Surely you mean “proprietary” rather than “commercial”. There is nothing
about the GPL that prevents “commercial” use.
--
In message 20101021235138.609fe...@geekmail.invalid, Andreas Waldenburger
wrote:
While not very commonly needed, why should a shared default argument be
forbidden?
Because it’s safer to disallow it than to allow it.
--
http://mail.python.org/mailman/listinfo/python-list
1 - 100 of 230 matches
Mail list logo