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
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 "
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
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.
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
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
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
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
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
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
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
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 ="
(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*,
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
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
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
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
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,
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
_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,
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
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
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
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
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
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
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
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
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
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
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
it might be very slow when the data is big...
--
http://mail.python.org/mailman/listinfo/python-list
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
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
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
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
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
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
I just dloaded 0.7.4.b an hour ago... your quik. Ha...lol. :-)
--
http://mail.python.org/mailman/listinfo/python-list
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/
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
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
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,
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
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,
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
46 matches
Mail list logo