Good evening,
My son is trying to download python 3.8.0 on my PC, which has Windows 10,
and it won't install properly. I'm not tech savvy and have no idea where to
start.
Catherine Morris
--
https://mail.python.org/mailman/listinfo/python-list
us parts of the code?
Thank you for any advice,
Catherine
--
https://mail.python.org/mailman/listinfo/python-list
us parts of the code?
Thank you for any advice,
Catherine
--
https://mail.python.org/mailman/listinfo/python-list
B": 2}
def func2(self):
a = [1]
b = [2]
for attr in ("a", "b"):
var = getattr(self, attr) ! What do I put in place of self
var.append(100)! to access vars "a" and "b" that
I am merely assigning a new value to the same object.
Is there some way to rewrite the code above so the change of "a" from
1.0 to 100.0 is reflected in the dictionary. I would like to use
simple datatypes such as floats, rather than numpy arrays or classes.
I tried using weakref's, but got the error that a weak reference cannot
be created to a float.
Catherine
--
http://mail.python.org/mailman/listinfo/python-list
ference. Well worth the time and money!
Catherine
Eric Snow wrote:
On Thu, Nov 3, 2011 at 12:13 PM, Behnam wrote:
Anybody is aware of any advanced course in Python preferably in north
america?
I've been partly coding in Python for couple of years now and have
used PyQt. What I'd l
ference. Well worth the time and money!
Catherine
Eric Snow wrote:
On Thu, Nov 3, 2011 at 12:13 PM, Behnam wrote:
Anybody is aware of any advanced course in Python preferably in north
america?
I've been partly coding in Python for couple of years now and have
used PyQt. What I'd l
he
os.system call as described above and be done with it? Is that the
fastest method in this case? Are there any "pure python" ways of
getting the same speed as os.system?
Thanks,
Catherine
--
http://mail.python.org/mailman/listinfo/python-list
, (2, 0.0), (3, 0.0)],
dtype=[('n', '>> a
array([(0, 0.0), (0, 0.0), (0, 0.0), (0, 0.0)],
dtype=[('n', '>> a = numpy.zeros((4))
>>> a[mask] += b[mask]
>>> a
array([ 0., 0., 2., 0.])
What is it about a numpy record array that prevents the mask statement
from working, and how do I get around this?
Thanks,
Catherine
--
http://mail.python.org/mailman/listinfo/python-list
hat writes the pickled file has the statement
"from Y.X import X" statement" at the top, as does the reading code, but
even though that import statement succeeds, the read still fails with
the import error.
Thanks for any help,
Catherine
--
http://mail.python.org/mailman/listinfo/python-list
pyhdfeos-1.0_r57_58-py2.5-linux-x86_64.egg
variable showing up as one of the first entries in sys.path.
Thanks for the education,
Catherine
Dan Stromberg wrote:
On Tue, Jan 11, 2011 at 4:30 PM, Catherine Moroney
wrote:
In what order does python import modules on a Linux system? I have a
packa
pyhdfeos-1.0_r57_58-py2.5-linux-x86_64.egg
variable showing up as one of the first entries in sys.path.
Thanks for the education,
Catherine
Dan Stromberg wrote:
On Tue, Jan 11, 2011 at 4:30 PM, Catherine Moroney
wrote:
In what order does python import modules on a Linux system? I have a
packa
4 is in my PATH variable, but doesn't appear anywhere else. I
don't want to remove /usr/lib64 from my PATH because that will break
a lot of stuff.
Can I force python to import from my PYTHONPATH first, before looking
in the system directory?
Catherine
--
http://mail.python.org/mailman/listinfo/python-list
Robert Kern wrote:
On 2010-04-16 14:06 PM, Catherine Moroney wrote:
Hello,
I want to call a system command (such as uname) that returns a string,
and then store that output in a string variable in my python program.
What is the recommended/most-concise way of doing this?
I could always
:
hostinfo = subprocess.Popen("uname -srvi") and have hostinfo
be a string containing the result of issuing the uname command.
Thanks for any tips,
Catherine
--
http://mail.python.org/mailman/listinfo/python-list
nning simultaneously?
Catherine
--
http://mail.python.org/mailman/listinfo/python-list
Heya,
I am reading an XML file (code at the end if it helps) and all goes well
except I am getting the http response code printed. So everything (hat
works of course) has "200 OK" on the first line. Am I missing some
simple way of surprising this, or should I just delete the 1st line
before p
W. eWatson wrote:
Catherine Heathcote wrote:
W. eWatson wrote:
Catherine Heathcote wrote:
W. eWatson wrote:
I'm not sure whether I should feel old or write a smart alec
comment --
I suppose there are people in the world who don't know what to do
with a
command prompt
W. eWatson wrote:
Catherine Heathcote wrote:
W. eWatson wrote:
I'm not sure whether I should feel old or write a smart alec comment --
I suppose there are people in the world who don't know what to do
with a
command prompt
Assuming a Windows system:
2. Type 'cd
W. eWatson wrote:
I'm not sure whether I should feel old or write a smart alec comment --
I suppose there are people in the world who don't know what to do with a
command prompt
Assuming a Windows system:
2. Type 'cd ' (as in Change Directory) in the command prompt window (w/o
the single
Aahz wrote:
In article ,
Catherine Heathcote wrote:
But I just cant find it. How do I do an or, as in c/c++'s ||? Just
trying to do something simple, the python equivilent of:
if(i % 3 == 0 || i % 5 == 0)
if i % 3 == 0 or i % 5 == 0:
You may find it worthwhile to quickly step th
TechieInsights wrote:
On Feb 12, 9:03 am, Catherine Heathcote
wrote:
But I just cant find it. How do I do an or, as in c/c++'s ||? Just
trying to do something simple, the python equivilent of:
if(i % 3 == 0 || i % 5 == 0)
Thanks.
if i % 3 == 0 or i % 5 == 0
Yea, new it wou
But I just cant find it. How do I do an or, as in c/c++'s ||? Just
trying to do something simple, the python equivilent of:
if(i % 3 == 0 || i % 5 == 0)
Thanks.
--
http://mail.python.org/mailman/listinfo/python-list
Mike Driscoll wrote:
On Feb 4, 10:47 am, Catherine Heathcote
wrote:
Firstly hi, I don't know any of you yet but am picking up Python and
will be lurking here a lot lol. I am a hobbiest coder (did 3 out of 4
years of a comp tech degree, long story) and am learning Python, 'cos I
saw
Firstly hi, I don't know any of you yet but am picking up Python and
will be lurking here a lot lol. I am a hobbiest coder (did 3 out of 4
years of a comp tech degree, long story) and am learning Python, 'cos I
saw some code and it just looks a really nice language to work with. I
come from C++
Tim Rowe wrote:
2009/2/3 Jervis Whitley :
real programmers use ed.
Ed? Eee, tha' were lucky. We had to make holes in Hollerith cards wi'
our bare teeth...
You had teeth!?!
Oh and hi, I shall be a new face in the crowd ;)
--
http://mail.python.org/mailman/listinfo/python-list
On Jan 14, 2009, at 5:20 PM, Jean-Paul Calderone wrote:
On Wed, 14 Jan 2009 17:11:44 -0800, Catherine Moroney
wrote:
[snip]
The easy thing is to use a Queue object. The background thread uses
.put() to place a computed result on the QUeue and the caller uses
.get() to read from the queue
Cameron Simpson wrote:
On 14Jan2009 15:50, Catherine Moroney wrote:
James Mills wrote:
On Wed, Jan 14, 2009 at 11:02 AM, Catherine Moroney
wrote:
I would like to spawn off multiple instances of a function
and run them simultaneously and then wait until they all complete.
[...]
Try using
James Mills wrote:
On Wed, Jan 14, 2009 at 11:02 AM, Catherine Moroney
wrote:
I would like to spawn off multiple instances of a function
and run them simultaneously and then wait until they all complete.
Currently I'm doing this by calling them as sub-processes
executable from the command
a lot prettier and be shorter
to boot if I could spawn off function calls rather than
subprocesses.
Thanks for any advice,
Catherine
--
http://mail.python.org/mailman/listinfo/python-list
Dan Upton wrote:
On Wed, Nov 19, 2008 at 2:38 PM, Catherine Moroney
<[EMAIL PROTECTED]> wrote:
Dan Upton wrote:
On Wed, Nov 19, 2008 at 2:13 PM, Philip Semanchuk <[EMAIL PROTECTED]>
wrote:
On Nov 19, 2008, at 2:03 PM, Catherine Moroney wrote:
The command (stored as an array of s
Dan Upton wrote:
On Wed, Nov 19, 2008 at 2:13 PM, Philip Semanchuk <[EMAIL PROTECTED]> wrote:
On Nov 19, 2008, at 2:03 PM, Catherine Moroney wrote:
The command (stored as an array of strings) that I'm executing is:
['python ../src_python/Match1.p
'--file_ref=MISR_AM1_GRP_ELLIPSOID_GM_P228_O003571_BF_F03_0024.hdf ',
'--file_cmp=MISR_AM1_GRP_ELLIPSOID_GM_P228_O003571_DF_F03_0024.hdf ',
'--block_start=62 ', '--block_end=62 ', '--istep=16 ', '--chmetric=M2 ',
'--use_textid=true
han calling it directly?
File "../src_python/Match4.py", line 24, in RunMatch4
sub1 = subprocess.Popen(command1)
File "/usr/lib64/python2.5/subprocess.py", line 593, in __init__
errread, errwrite)
File "/usr/lib64/python2.5/subprocess.py", line 1051, in _execu
ython 2.5 on a Linux box (Fedora release 7).
Is there a way to see how much memory is being consumed
by a single data structure or variable? How can I go about
debugging this problem?
Catherine
--
http://mail.python.org/mailman/listinfo/python-list
On Tue, 22 Jul 2008 09:35:58 -0700, Matimus wrote:
> On Jul 22, 9:26 am, Catherine Heathcote
> <[EMAIL PROTECTED]> wrote:
>> If I create a new class inherited from another with a constructor, what
>> happens with the new class's constructer?
>> Thanks for your
If I create a new class inherited from another with a constructor, what
happens with the new class's constructer?
Thanks for your time.
--
http://mail.python.org/mailman/listinfo/python-list
nerate setup.py - maybe such a
script has already been written?
Can somebody who understands eggs better comment?
Thanks very much!
- Catherine
http://catherinedevlin.blogspot.com
--
http://mail.python.org/mailman/listinfo/python-list
I will be out of the office on June 16, to return on June 17. I will reply to
your message at that time.
Catherine Kostyn
Transportation Planner
Indianapolis MPO
200 E. Washington St., Ste. 1821
Indianapolis, IN 46204
(317)327-5142
--
http://mail.python.org/mailman/listinfo/python-list
39 matches
Mail list logo