Python Forum
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Python3 Regex Help.
#11

After doing your last changes my code now looks like this and appears to work exactly as it should so thank you very much.
Do you have any suggestions for good sites where i can revise this topic to a further degree?

I also have one final question.

My current sql table now looks like this.

[Image: cTVOcq]

Is there a command you can enter into linux to delete the first three incorrect lines? i understand if you dont know as it is off topic for python.

Thanks for all your help
Reply
#12
(Nov-12-2018, 06:37 PM)Stealthychu Wrote: Do you have any suggestions for good sites where i can revise this topic to a further degree?
You could start with the PyMotw3 about the re module. It also contains a collection of links at the bottom of the page.

(Nov-12-2018, 06:37 PM)Stealthychu Wrote: Is there a command you can enter into linux to delete the first three incorrect lines?
If you want to remove them from the database, use an adapted SQL query. If you only want to remove them from the displayed table, use a condition in the SELECT statement to ignore lines where the IP address is unknown for example.
Reply
#13
Thank you very much, thats very helpful!
Reply


Possibly Related Threads…
Thread Author Replies Views Last Post
  Gnuradio python3 is not compatible python3 xmlrpc library How Can I Fix İt ? muratoznnnn 3 4,952 Nov-07-2019, 05:47 PM
Last Post: DeaD_EyE
  python3 regex support anna 3 2,784 Mar-12-2019, 10:40 AM
Last Post: anna

Forum Jump:

User Panel Messages

Announcements
Announcement #1 8/1/2020
Announcement #2 8/2/2020
Announcement #3 8/6/2020