Re: Update from 3.9 to 3.10.8 and uninstall 3.9

2022-10-23 Thread Mike Dewhirst
On 23/10/2022 9:13 pm, B N wrote: I am new to python and wish to update 3.9 to3.10.8 which I have downloaded. How do I replace 3.9 with the 3.10.8 I downloaded. Kind regards JohnGee It depends on the operating system. Typically, you can just install the new version and adjust your environmen

Re: Update a specific element in all a list of N lists

2021-12-19 Thread Friedrich Rentsch
On 12/16/21 3:00 PM, hanan lamaazi wrote: Dear All, I really need your assistance, I have a dataset with 1005000 rows and 25 columns, The main column that I repeatedly use are Time, ID, and Reputation First I sliced the data based on the time, and I append the sliced data in a list called "

Re: update python 3.4.2 to 3.4.6 on Windows X64

2017-05-21 Thread MRAB
On 2017-05-21 22:23, Daiyue Weng wrote: okay, I see, I will uninstall 3.4 and install 3.6. You don't have to uninstall 3.4 until you really don't need it, when you've fulling moved to the new version and you need the disk space; just don't install 3.6 into the same folder (they default to inst

Re: update python 3.4.2 to 3.4.6 on Windows X64

2017-05-21 Thread Daiyue Weng
okay, I see, I will uninstall 3.4 and install 3.6. thanks On 21 May 2017 at 22:18, Chris Angelico wrote: > On Mon, May 22, 2017 at 7:14 AM, Daiyue Weng wrote: > > Hi, I am wondering how to update/install python 3.4.2 to 3.4.6 on Win X64 > > (Win 10), the PSF only provides tarballs for the 3.4.

Re: update python 3.4.2 to 3.4.6 on Windows X64

2017-05-21 Thread Chris Angelico
On Mon, May 22, 2017 at 7:14 AM, Daiyue Weng wrote: > Hi, I am wondering how to update/install python 3.4.2 to 3.4.6 on Win X64 > (Win 10), the PSF only provides tarballs for the 3.4.6 installation. Do you actually need 3.4.6, or can you upgrade to 3.5 or 3.6? Full installers are available for th

Re: update a list element using an element in another list

2017-01-31 Thread Rhodri James
On 31/01/17 11:28, Daiyue Weng wrote: Hi, I am trying to update a list of dictionaries using another list of dictionaries correspondingly. In that, for example, # the list of dicts that need to be updated dicts_1 = [{'dict_1': '1'}, {'dict_2': '2'}, {'dict_3': '3'}] # dict used to update dicts

Re: update a list element using an element in another list

2017-01-31 Thread Jussi Piitulainen
Daiyue Weng writes: > Hi, I am trying to update a list of dictionaries using another list of > dictionaries correspondingly. In that, for example, > > # the list of dicts that need to be updated > dicts_1 = [{'dict_1': '1'}, {'dict_2': '2'}, {'dict_3': '3'}] > > # dict used to update dicts_1 > up

Re: update certain key-value pairs of a dict from another dict

2016-11-11 Thread Tim Chase
On 2016-11-11 13:29, Peter Otten wrote: > The same using update(), with a generator expression that avoids > the intermediate dict: > > >>> dict1 = {'A': 'a', 'B': 'b', 'C': 'c'} > >>> dict1.update((k, dict2[k]) for k in desired & dict1.keys() & > dict2.keys()) Huh. Handy to file that new knowl

Re: update certain key-value pairs of a dict from another dict

2016-11-11 Thread Peter Otten
Tim Chase wrote: > On 2016-11-11 11:17, Daiyue Weng wrote: >> dict1 = {'A': 'a', 'B': 'b', 'C': 'c'} >> dict2 = {'A': 'aa', 'B': 'bb', 'C': 'cc'} >> >> I am wondering how to update dict1 using dict2 that >> >> only keys 'A' and 'B' of dict1 are udpated. It will result in >> >> dict1 = {'A': 'aa

Re: update certain key-value pairs of a dict from another dict

2016-11-11 Thread Tim Chase
On 2016-11-11 11:17, Daiyue Weng wrote: > dict1 = {'A': 'a', 'B': 'b', 'C': 'c'} > dict2 = {'A': 'aa', 'B': 'bb', 'C': 'cc'} > > I am wondering how to update dict1 using dict2 that > > only keys 'A' and 'B' of dict1 are udpated. It will result in > > dict1 = {'A': 'aa', 'B': 'bb', 'C': 'c'} Use

Re: Update slider widget range

2012-11-22 Thread Mark Lawrence
On 21/11/2012 13:59, moadeep wrote: I am trying to write a small bit of code that interactively deletes selected slices in an image series using matplotlib. I have created a button 'delete' which stores a number of indices to be deleted when the button 'update' is selected. However, I am curre

Re: update of elements in GUI

2010-08-17 Thread woooee
On Aug 16, 9:07 pm, Jah_Alarm wrote: > hi, I've already asked this question but so far the progress has been > small. > > I'm running Tkinter. I have some elements on the screen (Labels, most > importantly) which content has to be updated every iteration of the > algorithm run, e.g. "Iteration ="

Re: update of elements in GUI

2010-08-17 Thread Eric Brunel
(Top-post corrected; please don't do that, it makes messages very hard to read via usenetŠ) In article <26c363c8-11d7-49b9-a1c1-251ab5ff9...@p22g2000pre.googlegroups.com>, Jah_Alarm wrote: > On Aug 17, 7:19 pm, Eric Brunel > wrote: > > You have to call update_idletasks on a Tkinter *widget*,

Re: update of elements in GUI

2010-08-17 Thread Jah_Alarm
In MATLAB this command is drawnow, just in case On Aug 17, 9:49 pm, Jah_Alarm wrote: > thanks. The thing is, the objects actually get updated without this > command, but when I run the GUI outside of python shell (i.e. in > command prompt as python filename.py or compile it to .exe file) the > ob

Re: update of elements in GUI

2010-08-17 Thread Jah_Alarm
thanks. The thing is, the objects actually get updated without this command, but when I run the GUI outside of python shell (i.e. in command prompt as python filename.py or compile it to .exe file) the objects do not get updated. I tried Label(mainframe,textvariable=var).grid(column=1,row=1).update

Re: update of elements in GUI

2010-08-17 Thread Eric Brunel
In article <24dc97b3-a8b5-4638-9cf5-a397f1eae...@q16g2000prf.googlegroups.com>, Jah_Alarm wrote: > hi, I've already asked this question but so far the progress has been > small. > > I'm running Tkinter. I have some elements on the screen (Labels, most > importantly) which content has to be upd

Re: update of elements in GUI

2010-08-16 Thread woooee
On Aug 16, 9:07 pm, Jah_Alarm wrote: I have some elements on the screen (Labels, most > importantly) which content has to be updated every iteration of the > algorithm The variable type is IntVar() You would use int_var_name.set(some_number) -- http://mail.python.org/mailman/listinfo/python-lis

Re: update python version

2009-05-07 Thread Gerhard Häring
km wrote: > Hi all, > > Is there a way to update python 2.6.1 to 2.6.2 using easy_install ? No, easy_install installs Python packages. It doesn't upgrade Python itself. If this is Windows, just install the newer Python version. No need to uninstall the 2.6.1 first. If this is some Unix variant,

Re: Update

2008-06-05 Thread monika
http://windowsxpprotips.blogspot.com/ windows xp pro tips http://thebesthealthtips.blogspot.com/the best health tips http://unwealthyhabits.blogspot.com/ unwealthy habits http://beautytipsfornewu.blogspot.com/ beauty tips for new u http://datingattractivewomen.blogspot.com/how to a

Re: Update pytz timezone definitions

2008-03-14 Thread Matt Nordhoff
_robby wrote: > I am looking at using pytz in a scheduling application which will be > used internationally. I would like to be able to update the definition > files that pytz uses monthly or bi-monthly. > > As far as I can tell, pytz seems to be updated (fairly) regularly to > the newest tzdata,

Re: Update of Gnuplot.py

2008-01-09 Thread Wayne Brehaut
On Wed, 9 Jan 2008 03:43:38 -0800 (PST), Tom La Bone <[EMAIL PROTECTED]> wrote: > >Can someone suggest where to get a version of Gnuplot.py (for Windows) that >has been updated to use numpy? Or, is there another interface available to >use GnuPlot from Python? > >Thanks. > >Tom Gnuplot 1.7 uses

Re: Update to Python Quick Reference Card (for Python 2.4) (v0.67)

2007-04-30 Thread kyosohma
On Apr 30, 7:42 am, Laurent Pointal <[EMAIL PROTECTED]> wrote: > PQRC (Python Quick Reference Card) is a condensed documentation for > Python and its main libraries, targetting production of printed quick > reference cards. > Its available as OpenDocument .odt files and as A4 and USLetter > formatt

Re: update attribute - (newbie)

2006-12-20 Thread Gabriel Genellina
At Tuesday 19/12/2006 11:49, Larry Bates wrote: > I would like to have it that when I ask for p, method _get_p is always > called so that attribute can be updated. How can I have this > functionality here? thanks > Something like this? class A: def __init__(self): self.t=4 r

Re: update attribute - (newbie)

2006-12-19 Thread Larry Bates
Bruce wrote: class A: > ... def __init__(self): > ... self.t = 4 > ... self.p = self._get_p() > ... def _get_p(self): > ... return self.t > ... a = A() a.p > 4 a.t += 7 a.p > 4 > > I would like to have it that when I ask for p, method _get_p is always > called so t

Re: update attribute - (newbie)

2006-12-19 Thread Diez B. Roggisch
Bruce wrote: class A: > ... def __init__(self): > ... self.t = 4 > ... self.p = self._get_p() > ... def _get_p(self): > ... return self.t > ... a = A() a.p > 4 a.t += 7 a.p > 4 > > I would like to have it that when I ask for p, method _get_p is always > called so

Re: update a window with tkinter ...

2006-07-27 Thread John McMonagle
On Thu, 2006-07-27 at 19:56 +0200, Laurent Hermann wrote: > Hi I'm new on this list so let me say hello to everybody. > > > I have a little problem with tkinter but I could not find the solution > on the net so I ask it here... > > > The thing I want to do is simple but I cannot, I would like t

Re: Update on Memory problem with NumPy arrays

2006-06-21 Thread sonjaa
I've been in contact with Travis O, and he said it was fixed in the SVN. thanks for the suggestions, I'll try them out now. best Sonja Filip Wasilewski wrote: > sonjaa wrote: > > Hi > > > > last week I posted a problem with running out of memory when changing > > values in NumPy arrays. Since th

Re: Update on Memory problem with NumPy arrays

2006-06-21 Thread Filip Wasilewski
sonjaa wrote: > Hi > > last week I posted a problem with running out of memory when changing > values in NumPy arrays. Since then I have tried many different > approaches and > work-arounds but to no avail. [...] Based on the numpy-discussion this seems to be fixed in the SVN now(?). Anyway, you

Re: Update on Memory problem with NumPy arrays

2006-06-21 Thread Fredrik Lundh
sonjaa wrote: > Also, are there other python methods/extensions that can create > multi-deminsional arrays? if this example is typical for the code you're writing, you might as well use nested Python lists: def make_array(width, height, value): out = [] for y in range(hei

Re: Update on Memory problem with NumPy arrays

2006-06-21 Thread Robert Kern
sonjaa wrote: > Hi > > last week I posted a problem with running out of memory when changing > values in NumPy arrays. Since then I have tried many different > approaches and > work-arounds but to no avail. > > I was able to reduce the code (see below) to its smallest size and > still > have the

Re: Update Demo/ and Tools/ directories

2006-04-24 Thread Martin v. Löwis
Dennis Benzinger wrote: > How exactly should the directories be updated? Should it just be made > sure that the demos and examples are working or should they be updated > to use the newest applicable Python features (e.g. the new any/all > functions)? That's all your choice. The Demo directory sho

Re: update or refresh a Listbox widget

2006-04-03 Thread Recoruds
it might be very slow when the data is big... -- http://mail.python.org/mailman/listinfo/python-list

Re: update or refresh a Listbox widget

2006-04-02 Thread Fredrik Lundh
Arne Meissner wrote: > Is there a function to update/refresh a listbox widget. > My one is connected to a database and after a change of the database I would > like the listbox to be updated. Tkinter? the quickest way is to do: w.delete(0, END) w.insert(0, *data) where w is the widget

Re: UPDATE imap folder scanner

2006-03-23 Thread Kun
Okay So I got the 'search' part to work, which outputs me a long list of message numbers. how do i use that list of message numbers to fetch the 'from' address for each one and send them a confirmation email? is this some sort for loop? any help would be greatly appreciated. cheers. Kun wrot

Re: UpDate For SCSIPython Storage device test library

2006-01-03 Thread sam
I found a bug in the GetLastError() call I was making after all calls to DeviceIOControl() when accessing the devices mounted by Windows. This has been corrected and posted to http://starship.python.net/crew/samschul/ These changes have been made to SCSITOOLS23USBVer1.4.zip, and SCSITOOLS24USBV1.4

Re: UpDate For SCSIPython Storage device test library

2005-12-30 Thread sam
Just a added note,that these routines will access any storage drive that is mounted under Windows. The Scsi Pass Through layer maps all Pcmcia,IDE,andSCSI drives to use SCSI commands. This allows a user to access all these interfaces with a common command set. Sam Schulenburg -- http://mail.pyth

Re: Update the sorting mini-howto

2005-11-29 Thread Andrew Dalke
I wrote: > Years ago I wrote the Sorting mini-howto, currently at > > http://www.amk.ca/python/howto/sorting/sorting.html Thanks to amk it's now on the Wiki at http://wiki.python.org/moin/HowTo/Sorting so feel free to update it directly. Andrew

Re: UPDATE: SPE 0.7.4.d Python Editor released

2005-07-25 Thread Stani
Well, now you could go for n. I try to be as quick as my feedback from users. -- http://mail.python.org/mailman/listinfo/python-list

Re: UPDATE: SPE 0.7.4.d Python Editor released

2005-07-21 Thread travlr
I just dloaded 0.7.4.b an hour ago... your quik. Ha...lol. :-) -- http://mail.python.org/mailman/listinfo/python-list

Re: Update Label when Scale value changes

2005-04-19 Thread Kent Johnson
codecraig wrote: Yea that is what i needed. Can you recommend a good Tkinter site (or book, but preferably site) about learning Tkinter. I've tried: http://www.python.org/moin/TkInter http://www.pythonware.com/library/tkinter/introduction/ I also like http://infohost.nmt.edu/tcc/help/pubs/tkinter/

Re: Update Label when Scale value changes

2005-04-19 Thread Jørgen Cederberg
codecraig wrote: Yea that is what i needed. Can you recommend a good Tkinter site (or book, but preferably site) about learning Tkinter. I've tried: http://www.python.org/moin/TkInter http://www.pythonware.com/library/tkinter/introduction/ But I am looking for more about events, etc. Thanks Hi the

Re: Update Label when Scale value changes

2005-04-19 Thread codecraig
Yea that is what i needed. Can you recommend a good Tkinter site (or book, but preferably site) about learning Tkinter. I've tried: http://www.python.org/moin/TkInter http://www.pythonware.com/library/tkinter/introduction/ But I am looking for more about events, etc. Thanks -- http://mail.pyt

Re: Update Label when Scale value changes

2005-04-19 Thread Jørgen Cederberg
codecraig wrote: Hi, I am using Tkinter and I have a Label and a Scale. I want to update my label everytime the Scale value changes. What is the best way of doing this? Do i have to bind for every event type? Or is there some better way? If I do have to bind each type of event to the scale,

Re: update images inside a mysql database

2005-02-25 Thread Jonas Meurer
On 25/02/2005 Dennis Lee Bieber wrote: > On Thu, 24 Feb 2005 23:10:48 +0100, Jonas Meurer <[EMAIL PROTECTED]> > declaimed the following in comp.lang.python: > > > > version used placeholders as well. anyway, i changed my code to resemble > > "resemble" is the key... It is NOT the correct s

Re: update images inside a mysql database

2005-02-24 Thread Jonas Meurer
On 24/02/2005 Gabriel Cooper wrote: > I've never tried extensively to use images inside a database (too slow > for most of my uses), but I thought I'd drop in to point out that you > should, for security reasons, be using place holders on your sql. It > might just fix your image problem as well,

Re: update images inside a mysql database

2005-02-24 Thread Gabriel Cooper
Jonas Meurer wrote: def i_update(image, imgid): image = "%s" % (image) sql_exec = """UPDATE Images SET Image='%s' WHERE ImgID = '%s' """ % (image, imgid) o = open("/tmp/file.jpg", "w") o.write(image) o.close() db_connect.cursor.execute(sql_e