On Tue, Apr 14, 2009 at 9:03 AM, eric.le.bi...@spectro.jussieu.fr wrote:
Hello,
Is there a way to easily build an object that behaves exactly like a
float, but whose value can be changed? The goal is to maintain a list
[x, y,…] of these float-like objects, and to modify their value on the
On Wed, Oct 28, 2009 at 12:43 AM, Gabriel Genellina
gagsl-...@yahoo.com.ar wrote:
How can one copy files on the OS level?
The idea was just to show how to call CopyFile using ctypes, not implying
that it's the only way to do that. Everyone knows that the One and True Way
of copying files is
On Wed, Oct 28, 2009 at 8:06 PM, Alf P. Steinbach al...@start.no wrote:
PS: This was not unexpected. It was exactly why I earlier didn't even look
at CPython (umpteen bad experiences with *nix ports) but used ActivePython.
It's not a *nix port. It's multiplatform and it works fine. As you've
On Mon, Nov 9, 2009 at 11:46 AM, Moses jam...@gmail.com wrote:
Hi Chris,
The code is
from scipy import *
from pylab import *
x = [0.5,0.6,0.7,0.8,0.9,1.0]
y = [2,6,8,10,10,10]
plot(x,y,linewidth=5.0)
show()
and not
from scipy import *
from pylab import *
x1 =
On Wed, Nov 11, 2009 at 12:16 PM, kj no.em...@please.post wrote:
I have a script that must be run with Python 2.6.x. If one tries
to run it with, say, 2.5.x, *eventually* it runs into problems and
crashes. (The failure is quicker if one attempts to run it with
Python 3.x.)
Is there
On Fri, Nov 13, 2009 at 3:32 PM, Paul Rubin
http://phr...@nospam.invalid wrote:
... This is Usenet so
please stick with Usenet practices. If you want a web forum there are
plenty of them out there.
Actually this is python-list@python.org
I don't use usenet and I have no intention to stick
On Sun, Nov 29, 2009 at 6:58 AM, inhahe inh...@gmail.com wrote:
Did you say you were using gmail to post? I think mailing lists tend to
have issues with gmail because it puts html in the message or something like
that. Btw I recently set up this mailing list to send me a message back
when I
On Mon, Nov 30, 2009 at 12:57 PM, Esmail ebo...@hotmail.com wrote:
Hello all.
I am using the PIL 1.1.6 and Python 2.6.x under XP without any
problems. However, I can't display any images under Vista
or Windows 7. I could understand Windows 7 as it's relatively
new, but Vista has been around
On Tue, Dec 1, 2009 at 8:31 PM, Vincent Davis vinc...@vincentdavis.net wrote:
Anyone know of a python implementation of Delaunay triangulation?
Matplotlib has one.
There's also Delny @pypi
It's been several years since I needed this. I can't remember the pros/cons.
--
On Fri, Dec 4, 2009 at 1:46 PM, Roy Smith r...@panix.com wrote:
I'm using 2.5.1. How can I tell if I'm running on windows? The
obvious answer, platform.system(), gets complicated. On the python
that comes with cygwin, it returns 'CYGWIN_NT-5.2-WOW64', but I've got
a native windows build of
On Wed, Dec 16, 2009 at 10:33 AM, Dave Angel da...@ieee.org wrote:
You can also find the appdata directory by looking at the environment
variable USERPROFILE, switching to that directory, and descending directly
into application data by using the tab key.
...
Lots of good advice. I'd just
On Fri, Dec 18, 2009 at 12:49 PM, Jean-Michel Pichavant
jeanmic...@sequans.com wrote:
Jerry Hill wrote:
On Fri, Dec 18, 2009 at 12:24 PM, Jean-Michel Pichavant File
/opt/tools/python/python2.3/site-packages/logilab_astng-0.19.2-py2.5.egg/logilab/astng/infutils.py,
line 28, in module
from
On Fri, Dec 18, 2009 at 10:46 AM, Jim Valenza jim.vale...@gmail.com wrote:
Hello All - I have a very novice question for any of you out there. I need
to assign several parameters to a code in python. I have an example of a
code that was in DOS that I would need to set as parameters in my
On Fri, Dec 18, 2009 at 5:34 PM, mattia ger...@gmail.com wrote:
Hi all, I have a dictionary that uses dates and a tuples ad key, value
pairs. I need to sort the values of the dict and insert everything in a
tuple. The additional problem is that I need to sort the values looking
at the i-th
On Sun, Jan 3, 2010 at 8:09 PM, Tim Roberts t...@probo.com wrote:
More than not required, it was not relevant. This led to one of the
most infamous programming blunders in the early days of the space program,
when one programmer accidentially typed a period instead of a comma
resulting in the
On Sun, Jan 3, 2010 at 10:42 PM, Roy Smith r...@panix.com wrote:
In article mailman.386.1262576043.28905.python-l...@python.org,
David Robinow drobi...@gmail.com wrote:
On Sun, Jan 3, 2010 at 8:09 PM, Tim Roberts t...@probo.com wrote:
More than not required, it was not relevant. This led
On Mon, Jan 11, 2010 at 10:26 PM, Ben Finney ben+pyt...@benfinney.id.au wrote:
Alf P. Steinbach al...@start.no writes:
And considering this, and the fact that Google's archive is now the
main Usenet archive, message id's are not that useful, really.
You've demonstrated only that Google is an
On Mon, Jan 25, 2010 at 8:57 AM, Simon Brunning
si...@brunningonline.net wrote:
2010/1/25 Albert van der Horst alb...@spenarnc.xs4all.nl:
If Go was to compete with anything, they would have give it a name
that was Googleable. ;-)
If they want it Googleable, it will be. ;-)
On Tue, Feb 9, 2010 at 5:10 PM, Simon Brunning si...@brunningonline.net wrote:
On 9 February 2010 16:29, Robert Kern robert.k...@gmail.com wrote:
On 2010-02-09 09:37 AM, Daniel Fetchinson wrote:
If the code base stabilizes in a production version after losing the
alphas and betas they would be
On Mon, Feb 22, 2010 at 8:25 PM, W. eWatson wolftra...@invalid.com wrote:
How do I get out of this pickle? I just want to duplicate the program in
another folder, and not link to an ancestor.
Ask in an appropriate forum. I'm not sure where that is but you might
try http://www.sevenforums.com/
On Tue, Feb 23, 2010 at 2:42 PM, monkeys paw mon...@joemoney.net wrote:
I used the following code to download a PDF file, but the
file was invalid after running the code, is there problem
with the write operation?
import urllib2
url =
On Wed, Mar 3, 2010 at 10:30 AM, Grant Edwards inva...@invalid.invalid wrote:
On 2010-03-03, Grant Edwards inva...@invalid.invalid wrote:
I definitely remember that old MS-DOS programs would treat
Ctrl-Z as an EOF marker when it was read from a text file and
would terminate a text file with a
On Wed, Mar 3, 2010 at 1:01 PM, Ed Keith e_...@yahoo.com wrote:
--- On Wed, 3/3/10, D'Arcy J.M. Cain wrote:
They needed a way to tell where the end of the information
was. Why
they used ^Z (SUB - Substitute) instead of ^C (ETX - End of
TeXt) or
even ^D (EOT - End Of Transmission) is
On Wed, Mar 3, 2010 at 3:02 PM, Grant Edwards inva...@invalid.invalid wrote:
On 2010-03-03, mk mrk...@gmail.com wrote:
That has always puzzled me to. ETX and EOT were well established, why
no use one of them? I'd love to know what they were thinking.
Probably nothing: what many people do
On Thu, Mar 11, 2010 at 12:40 AM, Bujji sivait...@gmail.com wrote:
hi all,
I have installed python 2.6 in addition to python 2.5 in my system
Now for some modules(while installing ) it needs to use python 2.6
how can i do that
in case of easy_install what should i do to it to use python 2.6
On Wed, Aug 19, 2009 at 4:48 AM, Pierrepierre.gaill...@gmail.com wrote:
Hello,
I would like to know how to find the difference (set operation)
between 2 arrays :
a = array([1,2, 3,2,5,2])
b = array([1,2])
I want a - b = [3,5]
Well, the equivalence of setdiff in matlab...
I thought
On Mon, Aug 24, 2009 at 9:32 AM, Peter Otten__pete...@web.de wrote:
If you are trying to teach children that are unwilling to use pen and paper
putting them in front of a computer doesn't help you and them one bit. As a
starting programmer you'll have to spend a lot of time in front of your
This works for a simple binary file, but the actual file I'm trying to
read is give throwing an error that the file cannot be found. Here is the
name of the my file:
2009.08.02_06.52.00_WA-1_0001_00_0662_0.jstars
Should python have trouble reading this file name or extension?
I'm having
On Fri, Sep 18, 2009 at 3:26 AM, Hendrik van Rooyen
hend...@microcorp.co.za wrote:
Does anybody know where the concept of the purple people eater comes from?
I mean is there a children's book or something?
- Hendrik
http://en.wikipedia.org/wiki/Purple_People_Eater
--
On Mon, Sep 21, 2009 at 12:23 AM, Laszlo Nagy gand...@shopzeus.com wrote:
This is what I did so far:
#1. Install Python 2.6, Firebird 1.5 server (with libs and headers), egenix
mx base and mingw C compiler
#2. put c:\MinGW\bin on the PATH (or wherever it is)
#3. extract kinterbasdb source
On Tue, Sep 22, 2009 at 9:26 PM, kyle schalm kyle.sch...@gmail.com wrote:
hello, i wonder what the chances are that anyone here uses pygui?
it looks pretty good, but i just started using it (version 2.05) and
can't figure out how to just display a window with an image in it. i
tried:
image =
On Fri, Oct 9, 2009 at 5:02 PM, Ethan Furman et...@stoneleaf.us wrote:
A puzzlement:
I used easy_install the other day to get xlutils on my system. It
automatically installed xlrd and xlwt as well. This is cool. What's not so
cool are my tracebacks. E.g.
Python 2.5.4 (r254:67916, Dec 23
On Sun, Jul 5, 2009 at 5:54 AM, Lawrence
D'Oliveirol...@geek-central.gen.new_zealand wrote:
In message ddb65af7-8820-4a83-bc92-
c1d1c62d6...@y17g2000yqn.googlegroups.com, Klone wrote:
So in this scenario is it OK to duplicate the algorithm to be tested
within the test codes or refactor the
On Fri, Jul 10, 2009 at 8:52 AM, voxvox2...@gmail.com wrote:
I am looking for a script that compares file1 and file2, for each line
in file1, check if line is present in file2. If the line from file1 is
not present in file2, print that line/write it to file3, because I
have to know what lines
On Sun, Jul 12, 2009 at 9:24 PM, Cameron
Pulsfordcameron.pulsf...@gmail.com wrote:
As far as the primes generator, it does not generate any non-primes. All
primes (except 2, 3 and 5) are in the form (6*x + 1, 6*x + 5) where is x is
[1, 2, ..., n]. The only time it doesn't generate a prime is
On Fri, Jul 17, 2009 at 9:12 PM, Dr. Phillip M.
Feldmanpfeld...@verizon.net wrote:
Does anyone know if there is a PDF version of the Python Tutorial (URL=
http://www.python.org/doc/current/tutorial/)?
http://docs.python.org/download.html
--
http://mail.python.org/mailman/listinfo/python-list
If you want to generate high-quality graphics easily you need different
primitives.
http://cairographics.org
has Python bindings, but I don't know if it's available on Windows.
Effectively not, as far as I can tell. PyCairo appears to be *nix and
require later binaries than those
On Mon, Jul 20, 2009 at 7:24 AM, John Machinsjmac...@lexicon.net wrote:
...
The next step would be to try to compile ODE 0.7 or 0.8 with VS9 --
however this would require project files for ODE for VS9, and there
aren't any on the ODE website; it has only those for VS3 and VS5.
The ODE site is
On Mon, Jul 20, 2009 at 12:09 PM, Virgil Stokesv...@it.uu.se wrote:
David Robinow wrote:
On Mon, Jul 20, 2009 at 7:24 AM, John Machinsjmac...@lexicon.net wrote:
...
The next step would be to try to compile ODE 0.7 or 0.8 with VS9 --
however this would require project files for ODE for VS9
This doesn't mean they're on the same level - in fact, if you read carefully
you'll see my original post said as much: python attracted average
programmers; php attracted mediocre programmers and even some
non-programmers, which means that php is clearly a lesser language than
python.
I'm a
On 7/26/09, MRAB pyt...@mrabarnett.plus.com wrote:
David Robinow wrote:
This doesn't mean they're on the same level - in fact, if you read
carefully
you'll see my original post said as much: python attracted average
programmers; php attracted mediocre programmers and even some
non
On Mon, Jul 27, 2009 at 9:49 AM, Aahza...@pythoncraft.com wrote:
In article mailman.3765.1248685391.8015.python-l...@python.org,
Hendrik van Rooyen hend...@microcorp.co.za wrote:
On Sunday 26 July 2009 21:26:46 David Robinow wrote:
I'm a mediocre programmer. Does this mean I should switch
On Fri, Aug 7, 2009 at 1:48 PM, alex23wuwe...@gmail.com wrote:
Why exactly is posting an open comment on a bug tracker somehow
inferior to posting an open comment on a wiki?
When one believes that development is controlled by a cabal which is
jealous of outsiders and actively prevents
On Wed, Aug 12, 2009 at 12:37 PM, Chris Withersch...@simplistix.co.uk wrote:
David Stanek wrote:
Also on the same box where you run this script
can you test with curl or wget?
It's a Windows box, so no :-(
Why not?
http://users.ugent.be/~bpuype/wget/
http://curl.haxx.se/download.html
--
On Thu, Aug 13, 2009 at 3:20 AM, Chris Withersch...@simplistix.co.uk wrote:
David Robinow wrote:
On Wed, Aug 12, 2009 at 12:37 PM, Chris Withersch...@simplistix.co.uk
wrote:
David Stanek wrote:
Also on the same box where you run this script
can you test with curl or wget?
It's a Windows
On Sun, Aug 16, 2009 at 11:10 PM, Nobodynob...@nowhere.com wrote:
Java also has iterators; it's more a case of people coming from C and BASIC.
Although, some of those may have come *through* Java without abandoning
old habits. You see the same thing with people coming from BASIC to C and
On Sun, Jun 13, 2010 at 1:57 PM, Steven D'Aprano
st...@remove-this-cybersource.com.au wrote:
On Sun, 13 Jun 2010 08:42:57 -0700, rantingrick wrote:
i will start a fork.
That is the most sensible thing you have said yet. Please do so, it will
be a great thing for the Python community.
On Wed, Jun 16, 2010 at 11:34 PM, Aahz a...@pythoncraft.com wrote:
In article mailman.1662.1276743037.32709.python-l...@python.org,
James Mills prolo...@shortcircuit.net.au wrote:
...
What in particular do you _not_ enjoy about using map/reduce (and
possibly other functional features of the
On Sun, Jun 27, 2010 at 9:16 PM, Lawrence D'Oliveiro
l...@geek-central.gen.new_zealand wrote:
In message 4c24c152$0$31381$4fafb...@reader1.news.tin.it, superpollo
wrote:
suppose i work in a linux environment, but i would like to ship a
win/dos executable file from time to time, just for test
On Mon, Jul 5, 2010 at 8:15 PM, Steven D'Aprano
st...@remove-this-cybersource.com.au wrote:
On Mon, 05 Jul 2010 12:59:00 -0700, Martineau wrote:
I'd like to view the contents of the help file without actually
installing the release which would wipe out any currently installed
version (I'm one
On Tue, Jul 6, 2010 at 1:46 PM, Martin P. Hellwig
martin.hell...@dcuktec.org wrote:
Public download that is, people like me who have a MSDN subscription can
still download old versions like Visual Studio 2005.
So I would say that there is no particular hurry.
I would think that everyone
On Fri, Jul 16, 2010 at 9:29 AM, ernest nfdi...@gmail.com wrote:
On 15 Jul, 18:45, kj no.em...@please.post wrote:
This is a question _for Emacs users_ (the rest of you, go away :) ).
How do you do Python code-folding in Emacs?
Thanks!
~K
I tried the outline-mode and it seemed to work.
On Sun, Jul 25, 2010 at 8:40 PM, Edward Diener
eldie...@tropicsoft.invalid wrote:
On 7/25/2010 5:57 PM, Thomas Jollans wrote:
So if a standard library module ( or distributed library ) executes a call
internally to 'python xxx yyy' or executes a call internally to
'someScript.py yyy', you're
On Thu, Jul 29, 2010 at 10:07 AM, Jeffrey Gaynor jgay...@ncsa.uiuc.edu wrote:
...
A final question -- how widely is M2Crypto used? Since I will have to now
pitch to our group that this is preferable the first questions they will ask
are about stability, who is using it and how secure is it
On Mon, Aug 2, 2010 at 11:41 AM, Benjamin Kaplan
benjamin.kap...@case.edu wrote:
...
So these are the packages needed just to run Python in Ubuntu. It doesn't
include the packages required for the kernel, the desktop environment, the
window manager, the terminal, and whatever else you want
On Wed, Aug 4, 2010 at 6:47 PM, Lawrence D'Oliveiro
l...@geek-central.gen.new_zealand wrote:
In message mailman.1445.1280767895.1673.python-l...@python.org, David
Robinow wrote:
As an admittedly stupid comparison, I have 1579 DLLs in my
\windows\system32 directory.
Some number of these have
On Sun, Aug 8, 2010 at 12:51 PM, Mark Lawrence breamore...@yahoo.co.uk wrote:
On 08/08/2010 17:16, W. eWatson wrote:
See Subject. I use matplotlib, scipy, numpy and possibly one other
module. If I go to the control panel, I only see numpy listed. Why? I
use a search and find only numpy and
On Thu, Apr 1, 2010 at 7:34 PM, Patrick Maupin pmau...@gmail.com wrote:
On Apr 1, 4:42 pm, Tim Chase python.l...@tim.thechases.com wrote:
superpollo wrote:
how much is one half times one half?
Uh, did you try it at the python prompt? If not, here's the answer:
0.1b * 0.1b = 0.01b
Now
On Thu, Apr 1, 2010 at 10:44 PM, Steven D'Aprano
st...@remove-this-cybersource.com.au wrote:
On Thu, 01 Apr 2010 19:49:43 -0500, Tim Chase wrote:
David Robinow wrote:
$ python -c print 1/2 * 1/2
0
But that's not what I learned in grade school.
(Maybe I should upgrade to 3.1?)
That's
On Sun, May 2, 2010 at 1:14 PM, Paul McGuire pt...@austin.rr.com wrote:
While sifting through some code looking for old x and y or z code
that might better be coded using y if x else z, I came across this
puzzler:
x = boolean expression and True or False
What is and True or False adding
On Tue, May 11, 2010 at 1:43 AM, Lawrence D'Oliveiro
l...@geek-central.gen.new_zealand wrote:
In message
22cf35af-44d1-43fe-8b90-07f2c6545...@i10g2000yqh.googlegroups.com,
Guillermo wrote:
If you've ever missed it on Windows and you can use Powershell ...
I thought the whole point of Windows
On Thu, Dec 16, 2010 at 6:51 PM, Steven D'Aprano
steve+comp.lang.pyt...@pearwood.info wrote:
...
Functions always have one entry. The only way to have multiple entry
points is if the language allows you to GOTO into the middle of a
function, and Python sensibly does not allow this. The one
On Fri, Dec 24, 2010 at 1:52 PM, kj no.em...@please.post wrote:
Watch this:
class neodict(dict): pass
...
d = neodict()
type(d)
class '__main__.neodict'
type(d.copy())
type 'dict'
Bug? Feature? Genius beyond the grasp of schlubs like me?
copy, here, is a dict method. It will create
On Tue, Jan 25, 2011 at 5:59 PM, Matthew Roth mgrot...@gmail.com wrote:
On Jan 25, 9:34 pm, John Nagle na...@animats.com wrote:
...
You can install a MySQL server under Windows, and talk to the server
from the Cygwin environment. That's a useful way to test.
On Tue, Feb 8, 2011 at 5:03 PM, Rhodri James
rho...@wildebst.demon.co.uk wrote:
On Tue, 08 Feb 2011 12:18:50 -, przemol...@poczta.fm wrote:
On Tue, Feb 08, 2011 at 10:16:42PM +1100, Ben Finney wrote:
Either your mail client already knows how to filter messages
appropriately depending on
On Sun, Apr 19, 2009 at 1:58 AM, Kenny x xarv...@gmail.com wrote:
Hello, I use Ubuntu 8.10 and the latest version of Python.
I started programming wxPython on my Windows computer,
but now I have access to my ubuntu box, and want wxPython for 2.6
All the debs in the package manager are for
On Wed, Apr 22, 2009 at 3:52 AM, Mark Zweers zweers.m...@gmail.com wrote:
Hi!
I'm trying to run python from within Emacs. This is in my .emacs file :
(setq auto-mode-alist ; trigger python mode automatically
(cons '(\\.py$ . python-mode) auto-mode-alist))
(setq interpreter-mode-alist
On Wed, Apr 22, 2009 at 8:50 PM, rzed rzan...@gmail.com wrote:
Greg Ewing greg.ew...@canterbury.ac.nz wrote in
news:49edb69f.7070...@canterbury.ac.nz:
PyGUI 2.0.4 is available:
http://www.cosc.canterbury.ac.nz/greg.ewing/python_gui/
Fixes a few more bugs and hopefully improves things
On Wed, Apr 22, 2009 at 9:16 PM, Jim Carlock
jcarl...@nospam.microcosmotalk.com wrote:
I downloaded Python 2.6.2 today. Anyone here know what that error in
the subject really means and possibly what I should look at? I took
a look at line 13 in the specified file and it states the line that
it
On Thu, Apr 23, 2009 at 9:31 PM, Esmail ebo...@hotmail.com wrote:
What is the best way to compare the *contents* of two different
lists regardless of their respective order? The lists will have
the same number of items, and be of the same type.
E.g. a trivial example (my lists will be
On Sun, Apr 26, 2009 at 5:21 AM, Greg Ewing greg.ew...@canterbury.ac.nz wrote:
PyGUI 2.0.5 is available:
Still no idea what's causing the object has been destroyed
error on Windows XP, though. Does this happen for everyone?
Is there anyone who *has* got 12-scroll.py working for them
on XP?
On Tue, Apr 28, 2009 at 12:36 PM, alejandro aleksanda...@brisiovonet.hr wrote:
Can you tell me what is it? Maybe I can search it and pass it in another
way... if it is an address or protocol name
AF_BLUETOOTH seems to be specific to *nix-systems. At least under debian
and
ubuntu, I've
On Tue, Apr 28, 2009 at 1:15 PM, John Nagle na...@animats.com wrote:
Brock wrote:
Hi Everyone,
I know this is most likely a basic question and you will roll your
eyes, but I am just starting out with Python (hobbyist) and I see many
tutorials on the web referring to the use of external
On Wed, Apr 29, 2009 at 9:29 AM, ky...@showmedo.com wrote:
...
To reiterate, I responded to this thread because I think Ben's posting
gave an unfair impression of the site and i felt the need to address
some misconceptions. I am sorry you failed to find the videos, but
many tens of thousands
On Fri, May 1, 2009 at 12:24 PM, warpcat warp...@sbcglobal.net wrote:
I've passed this around some other groups, and I'm being told
probably not possible. But I thought I'd try here as well :) I
*did* search first, and found several similar threads, but they
quickly tangented into other
On Mon, May 4, 2009 at 2:33 AM, namekuseijin
namekuseijin.nos...@gmail.com wrote:
ls = [(1,2), (3,4), (5, None), (6,7), (8, None)]
[(x,y) for (x,y) in ls if y]
[(1, 2), (3, 4), (6, 7)]
Nope. That filters out 0 as well as None. Not what the OP asked for.
--
On Sun, May 10, 2009 at 3:32 AM, Tobias Weber t...@gmx.net wrote:
In article m2bpq2ngup@googlemail.com,
Arnaud Delobelle arno...@googlemail.com wrote:
A simple Alt-Q will reformat everything nicely.
Now that's something. Thanks!
(still not gonna use software that doesn't let me type #
Thanks for the help. I just got it to install for Python 2.6. All I did
was change PYTHONPATH (as suggested by Mark) from
C:\Python25\Lib\site-packages to C:\Python26\Lib\site-packages
Why do you have PYTHONPATH set at all?
--
http://mail.python.org/mailman/listinfo/python-list
On Tue, May 12, 2009 at 11:47 PM, walterbyrd walterb...@iname.com wrote:
On May 12, 6:15 pm, norseman norse...@hughes.net wrote:
Subject line says UNIX to DOS
I hope that means you are using a UNIX machine.
I should have mentioned, I am working in an environment that is very
restrictive
On Fri, May 22, 2009 at 10:27 AM, Gökhan SEVER gokhanse...@gmail.com wrote:
...
serialc = np.loadtxt(sys.argv[1], skiprows=skiprows).T
for i in range(20):
locals()['serialc_bin' + str(i+1)] = serialc[i+4]
I don't know easier way than using locals() to construct variable-like
identities
On Fri, May 22, 2009 at 11:00 AM, Gökhan SEVER gokhanse...@gmail.com wrote:
Because in this case serialc is an numpy array. Since loadtxt returns a
numpy-array. Furthermore
locals()['serialc_bin' + str(i+1)] creates a dictionary key (that's what I
use the term variable-like) serialc_bin1,
On Sun, May 24, 2009 at 7:51 PM, Dave Angel da...@ieee.org wrote:
By decreeing that the value of PI is 3?
Only in Ohio.
Please, we're smarter than that in Ohio. In fact, while the Indiana
legislature was learning about PI, we had guys inventing the airplane.
On Thu, May 28, 2009 at 7:09 AM, Andreas Roehler
andreas.roeh...@online.de wrote:
Rhodri James wrote:
and I'll get over that. The feature that caused me to uninstall
python-mode.el was its bloody-minded determination to regard '_' as a word
character, something which caused me more typing
On Thu, Jun 11, 2009 at 9:20 AM, Johannes Bauerdfnsonfsdu...@gmx.de wrote:
Well, I'm not speaking about my software :-) Actually it's Gnucash which
complains if the tag is not explicitly set. This is because they
appearently had a ancient version which did not specify the charset, but
used a
Works for me.
Except that if I then do:
touch time.py
I get the same error as you do.
Can you figure out the problem now?
On Fri, Jul 26, 2013 at 11:57 AM, David M. Cotter m...@davecotter.com wrote:
okay, i have simplified it: here is the code
==
On Fri, Aug 2, 2013 at 9:26 PM, Terry Reedy tjre...@udel.edu wrote:
...
Of relevance to this list, Libre Office upgraded the included Python
interpreter to 3.3. I have no idea whether OO is still using 2.3 or also
updated.
They're up to 2.7 now.
--
On Sat, Oct 19, 2013 at 9:01 AM, Chris Angelico ros...@gmail.com wrote:
You can try all these out in the interactive interpreter (you probably
have IDLE installed, which on Windows is rather nicer to work with
than the default interactive mode).
IDLE is cross-platform. Could you explain why
On Sat, Oct 19, 2013 at 4:35 PM, Terry Reedy tjre...@udel.edu wrote:
On 10/19/2013 2:31 PM, Tim Chase wrote:
On 2013-10-19 14:08, David Robinow wrote:
On Sat, Oct 19, 2013 at 9:01 AM, Chris Angelico wrote:
You can try all these out in the interactive interpreter (you
probably have IDLE
On Tue, Sep 25, 2012 at 9:53 AM, D'Arcy Cain da...@druid.net wrote:
...
Now if only people would stop feeding the troll, those of us who have
already *plonked* him can stop seeing his ramblings in the responses.
I'm hating myself for jumping in to this nonsense, but ...
+1
--
On Sun, Sep 30, 2012 at 11:55 PM, Dave Angel d...@davea.name wrote:
The problem with that is that one has to already being using 3.3 to
use this facility. I was hoping for a solution which was backwards
compatible with Python 2.x.
...
That does not solve the problem for Python 2.x
On Wed, Oct 17, 2012 at 1:07 PM, Ian Kelly ian.g.ke...@gmail.com wrote:
return len(w) != len(w_decomposed) is all you need.
Thanks for helping, but I already knew that.
--
http://mail.python.org/mailman/listinfo/python-list
On Sat, Oct 20, 2012 at 3:10 PM, Dennis Lee Bieber
wlfr...@ix.netcom.com wrote:
On Sat, 20 Oct 2012 14:18:47 + (UTC), Grant Edwards
invalid@invalid.invalid declaimed the following in
gmane.comp.python.general:
True, but nobody prints source code out on paper do they?
Seriously -- I
On Mon, Oct 29, 2012 at 8:23 AM, ic...@tagyourself.com wrote:
Hello all,
I am very new to python. I am currently porting a little project of mine from
java to python and I need to be able to construct and write png images. I
naturally turned myself toward pypng to accomplish this.
I
On Sun, Oct 28, 2012 at 4:09 PM, Gelonida N gelon...@gmail.com wrote:
The only thing I'm concerned about paramiko is, that I don't see any
activity on the paramiko site and that one library it depends on is not
available is windows binary package for newer versions of python.
I don't
On Sat, Dec 22, 2012 at 9:10 AM, Arsalan Khan m.arsi.k...@gmail.com wrote:
I tried installing but it gives error..
Can anyone guide the procedure of configuring/Installing a python package in
windows ???
What did you do to try to install?
What error(s) did you get?
Where can I find this
On Mon, Nov 18, 2013 at 11:49 AM, Grant Edwards invalid@invalid.invalid wrote:
...
I don't make those mistakes typing on a phone (where I have to
actually think about the act of typing), but I do make them with a
regular keyboard, where I don't have to think about mechanics of
typing the
On Tue, Dec 10, 2013 at 11:59 AM, ru...@yahoo.com wrote:
On 12/10/2013 09:22 AM, Mark Lawrence wrote:
...
Mark is one of the resident trolls here. Among his other traits
is his delusion that he is Lord High Commander of this list.
Like with other trolls, the best advice is to ignore him
On Mon, Dec 16, 2013 at 12:26 AM, shengjie.sheng...@live.com wrote:
The idea is to grab the last 4 elements of the array. However i have an array
that contains a few hundred elements in it. And the values continues to
.append over time. How would i be able to display the last 4 elements of
On Mon, Dec 16, 2013 at 8:55 PM, shankha shankhabaner...@gmail.com wrote:
Hi,
I am trying to install Python 3.3 from the latest sources on linux.
After the installation when I try to run the following I get a error:
./python
Python 3.3.3 (default, Dec 16 2013, 18:28:25)
[GCC 4.8.2 20131017
treating bytes as chars considered harmful?
I don't know the answer to your question but the behavior seems right to me.
Python 3 grudgingly allows the abomination of byte strings (is that
what they're called? I haven't fully embraced Python3 yet). If you
want a substring you use a slice.
b =
1 - 100 of 163 matches
Mail list logo