rbowman writes:
> On Thu, 20 Feb 2025 21:51:51 - (UTC), Lawrence D'Oliveiro wrote:
>
>> On Thu, 20 Feb 2025 10:05:32 -0300, Salvador Mirzo wrote:
>>
>>> It's much more pleasurable (to me) to read books off-screen.
>>
>> You can’t do searches, though.
>
> For non-fiction a decent index does
Lawrence D'Oliveiro writes:
> On Thu, 20 Feb 2025 10:05:32 -0300, Salvador Mirzo wrote:
>
>> It's much more pleasurable (to me) to read books off-screen.
>
> You can’t do searches, though.
That's quite right, which is why I also love to have an ebook form of
them.
--
https://mail.python.org/mai
On Thu, 20 Feb 2025 21:51:51 - (UTC), Lawrence D'Oliveiro wrote:
> On Thu, 20 Feb 2025 10:05:32 -0300, Salvador Mirzo wrote:
>
>> It's much more pleasurable (to me) to read books off-screen.
>
> You can’t do searches, though.
For non-fiction a decent index does wonders. A good layout and ta
Lawrence D'Oliveiro writes:
> On Wed, 19 Feb 2025 22:42:23 -0500, songbird wrote:
>
>> no need for me to print any programming books.
>
> I gave up on paper-based programming documentation a long time ago. There
> is way too much of it that I need, and it changes too fast. So I keep it
> all on
Mike wrote:
...
> My current best collection for online quality open access Python Books
> is on:
> https://nocomplexity.com/documents/pythonbook/generatedfiles/overview.html#books
>
thanks!
no need for me to print any programming books.
some old textbooks are still useful, but many pr
ed to be fairly good at Python, but I haven't done any serious programming
in the last 10 years or so. So I would like something that got me up-to-date
with the latest features.
Great question. But also not a simple question.
Great new promising developments are not only happening in core Py
* Jan Erik Moström in comp.lang.python:
> I'm looking for a book that would teach me the lastest and greatest
> parts of Python, does anyone have any recommendations?
Wider than that, but could still fit the bill: Fluent Python
https://www.oreilly.com/library/view/fluent-python-2nd/9781492056348/
On 2/16/25 18:40, Salvador Mirzo via Python-list wrote:
Jan Erik Moström writes:
On 16 Feb 2025, at 20:47, rbowman via Python-list wrote:
David Beasley's 'Python Distilled'. The author doesn't enumerate Python 3
features specifically but as the title suggests hits the important
concepts.
T
Jan Erik Moström writes:
> On 16 Feb 2025, at 20:47, rbowman via Python-list wrote:
>
>> David Beasley's 'Python Distilled'. The author doesn't enumerate Python 3
>> features specifically but as the title suggests hits the important
>> concepts.
>
> Thanks, I'll take a look
I can reinforce this
On Mon, 17 Feb 2025 08:59:11 +1300, dn wrote:
> - on Coursera am sad to advise avoiding U.Mich courses - they tend to be
> re-worded Java (I think) content, don't follow PEP-008 and 'miss' Python
> idioms
The edx CS50 Python from Harvard is decent. It does start with the basics
but overall I enj
On Sun, 16 Feb 2025 22:00:11 +0100, Jan Erik Moström wrote:
> I have done so ... to be really honest, it was when I couldn't remember
> how to create an iterator for a class I was writing, that I realized
> that I needed a refresher.
Most of my Python was related to Esri's ArcGIS version. Up unti
On 16 Feb 2025, at 23:06, Thomas Passin via Python-list wrote:
> I don't have a book for them but I think you should look into the (relatively
> new) type annotation system, as well as asynchronized programming. The latter
> is especially of interest because the older techniques have been remove
On 2/16/2025 4:00 PM, Jan Erik Moström via Python-list wrote:
On 16 Feb 2025, at 20:59, dn via Python-list wrote:
When stop to think about it, this is quite a request:
don't give me what I do know,
do give me what I don't know!
😜
That said, you are correct: the bulk of new publications seem
On 16 Feb 2025, at 20:59, dn via Python-list wrote:
> When stop to think about it, this is quite a request:
> don't give me what I do know,
> do give me what I don't know!
😜
> That said, you are correct: the bulk of new publications seem to (still) aim
> at the Beginner end of the continuum (se
On 16 Feb 2025, at 20:47, rbowman via Python-list wrote:
> David Beasley's 'Python Distilled'. The author doesn't enumerate Python 3
> features specifically but as the title suggests hits the important
> concepts.
Thanks, I'll take a look
= jem
--
https://mail.python.org/mailman/listinfo/python
On Sun, 16 Feb 2025 13:50:33 +0100, Jan Erik Moström wrote:
> I used to be fairly good at Python, but I haven't done any serious
> programming in the last 10 years or so. So I would like something that
> got me up-to-date with the latest features.
David Beasley's 'Pytho
be fairly good at Python, but I haven't done any serious programming
in the last 10 years or so. So I would like something that got me up-to-date
with the latest features.
I don't need anything that would teach me OOP, functional programming, etc
(unless there is a new feature). In ot
be fairly good at Python, but I haven't done any serious programming
in the last 10 years or so. So I would like something that got me up-to-date
with the latest features.
I don't need anything that would teach me OOP, functional programming, etc
(unless there is a new feature). In ot
ious programming
in the last 10 years or so. So I would like something that got me up-to-date
with the latest features.
I don't need anything that would teach me OOP, functional programming, etc
(unless there is a new feature). In other words I'm looking for something that
concentrates
> > .From all the posts I gather the answer to my question is
> > "simply": unpackaged-but-needed modules need to be packaged.
>
> I think there is one aspect that isn't getting consideration here. And
> that is whether or not you want these packages installed in the default
> system Python instal
On 11/6/2023 5:04 PM, Karsten Hilbert via Python-list wrote:
Am Mon, Nov 06, 2023 at 02:43:47PM -0700 schrieb Mats Wichmann via Python-list:
I had just hoped someone here might have a handy pointer for
how to deal with modules having to be installed from pip for
use with an apt-installed python
Am Mon, Nov 06, 2023 at 02:43:47PM -0700 schrieb Mats Wichmann via Python-list:
> >I had just hoped someone here might have a handy pointer for
> >how to deal with modules having to be installed from pip for
> >use with an apt-installed python-based application.
>
> That just shouldn't happen - su
On 11/6/23 14:28, Karsten Hilbert via Python-list wrote:
I had just hoped someone here might have a handy pointer for
how to deal with modules having to be installed from pip for
use with an apt-installed python-based application.
That just shouldn't happen - such packages are supposed to be
Am Mon, Nov 06, 2023 at 08:58:00AM +0100 schrieb Dieter Maurer:
> I know that debian packagers create debian packages
> from Python distributions not using the approach sketched above
> and likely they have their reasons.
>
> You might want to discuss this on an `apt` related mailing list.
Yeah,
Am Mon, Nov 06, 2023 at 01:17:11AM - schrieb Jon Ribbens via Python-list:
> >> >> Are they not available in your system's package manager?
> >> >
> >> > ... this clearly often answers to "no" for applications of
> >> > any complexity.
> >> >
> >> > Is there a suggested proper path to deal with
Karsten Hilbert wrote at 2023-11-5 23:19 +0100:
> ...
>do you happen to know where to read up on how to fit a pip
>constraint file into a Debian package creation workflow ?
I have only rudimentary `apt` knowledge.
I know it is quite flexible, e.g. it used to handle `flash`
in a special way. I exp
On 2023-11-05, Karsten Hilbert wrote:
> Am Fri, Nov 03, 2023 at 01:53:32PM - schrieb Jon Ribbens via Python-list:
>
>> >> Are they not available in your system's package manager?
>> >
>> > ... this clearly often answers to "no" for applications of
>> > any complexity.
>> >
>> > Is there a sugg
Am Sun, Nov 05, 2023 at 03:00:41PM + schrieb Chris Green via Python-list:
> > * contact every single maintainer of every single one of the packages
> > that needs updating and persuade them to update their packages and
> > reassure them that you are getting all the other package main
Am Fri, Nov 03, 2023 at 01:53:32PM - schrieb Jon Ribbens via Python-list:
> >> Are they not available in your system's package manager?
> >
> > ... this clearly often answers to "no" for applications of
> > any complexity.
> >
> > Is there a suggested proper path to deal with that (Debian is
>
Am Fri, Nov 03, 2023 at 05:26:06PM +0100 schrieb Dieter Maurer:
> Karsten Hilbert wrote at 2023-11-3 14:47 +0100:
> > ...
> >> Are they not available in your system's package manager?
> >
> >... this clearly often answers to "no" for applications of
> >any complexity.
> >
> >Is there a suggested p
Jon Ribbens wrote:
> On 2023-11-03, Karsten Hilbert wrote:
> > Am Thu, Nov 02, 2023 at 04:07:33PM -0600 schrieb Mats Wichmann via
> > Python-list:
> >> >So they now have only python3 and there is no python executable in
> >> >PATH.
> >>
> >> FWIW, for this you install the little stub package pyt
On 2023-11-05, Chris Green wrote:
> Jon Ribbens wrote:
>> On 2023-11-03, Karsten Hilbert wrote:
>> > Am Thu, Nov 02, 2023 at 04:07:33PM -0600 schrieb Mats Wichmann via
>> > Python-list:
>> >> >So they now have only python3 and there is no python executable in
>> >> >PATH.
>> >>
>> >> FWIW, for
On 2023-11-03, Karsten Hilbert wrote:
> Am Thu, Nov 02, 2023 at 04:07:33PM -0600 schrieb Mats Wichmann via
> Python-list:
>> >So they now have only python3 and there is no python executable in
>> >PATH.
>>
>> FWIW, for this you install the little stub package python-is-python3.
>> Especially if y
On 2023-11-03, Karsten Hilbert wrote:
> Am Thu, Nov 02, 2023 at 09:35:43PM - schrieb Jon Ribbens via Python-list:
>
> Regardless of ...
>
>> Because pip barely plays well by itself, let alone with other package
>> managers at the same time.
>
> ... being true ...
>
>> > I do only install a few
Am Thu, Nov 02, 2023 at 04:07:33PM -0600 schrieb Mats Wichmann via Python-list:
> >So they now have only python3 and there is no python executable in
> >PATH.
>
> FWIW, for this you install the little stub package python-is-python3.
> Especially if you
> want to keep a python2 installation around
Karsten Hilbert wrote at 2023-11-3 14:47 +0100:
> ...
>> Are they not available in your system's package manager?
>
>... this clearly often answers to "no" for applications of
>any complexity.
>
>Is there a suggested proper path to deal with that (Debian is
>of interest to me here) ?
Complex appli
Am Thu, Nov 02, 2023 at 09:35:43PM - schrieb Jon Ribbens via Python-list:
Regardless of ...
> Because pip barely plays well by itself, let alone with other package
> managers at the same time.
... being true ...
> > I do only install a few things using pip.
>
> Are they not available in you
Jon Ribbens wrote:
> On 2023-11-02, Chris Green wrote:
> > Jon Ribbens wrote:
> >> On 2023-11-02, Chris Green wrote:
> >> > I have a couple of systems which used to have python2 as well as
> >> > python3 but as Ubuntu and Debian verions have moved on they have
> >> > finally eliminated all depe
On 11/2/23 04:58, Chris Green via Python-list wrote:
I have a couple of systems which used to have python2 as well as
python3 but as Ubuntu and Debian verions have moved on they have
finally eliminated all dependencies on python2.
So they now have only python3 and there is no python executable i
On 2023-11-02, Chris Green wrote:
> Jon Ribbens wrote:
>> On 2023-11-02, Dieter Maurer wrote:
>> > Chris Green wrote at 2023-11-2 10:58 +:
>> >> ...
>> >>So, going on from this, how do I do the equivalent of "apt update; apt
>> >>upgrade" for my globally installed pip packages?
>> >
>> > `pi
On 2023-11-02, Chris Green wrote:
> Jon Ribbens wrote:
>> On 2023-11-02, Chris Green wrote:
>> > I have a couple of systems which used to have python2 as well as
>> > python3 but as Ubuntu and Debian verions have moved on they have
>> > finally eliminated all dependencies on python2.
>> >
>> > S
Jon Ribbens wrote:
> On 2023-11-02, Chris Green wrote:
> > I have a couple of systems which used to have python2 as well as
> > python3 but as Ubuntu and Debian verions have moved on they have
> > finally eliminated all dependencies on python2.
> >
> > So they now have only python3 and there is n
Jon Ribbens wrote:
> On 2023-11-02, Dieter Maurer wrote:
> > Chris Green wrote at 2023-11-2 10:58 +:
> >> ...
> >>So, going on from this, how do I do the equivalent of "apt update; apt
> >>upgrade" for my globally installed pip packages?
> >
> > `pip list -o` will tell you for which packages
On 2023-11-02, Chris Green wrote:
> I have a couple of systems which used to have python2 as well as
> python3 but as Ubuntu and Debian verions have moved on they have
> finally eliminated all dependencies on python2.
>
> So they now have only python3 and there is no python executable in
> PATH.
On 2023-11-02, Dieter Maurer wrote:
> Chris Green wrote at 2023-11-2 10:58 +:
>> ...
>>So, going on from this, how do I do the equivalent of "apt update; apt
>>upgrade" for my globally installed pip packages?
>
> `pip list -o` will tell you for which packages there are upgrades
> available.
>
Chris Green wrote at 2023-11-2 10:58 +:
> ...
>So, going on from this, how do I do the equivalent of "apt update; apt
>upgrade" for my globally installed pip packages?
`pip list -o` will tell you for which packages there are upgrades
available.
`pip install -U ...` will upgrade packages.
Be c
I have a couple of systems which used to have python2 as well as
python3 but as Ubuntu and Debian verions have moved on they have
finally eliminated all dependencies on python2.
So they now have only python3 and there is no python executable in
PATH.
There's still both /usr/bin/pip and /usr/bin/
bash script to python as it has become rather clumsy
in bash.
What is the use case?
A script I use to create diary entries, so it's very handy to be able
to give the date as 'yesterday' or 'friday'.
OK - I thought maybe baklabel might suit, but that delivers a day-name
lumsy
in bash.
What is the use case?
A script I use to create diary entries, so it's very handy to be able
to give the date as 'yesterday' or 'friday'.
OK - I thought maybe baklabel might suit, but that delivers a day-name
(backup filename prefix) for today or a given
I'm converting a bash script to python as it has become rather clumsy
> > > in bash.
> >
> > What is the use case?
> >
> A script I use to create diary entries, so it's very handy to be able
> to give the date as 'yesterday' or 'friday'.
t; in bash.
>
> What is the use case?
>
A script I use to create diary entries, so it's very handy to be able
to give the date as 'yesterday' or 'friday'.
--
Chris Green
·
--
https://mail.python.org/mailman/listinfo/python-list
On 21/05/2023 5:53 am, Chris Green wrote:
I'm converting a bash script to python as it has become rather clumsy
in bash.
What is the use case?
However I have hit a problem with converting dates, the bash script
has:-
dat=$(date --date "$1" +"%Y/%m/%d")
an
On Mon, May 22, 2023 at 12:41 PM Mats Wichmann wrote:
> On 5/20/23 13:53, Chris Green wrote:
> > I'm converting a bash script to python as it has become rather clumsy
> > in bash.
> >
> > However I have hit a problem with converting dates, the bash script
> >
On 5/20/23 13:53, Chris Green wrote:
I'm converting a bash script to python as it has become rather clumsy
in bash.
However I have hit a problem with converting dates, the bash script
has:-
dat=$(date --date "$1" +"%Y/%m/%d")
and this will accept almost anything
I'm converting a bash script to python as it has become rather clumsy
in bash.
However I have hit a problem with converting dates, the bash script
has:-
dat=$(date --date "$1" +"%Y/%m/%d")
and this will accept almost anything reasonably sensible that can be
On 11/06/2021 22:20, Rich Shepard wrote:
> I need a date picker
+1
--
Alan G
Author of the Learn to Program web site
http://www.alan-g.me.uk/
http://www.amazon.com/author/alan_gauld
Follow my photo-blog on Flickr at:
http://www.flickr.com/photos/alangauldphotos
--
https://mail.python.
On Fri, 11 Jun 2021, Dan Stromberg wrote:
I think most Python folks are doing their GUI's with a web browser, Qt, or
GTK+. I mostly use GTK+. But best wishes on getting a recommendation for a
Tkinter date picker.
Dan,
I don't like working in a web browser; Qt apparently has very we
I need a date picker for a couple of Python-3.7.2/Tkinter8.6 applications.
There seem
to be some available on the web. If you have experience with a date picker
(not a calendar that holds appointments for a given date) I'd like your
suggestions and recommendations for one.
TIA,
Rich
--
hat
>dose
>and set it in a variable as follows:
>ItemDateTime = lineEQN[7:36].strip()
>
>When I print ItemDateTime, it looks like:
> 2020-11-04 17:28:03.352027
>
>How do I display it as "Wednesday, November 4, 2020 5:28pm" ?
Larry has pointed you at strptime and
On 2020-11-04 23:02, Steve wrote:
The text File entry is:
BPd 2020-11-04 17:28:03.352027 66
I bring it into the program using:
with open("_TIME-DATE.txt" , 'r') as infile:
for lineEQN in infile: # loop to find each line in the file for that
dose
and set it in a variable as follows:
It
On Wed, Nov 4, 2020 at 6:21 PM Steve wrote:
>
> The text File entry is:
>BPd 2020-11-04 17:28:03.352027 66
>
> I bring it into the program using:
> with open("_TIME-DATE.txt" , 'r') as infile:
> for lineEQN in infile: # loop to find each line in the file for that
> dose
> and set it in a
The text File entry is:
BPd 2020-11-04 17:28:03.352027 66
I bring it into the program using:
with open("_TIME-DATE.txt" , 'r') as infile:
for lineEQN in infile: # loop to find each line in the file for that
dose
and set it in a variable as follows:
ItemDateTime = lineEQN[7:36].strip()
On Wed, Aug 19, 2020 at 1:43 PM J Conrado wrote:
>
>
> Hi,
>
>
> I'm satarting using Pandas to read excel. I have a meteorological
> synoptic data and I have for date:
>
>
> 0 2017-11-01 00:00:00
> 1 2017-11-01 03:00:00
> 2 2017-11-01 06:00:00
>
what you want?
FootNote:
If money does not grow on trees, then why do banks have branches?
-Original Message-
From: Python-list On Behalf
Of Brian Oney via Python-list
Sent: Wednesday, August 19, 2020 2:01 PM
To: [email protected]
Subject: Re: Python Pandas split Date in day month
> I would like know how can I get for this array the values for day, month
> and hour:
>
> 2017-11-01 03:00:00 year = 2017 month = 11day = 1and
> hour = 3
Pandas has a datetime type. You should probably be using it. It's been
awhile (a year at least), but if your datetime co
On August 19, 2020 7:32:45 PM GMT+02:00, J Conrado
wrote:
>
>
>Hi,
>
>
>I'm satarting using Pandas to read excel. I have a meteorological
>synoptic data and I have for date:
>
>
>0 2017-11-01 00:00:00
>1 2017-11-01 03:00:00
>2 2017-11-01 06:00:00
Hi,
I'm satarting using Pandas to read excel. I have a meteorological
synoptic data and I have for date:
0 2017-11-01 00:00:00
1 2017-11-01 03:00:00
2 2017-11-01 06:00:00
3 2017-11-01 09:00:00
4 2017-11-01 12:00:00
.. ...
229 2017-11-30 09:00:00
230 2017-
relevant (company name
> stays), the Depart date will be the earliest date of any of the trip dates
> regardless of the employee, the Return date will be the latest date of any
> of the trip dates regardless of the employee, the charges for the trip will
> be summed
>
> For example,
, then
that row just transfers over as-is. When there are overlapping travel
times, then the following will happen:
--The name field is removed b/c that is no longer relevant (company name
stays), the Depart date will be the earliest date of any of the trip dates
regardless of the employee, the
You can use 12 if statements to check for the correctness of dates. For the
year you would only be needed to check the type. To insert "/" you should
return your own data type. That is make a class that returns a string of
the format "dd/mm/yy"
using parameters of date, month
Hi, I'm creating a registration form and I found this script that I'd like to
use to have my participants to input their birth date:
import tkinter as tk
class DateEntry(tk.Frame):
def __init__(self, parent, **kwargs):
years = kwargs.pop('years', (1900,
for each ticker and then we do a mapping between
data and name of the ticker
def get(tickers, startdate, enddate):
def data(ticker):
return (pdr.get_data_yahoo(ticker, start=startdate, end=enddate))
datas = map (data, tickers)
return(pd.concat(datas, keys=tickers, names=['ticker
[email protected]>):
> >
> > > On Tuesday, August 13, 2019 at 11:47:28 PM UTC+2,
> [email protected]
> > > wrote:
>
> Oh Damn! Here is an attempt to stop the code running into a single line..
> > >
> > > > I have a .csv file,
1:47:28 PM UTC+2, [email protected]
> > wrote:
Oh Damn! Here is an attempt to stop the code running into a single line..
> >
> > > I have a .csv file, in first column I have date and hour, and in the
> > > second
> > > column I have energy use data. How can
On 14 Aug 2019, [email protected] wrote
(in article<[email protected]>):
> On Tuesday, August 13, 2019 at 11:47:28 PM UTC+2, [email protected]
> wrote:
> > I have a .csv file, in first column I have date and hour, and in the s
On Tuesday, August 13, 2019 at 11:47:28 PM UTC+2, [email protected] wrote:
> I have a .csv file, in first column I have date and hour, and in the second
> column I have energy use data. How can I make a bar chart with Date and time
> as the x axis and the energy use as t
On Wed, Aug 14, 2019 at 8:17 AM Rich Shepard wrote:
>
> On Tue, 13 Aug 2019, [email protected] wrote:
>
> > I have a .csv file, in first column I have date and hour, and in the
> > second column I have energy use data. How can I make a bar chart with Date
> >
On Tue, 13 Aug 2019, [email protected] wrote:
I have a .csv file, in first column I have date and hour, and in the
second column I have energy use data. How can I make a bar chart with Date
and time as the x axis and the energy use as the Y axis?
First, find yourself a plotting
I have a .csv file, in first column I have date and hour, and in the second
column I have energy use data. How can I make a bar chart with Date and time as
the x axis and the energy use as the Y axis?
Thanks
--
https://mail.python.org/mailman/listinfo/python-list
5
>> 3RIMG_01APR2018_0744_L2G_AOD.h5
[snip]
>>
>> Can anyone suggest me how I can sort theses files in increasing order of
>> the date on the file name?
>
> Use a key function
>
> filenames = sorted(filename, key=get_datetime)
>
> get_datetime should extract d
_AOD.h5
> 3RIMG_31MAR2018_0514_L2G_AOD.h5
> 3RIMG_31MAR2018_0544_L2G_AOD.h5
> 3RIMG_31MAR2018_0614_L2G_AOD.h5
> 3RIMG_31MAR2018_0644_L2G_AOD.h5
> 3RIMG_31MAR2018_0714_L2G_AOD.h5
> 3RIMG_31MAR2018_0744_L2G_AOD.h5
>
> As you can see from the list of files displayed after sorting, the files are
> n
Thanks Peter.
The following lines worked:
import glob
import datetime
def get_datetime (filename):
parts = filename.split ("_")
return datetime.datetime.strptime (parts[1] + parts[2], "%d%b%Y%H%M")
filenames = sorted(glob.glob('3RIMG _ *. h5'), key = get_datetime)
--
https://mail.
L2G_AOD.h5
> 3RIMG_31MAR2018_0544_L2G_AOD.h5
> 3RIMG_31MAR2018_0614_L2G_AOD.h5
> 3RIMG_31MAR2018_0644_L2G_AOD.h5
> 3RIMG_31MAR2018_0714_L2G_AOD.h5
> 3RIMG_31MAR2018_0744_L2G_AOD.h5
>
> As you can see from the list of files displayed after sorting, the files
> are not arranged acc
t of files displayed after sorting, the files are
not arranged according to the increasing order of the date since the date is in
the DDMMM format.
Can anyone suggest me how I can sort theses files in increasing order of the
date on the file name?
Thanks in advance
--
https://mail.python.o
cannot seem to write time/date to the file.
DateReading.write = (nowTimeDate2 + "\n")
You're re-assigning the write method to be a string here. You want to call the
method with the string as the argument.
DateReading.write(nowTimeDate2 + "\n")
-Original Messa
[email protected]] On Behalf Of
Steve
Sent: Tuesday, February 12, 2019 2:20 PM
To: [email protected]
Subject: I cannot seem to write time/date to the file.
I am using nowTimeDate2 elsewhere in my program and it can be printed to the
screen.
The file exists and the p
the
time/date the file was created.
It doesn’t show up in the file.
How do I fix this?
from time import gmtime, strftime
nowTimeDate2=strftime("%Y %a %b %d %H:%M")
print(nowTimeDate2) #This works
DateReading=open("Date-ReadingsAndDoses.txt", "w")
DateReadi
It seems that the logging.Formatter class uses two formats by default to
format a time, default_time_format (%Y-%m-%d %H:%M:%S) and
default_msec_format (%s,%03d). The former is a format string for
time.strftime (and thus can't represent fractions of a second). The latter
accomplishes that, but expa
Hi Dennnis,
Thank you for your email. My issue is i what to be able to display the rage
of date base on the start and end date that was selected but i don't know
how to do that.
when i did a for look from my template for example.
{%for a in result_proxy%}
{{a.date_applied}}
{%endfor%}
ok so i have fixed that using the for loop
result_proxy=connection.execute(stmt).fetchall()
for a in result_proxy:
test=datetime.date.fromordinal(int(a.date_applied))
Now if i want to pass a range of date to date_applied above. How to i do that?
I know in sql i did
Thanks date example is 736788 in julian
On Wed, Apr 25, 2018 at 12:34 PM, Dennis Lee Bieber
wrote:
> On Wed, 25 Apr 2018 00:55:39 +0100, MRAB
> declaimed the following:
>
>
> >Also, the integer is interpreted as a "proleptic Gregorian ordinal", not
> >a J
On 2018-04-24 23:37, sum abiut wrote:
Hi,
i get the error message:
an integer is required
when i am try to convert from julian date to Gregorian date
in my view.py, after i have query the db i want to convert the applied date
from julian date to Gregorian date but i got the above error
Hi,
i get the error message:
an integer is required
when i am try to convert from julian date to Gregorian date
in my view.py, after i have query the db i want to convert the applied date
from julian date to Gregorian date but i got the above error,
convert_date=(datetime.date.fromordinal
How about this...
from dateutil.relativedelta import relativedelta
myDate = datetime.date.today() + relativedelta(months=3)
On Sunday, March 15, 2009 at 5:28:24 PM UTC, [email protected] wrote:
> I have a date in the form of a datetime object and I want to add (for
> example) three months
On Mon, Jun 5, 2017 at 6:11 PM, sum abiut wrote:
> i am using python,and django as my web framework. I use sqlalchemy to
> connect to MSSQL data that is running Epicor database. Epicor is using
> julian
>
> * date. How to you convert julian date to normal date*
You cross pos
i am using python,and django as my web framework. I use sqlalchemy to
connect to MSSQL data that is running Epicor database. Epicor is using
julian
* date. How to you convert julian date to normal date*
*cheers,*
--
https://mail.python.org/mailman/listinfo/python-list
On 4/20/2017 3:19 AM, Mok-Kong Shen wrote:
Am 20.04.2017 um 02:16 schrieb [email protected]:
On Thursday, April 20, 2017 at 1:09:45 AM UTC+1, Mok-Kong Shen wrote:
How could one obtain an up-to-date document of tkinter. I ask this
question because apparently there are stuffs of tkinter that
Am 20.04.2017 um 08:08 schrieb Terry Reedy:
On 4/19/2017 8:09 PM, Mok-Kong Shen wrote:
[snip]
I ask this
question because apparently there are stuffs of tkinter that
worked in Python 3.5 but no longer in Python 3.6.1.
I don't know of any such.
Please see my reply to breamoreboy.
M. K. Shen
Am 20.04.2017 um 02:16 schrieb [email protected]:
On Thursday, April 20, 2017 at 1:09:45 AM UTC+1, Mok-Kong Shen wrote:
How could one obtain an up-to-date document of tkinter. I ask this
question because apparently there are stuffs of tkinter that
worked in Python 3.5 but no longer in
On 4/19/2017 8:09 PM, Mok-Kong Shen wrote:
How could one obtain an up-to-date document of tkinter.
http://www.tcl.tk/man/tcl8.6/TkCmd/contents.htm
documents the tcl/tk that tkinter wraps. There are a few things that
are not included in tkinter.
I ask this
question because apparently
1 - 100 of 1069 matches
Mail list logo