Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.os.linux.advocacy > #357814
| From | "Octavian W. Lagrange" <olagrang@perch.invalid> |
|---|---|
| Newsgroups | comp.os.linux.advocacy |
| Subject | Re: OT: Steve Carroll, how would you fix this minor blunder? |
| Date | 2016-05-30 21:48 +0000 |
| Organization | O.W.L. |
| Message-ID | <ghfa03g.ajppi@perch.invalid> (permalink) |
| References | (1 earlier) <8b294312-a4d5-4eaa-b46a-a18f22dba640@googlegroups.com> <nihs96$i9j$1@dont-email.me> <9f1863b1-790f-430d-9e80-4bc157e7ab19@googlegroups.com> <tueoag03.ag3@perch.invalid> <f74a8897-de16-49fe-8507-17f67b161886@googlegroups.com> |
Steve Carroll <fretwizzer@gmail.com> wrote: > On Monday, May 30, 2016 at 3:09:16 PM UTC-6, Octavian W. Lagrange wrote: >> Steve Carroll <fretwizzer@gmail.com> wrote: >> > On Monday, May 30, 2016 at 11:12:09 AM UTC-6, DFS wrote: >> >> On 5/30/2016 12:53 PM, Steve Carroll wrote: >> >> >> >> >> >> > Challenge for you... styling aside, (which is mainly there to help visually indicate functionality) how would you do this using Python... >> >> > >> >> > <http://imgur.com/P5pjSFt> >> >> > >> >> > ... to markup you were given (I changed venue names) that looked sorta like this: >> >> >> >> >> >> Sorry, but I don't understand what you're asking. >> >> >> >> Do you mean how would I use python to create the table in the imgur >> >> link, starting from the HTML you listed? >> > >> > No (the HTML already has a table), I mean how would you target events from that markup based on their date so you can differentiate past dates from future dates and include the "Next Gig" line shown at the top. >> >> Why would you do this after the markup? That would seem to be something >> you do before generating the markup. > > This was for someone who had a static web page, and this was (essentially) their markup. How would you do this prior to generating the markup on this page in Python (I've never used it)? I don't know python, but the way to approach it would be something like: Get the dates, compare them to today's date, generate a <strike>/</strike> pair on the older dates, print the earliest date greater than or equal to today's date at the top with a "Next" label or whatever.
Back to comp.os.linux.advocacy | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
OT: Steve Carroll, how would you fix this minor blunder? DFS <nospam@dfs.com> - 2016-05-28 11:24 -0400
Re: OT: Steve Carroll, how would you fix this minor blunder? Sandman <mr@sandman.net> - 2016-05-28 16:19 +0000
Re: OT: Steve Carroll, how would you fix this minor blunder? DFS <nospam@dfs.com> - 2016-05-28 12:40 -0400
Re: OT: Steve Carroll, how would you fix this minor blunder? Sandman <mr@sandman.net> - 2016-05-28 19:17 +0000
Re: OT: Steve Carroll, how would you fix this minor blunder? Steve Carroll <fretwizzer@gmail.com> - 2016-05-28 12:43 -0700
Re: OT: Steve Carroll, how would you fix this minor blunder? Steve Carroll <fretwizzer@gmail.com> - 2016-05-28 12:49 -0700
Re: OT: Steve Carroll, how would you fix this minor blunder? Steve Carroll <fretwizzer@gmail.com> - 2016-05-30 09:53 -0700
Re: OT: Steve Carroll, how would you fix this minor blunder? DFS <nospam@dfs.com> - 2016-05-30 13:11 -0400
Re: OT: Steve Carroll, how would you fix this minor blunder? Steve Carroll <fretwizzer@gmail.com> - 2016-05-30 10:22 -0700
Re: OT: Steve Carroll, how would you fix this minor blunder? "Octavian W. Lagrange" <olagrang@perch.invalid> - 2016-05-30 21:09 +0000
Re: OT: Steve Carroll, how would you fix this minor blunder? Steve Carroll <fretwizzer@gmail.com> - 2016-05-30 14:32 -0700
Re: OT: Steve Carroll, how would you fix this minor blunder? "Octavian W. Lagrange" <olagrang@perch.invalid> - 2016-05-30 21:48 +0000
Re: OT: Steve Carroll, how would you fix this minor blunder? DFS <nospam@dfs.com> - 2016-05-30 17:34 -0400
Re: OT: Steve Carroll, how would you fix this minor blunder? Steve Carroll <fretwizzer@gmail.com> - 2016-05-30 14:57 -0700
Re: OT: Steve Carroll, how would you fix this minor blunder? DFS <nospam@dfs.com> - 2016-05-31 13:57 -0400
Re: OT: Steve Carroll, how would you fix this minor blunder? Steve Carroll <fretwizzer@gmail.com> - 2016-05-31 11:21 -0700
Re: OT: Steve Carroll, how would you fix this minor blunder? DFS <nospam@dfs.com> - 2016-06-01 10:05 -0400
Re: OT: Steve Carroll, how would you fix this minor blunder? Steve Carroll <fretwizzer@gmail.com> - 2016-06-01 08:48 -0700
Re: OT: Steve Carroll, how would you fix this minor blunder? DFS <nospam@dfs.com> - 2016-06-01 13:12 -0400
Re: OT: Steve Carroll, how would you fix this minor blunder? "Octavian W. Lagrange" <olagrang@perch.invalid> - 2016-06-01 17:19 +0000
Re: OT: Steve Carroll, how would you fix this minor blunder? vallor <vallor@cultnix.org> - 2016-06-01 17:32 +0000
Re: OT: Steve Carroll, how would you fix this minor blunder? Steve Carroll <fretwizzer@gmail.com> - 2016-06-01 10:45 -0700
Re: OT: Steve Carroll, how would you fix this minor blunder? "Octavian W. Lagrange" <olagrang@perch.invalid> - 2016-06-01 18:07 +0000
Re: OT: Steve Carroll, how would you fix this minor blunder? Steve Carroll <fretwizzer@gmail.com> - 2016-06-01 10:41 -0700
Re: OT: Steve Carroll, how would you fix this minor blunder? tmelmosfire <tmelmosfire@gmail.com> - 2016-06-01 15:40 -0700
Re: OT: Steve Carroll, how would you fix this minor blunder? DFS <nospam@dfs.com> - 2016-06-01 23:58 -0400
Re: OT: Steve Carroll, how would you fix this minor blunder? Steve Carroll <fretwizzer@gmail.com> - 2016-06-02 09:21 -0700
Re: OT: Steve Carroll, how would you fix this minor blunder? DFS <nospam@dfs.com> - 2016-06-02 20:22 -0400
Re: OT: Steve Carroll, how would you fix this minor blunder? tmelmosfire <tmelmosfire@gmail.com> - 2016-06-02 17:32 -0700
Re: OT: Steve Carroll, how would you fix this minor blunder? Steve Carroll <fretwizzer@gmail.com> - 2016-06-03 10:03 -0700
Re: OT: Steve Carroll, how would you fix this minor blunder? Snit <usenet@gallopinginsanity.com> - 2016-05-31 11:34 -0700
Re: OT: Steve Carroll, how would you fix this minor blunder? Steve Carroll <fretwizzer@gmail.com> - 2016-05-31 11:45 -0700
Re: OT: Steve Carroll, how would you fix this minor blunder? tmelmosfire <tmelmosfire@gmail.com> - 2016-05-31 19:29 -0700
Re: OT: Steve Carroll, how would you fix this minor blunder? DFS <nospam@dfs.com> - 2016-05-31 13:44 -0400
Re: OT: Steve Carroll, how would you fix this minor blunder? Steve Carroll <fretwizzer@gmail.com> - 2016-05-31 11:22 -0700
Re: OT: Steve Carroll, how would you fix this minor blunder? Steve Carroll <fretwizzer@gmail.com> - 2016-06-01 11:14 -0700
Re: OT: Steve Carroll, how would you fix this minor blunder? "Octavian W. Lagrange" <olagrang@perch.invalid> - 2016-06-01 18:21 +0000
Re: OT: Steve Carroll, how would you fix this minor blunder? DFS <nospam@dfs.com> - 2016-06-01 14:26 -0400
Re: OT: Steve Carroll, how would you fix this minor blunder? Steve Carroll <fretwizzer@gmail.com> - 2016-06-01 11:46 -0700
Re: OT: Steve Carroll, how would you fix this minor blunder? DFS <nospam@dfs.com> - 2016-06-02 20:49 -0400
Re: OT: Steve Carroll, how would you fix this minor blunder? Steve Carroll <fretwizzer@gmail.com> - 2016-06-04 07:55 -0700
Re: OT: Steve Carroll, how would you fix this minor blunder? DFS <nospam@dfs.com> - 2016-06-04 17:49 -0400
Re: OT: Steve Carroll, how would you fix this minor blunder? flatfish+++ <flatfish4real@gmail.com> - 2016-05-31 17:48 -0400
csiph-web