On 2009-01-31 18:19, Paulo Repreza wrote:
Hi,
I'm just learning the very basics of python and I ran into this problem
in version 3.0/3000:
>>>x = input("x: ")
x: 36
>>> y = input("y: ")
y: 42
>>> print (x*y)
Traceback (most recent call last):
File "", line 1, in
print (x*y)
TypeError: can't m
Hi,
Thanks for your reply. It worked.
Paulo Repreza
On Sat, Jan 31, 2009 at 4:25 PM, Robert Kern wrote:
> On 2009-01-31 18:19, Paulo Repreza wrote:
>
>> Hi,
>> I'm just learning the very basics of python and I ran into this problem
>> in version 3.0/3000:
>> >>>x = input("x: ")
>> x: 36
>> >
Sorry i gave you the wrong module, try PMIDI for python 2.5
(win32.exe):
http://sourceforge.net/project/showfiles.php?group_id=65529&package_id=106729
Also try this page near the bottom under "MIDI Mania" for more
http://wiki.python.org/moin/PythonInMusic
--
http://mail.python.org/mailman/listinfo
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
I have several version of python running side by side on my ubuntu
install (2.5,2.6,3.0).
I'm installing a module with a setup.py script, in this case
logilab-common, so that I can get pylint going. However, I need to
install into python 2.6, but by d
On 2009-01-31 19:00, Brendan Miller wrote:
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
I have several version of python running side by side on my ubuntu
install (2.5,2.6,3.0).
I'm installing a module with a setup.py script, in this case
logilab-common, so that I can get pylint going. However
On Feb 1, 12:00 pm, Brendan Miller wrote:
> -BEGIN PGP SIGNED MESSAGE-
> I have several version of python running side by side on my ubuntu
> install (2.5,2.6,3.0).
>
> I'm installing a module with a setup.py script, in this case
> logilab-common, so that I can get pylint going. However,
En Sat, 31 Jan 2009 18:22:54 -0200, Gary Herron
escribió:
James Pruitt wrote:
Imagine there are two files horse.py and buffalo.py. horse.py is
imported by another file rider.py. Is it possible to make it so that
under certain circumstances possibly based on an environment variable
or somethi
On Sat, Jan 31, 2009 at 4:30 PM, andrew cooke wrote:
> On Jan 31, 4:50 pm, "Giampaolo Rodola'" wrote:
>> Google Code.
>>
>> --- Giampaolohttp://code.google.com/p/pyftpdlib
>
> thanks - that's a nice example. i'm a bit concerned about the whole
> google corporation thing, but reading through the
On Feb 1, 11:09 am, andrew cooke wrote:
> On Jan 31, 5:36 pm, aolsu...@gmail.com wrote:
>
> > C:\Python26>vnc.py
> > Traceback (most recent call last):
> > File "C:\Python26\vnc.py", line 4, in
> > import PyD3DES
> > ImportError: DLL load failed: The specified module could not be found.
>
>
I really like WebFaction for web-based Python projects. It's a paid
web-hosting service, though. What I like is how they always have the
most up-to-date Python packages and frameworks using one-click
installers.
On Sat, Jan 31, 2009 at 4:30 PM, andrew cooke wrote:
> On Jan 31, 4:50 pm, "Giampao
On 2009-01-31 19:52, John Machin wrote:
On Feb 1, 11:09 am, andrew cooke wrote:
On Jan 31, 5:36 pm, aolsu...@gmail.com wrote:
C:\Python26>vnc.py
Traceback (most recent call last):
File "C:\Python26\vnc.py", line 4, in
import PyD3DES
ImportError: DLL load failed: The specified module c
On Jan 31, 7:24 pm, John Machin wrote:
> A most munificent malapropism! Sherman's goat must be serene with
> entropy!!
Who say's George Bush did't have anything to offer :). He was the
decider after all.
--
http://mail.python.org/mailman/listinfo/python-list
thmpsn@gmail.com wrote:
> More interestingly, though, most compilers translate C and C++ code to
> assembler first. Does that mean that you can do object-oriented
> programming, generic programming, and procedural programming in
> assembler?
>
> Answer: No, but you can probably -- very clumsily
On approximately 1/27/2009 5:19 PM, came the following characters from
the keyboard of Chris Withers:
Hi All,
Too many people in the Python community think the only way to work with
Excel files in Python is using COM on Windows.
To try and correct this, I'm giving a tutorial at this year's PyCo
Regarding this blog post:
http://sayspy.blogspot.com/2009/01/importlib-is-now-in-python-31.html
When I use the ``import foo`` statement at the top of my program, I
get a module imported. python has a search path it follows, finds the
module, and makes it available to my program. Works nice. :)
S
excord80 gmail.com> writes:
>
> Regarding this blog post:
http://sayspy.blogspot.com/2009/01/importlib-is-now-in-python-31.html
Brett has made many other blog posts about his work on importlib. You might try
examining those.
>
> So, could someone explain what importlib exactly is, and why thi
thmpsn@gmail.com writes:
> I don't know how you would do it in C# (or Java for that matter).
>
> In C++ you can play with pointers to "get at" some memory location
> somewhere in the object. The only portable way to know the exact
> location between the beginning of the object and the desired
On Sat, Jan 31, 2009 at 3:00 PM, Tim Chase
wrote:
>>> I'm fairly new with python and am trying to build a fairly simple
>>> search script. Ultimately, I'm wanting to search a directory of files
>>> for multiple user inputted keywords. I've already written a script
>>> that can search for a singl
Actually, all I'm interested in is whether the 100 digit numbers have an exact
integral root, or not. At the moment, because of accuracy concerns, I'm doing
something like
for root in powersp:
nroot = round(bignum**(1.0/root))
I have a program in which I have successfully embedded Python. Now, I want
to include NumPy as well (and other modules). I am able to import numpy
once. Then I close the python console in my program and then re-open it.
When I try to import numpy for a second time, the program crashes. Below is
a s
"Tim Roberts" writes:
> Actually, all I'm interested in is whether the 100 digit numbers
> have an exact integral root, or not. At the moment, because of
> accuracy concerns, I'm doing something like
>
> for root in powersp:
> nroot = round(bignum
On Feb 1, 3:39 pm, Shawn Milochik wrote:
> Not to discourage the use of Python, but it seems that fgrep with the
> -f flag already does exactly what you want. If you're on Windows, you
> can get the Windows version of fgrep here: http://unxutils.sourceforge.net/
That URL is antique and a dead en
Paul,
Yes, very good, on all counts. Many thanks.
Tim
From: Paul Rubin [mailto:"http://phr.cx"@NOSPAM.invalid]
Sent: Sun 01-Feb-09 3:53 PM
To: python-list@python.org
Subject: Re: nth root
"Tim Roberts" writes:
> Actually, all I'm interested in is whethe
"Tim Roberts" writes:
> for root in powersp:
> nroot = round(bignum**(1.0/root))
> if bignum==long(nroot)**root:
> .
> which is probably very inefficient
On Sun, Feb 1, 2009 at 2:47 PM, Deepak Chandran
wrote:
> I have a program in which I have successfully embedded Python. Now, I want
> to include NumPy as well (and other modules). I am able to import numpy
> once. Then I close the python console in my program and then re-open it.
> When I try to i
Introducing PynutButter BETA 1.0.0
Automates csv data importation into any website. Or your money back.
Programs like this idea of a program I have here cost $2500. Pynutbutter is
opensource. You can use the code anyway you want. As long as I get my credit
where it is due. I've worked on this proj
> Embedding numpy works once, but not twice??
That's what she said!
--
http://mail.python.org/mailman/listinfo/python-list
8<--
... Setting the
SO_REUSEADDR flag on POSIX fixes this problem (don't set it on Windows,
though).
Why not? I have been merrily setting it, and I have not noticed anything weird.
(yet)
Please see my original post. I specifically stated that I d
Hi all
what IDE is the best to write python?
thanks
from Peter (mcheun...@hotmail.com)
--
http://mail.python.org/mailman/listinfo/python-list
On Sat, 31 Jan 2009 15:28:14 -0800, thmpsn.m.k wrote:
> On Jan 31, 2:27 pm, Christian Heimes wrote:
>> Do you honestly believe that C++'s private members are really private?
>> Privateness is only enforced during parsing time. Nobody can stop you
>> from messing around with header files or memory
101 - 130 of 130 matches
Mail list logo