EuroPython 2018: Website Launched

2018-04-29 Thread M.-A. Lemburg
We are excited to announce the launch of the EuroPython 2018 website:


   * https://ep2018.europython.eu/ *


The EuroPython conference will take place in Edinburgh, UK, this year,
from July 23 - 29.


EuroPython 2018 - The European Python Conference


Here’s an overview of what you can expect in Edinburgh:

 * We will start with the Workshops and the Trainings on Monday and
   Tuesday, July 23-24.

 * The main 3 conference day follow, packed with keynotes, talks,
   helpdesks, panels and open space sessions.

 * A complete PyData EuroPython 2018 will be included as well.

 * The two weekend days after the conference, July 28 and 29, are
   reserved for sprints.

Overall, we will again have 7 days worth of great Python content,
arranged in over 120 sessions, waiting for you.

In short:

 * Monday, Tuesday, July 23-24: Workshops and Trainings and
   Beginners’ Day
 * Wednesday - Friday, July 25-27: Main Conference with talks, keynotes,
   exhibit, panels, posters, helpdesks and open sessions.
 * Saturday, Sunday, July 28-29: Sprints.


Meet our launch sponsors


All this would not be possible without the generous help of our launch
sponsors:

 * Smarkets
 * Datadog
 * Intel
 * Jetbrains
 * numberly / 1000mercis

In the coming days, we will provide you with more information and
announce the start of the Call for Proposals and Early Bird Ticket
sales.  Please watch our EuroPython blog for updates.


Enjoy,
--
EuroPython 2018 Team
https://ep2018.europython.eu/
https://www.europython-society.org/


PS: Please forward or retweet to help us reach all interested parties:
https://twitter.com/europython/status/990509930426880005
Thanks.

-- 
https://mail.python.org/mailman/listinfo/python-list


Re: jilian to Gregorian date conversion error

2018-04-29 Thread sum abiut
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%}

i was able to display the range of dates but its is julian date but i don't
want the dates to be in julian dates. I want the dates to be in a gregorian
date where by the end users can understand it. Which is why i was trying to
convert that from my view.py before passing the the parameter to the
template.

appreciate any assistances.

cheers,

On Sun, Apr 29, 2018 at 2:39 AM, Dennis Lee Bieber 
wrote:

> On Thu, 26 Apr 2018 15:43:43 +1100, sum abiut 
> declaimed
> the following:
>
> >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 did it like this
> >rate.columns.date_applied.between(covert,convert1)
> >
> >where convert and convert1 are the range of date
>
> You are now getting into basic logic and algorithm design -- which
> is
> not something specific to Python.
>
> Since I don't have access to the database schema, nor most of the
> surrounding code, I can only brute force a solution... It would probably be
> better to modify the SQL "stmt" to only return the desired entries but...
>
>
> ...
> for a in r_p:
> ada = int(a.date_applied)
> if convert <= ada <= convert1:
> ...
>
>
> --
> Wulfraed Dennis Lee Bieber AF6VN
> wlfr...@ix.netcom.comHTTP://wlfraed.home.netcom.com/
>
> --
> https://mail.python.org/mailman/listinfo/python-list
>
-- 
https://mail.python.org/mailman/listinfo/python-list