Python Forum
Search Results
Post Author Forum Replies Views Posted [asc]
    Thread: Pygal: Displaying information for each data point
Post: Pygal: Displaying information for each data point

I have been playing around with Pygal, creating some line graphs for a project I am working on. I currently have my y axis set to be the value recorded and the x axis being the date / time the test wa...
KirkmanJ General Coding Help 0 1,853 Jul-29-2019, 01:10 PM
    Thread: Inserting into Sqlalchemy when number of variables is unknown.
Post: RE: Inserting into Sqlalchemy when number of varia...

Reason for me posting :). Too many times you see someone with the same question as yours ( but 2-3 years old), but the thread goes quiet half way through a solution, or does not post one at all. Also...
KirkmanJ Web Scraping & Web Development 5 3,968 Sep-10-2018, 06:58 AM
    Thread: Inserting into Sqlalchemy when number of variables is unknown.
Post: RE: Inserting into Sqlalchemy when number of varia...

Solution from: https://stackoverflow.com/questions/5222...is-unknown "Assuming your dynamically made table looks something like this: <form> <table> <tr> <td>&l...
KirkmanJ Web Scraping & Web Development 5 3,968 Sep-07-2018, 03:33 PM
    Thread: Inserting into Sqlalchemy when number of variables is unknown.
Post: RE: Inserting into Sqlalchemy when number of varia...

Sorry I guess that is misleading, and I can provide HTML so i should of, I do apologise: <tr> <td class = 'sct_components_input'> <input class = 'sct_components_input_5'> </i...
KirkmanJ Web Scraping & Web Development 5 3,968 Sep-07-2018, 12:49 PM
    Thread: Inserting into Sqlalchemy when number of variables is unknown.
Post: Inserting into Sqlalchemy when number of variables...

I cant give lots of codding information on this problem as i am pretty stumped by it. I am using a FLASK framework. So I have created a table with: X amount of rows and 8 columns. A user will be ent...
KirkmanJ Web Scraping & Web Development 5 3,968 Sep-07-2018, 12:30 PM
    Thread: Newbie, looking for advices.
Post: RE: Newbie, looking for advices.

As someone with only 4 months coding experience I can say Flask is pretty easy to use, and there is loads of people out there that can answer specific questions that you might have when it comes to tr...
KirkmanJ Web Scraping & Web Development 2 2,787 Sep-03-2018, 06:52 AM
    Thread: Help with Tempfile Required
Post: RE: Help with Tempfile Required

Sorry its been a while, been really busy. So i have troubleshooted this error a little and these are my findings: If I use the code: for name in filenames: actual_file=open(name.temp_name, 'rb...
KirkmanJ General Coding Help 2 2,588 Aug-28-2018, 10:40 AM
    Thread: Help with Tempfile Required
Post: Help with Tempfile Required

I plan to use tempfile to read a pdf file and store it. Then open the file in a DIFFERENT function and upload it to a flask table as a BLOB. I currently have the following code which I THINK would u...
KirkmanJ General Coding Help 2 2,588 Aug-23-2018, 09:08 AM
    Thread: Python Variable manipulation
Post: RE: Python Variable manipulation

As i stated it is defiantly not the most refined way of completing this task. I will explain what my code does and reasons for it, I am open to suggestions on how to refine it. The first section of ...
KirkmanJ General Coding Help 8 4,484 Aug-14-2018, 02:58 PM
    Thread: Python Variable manipulation
Post: RE: Python Variable manipulation

Thanks for the help, Dicts was defiantly the way to look at it. And even though this is probably not the most refined answer, here is what I will be using: arrow_dict = {'desc_part_number': ...
KirkmanJ General Coding Help 8 4,484 Aug-14-2018, 01:32 PM
    Thread: Python Variable manipulation
Post: Python Variable manipulation

I am going to assume this is simple and the issue is that I am missing the obvious. I have variables defined like so: # First I define all the variables desc_part_number = 'not_selected' as...
KirkmanJ General Coding Help 8 4,484 Aug-14-2018, 09:30 AM
    Thread: Select Simple CSS question
Post: RE: Select Simple CSS question

I am afraid that is not quite what I am after. But that could be my fault for bad wording. I do not want the <option> tags to change colour, instead I would like the main <select> tag to b...
KirkmanJ General Coding Help 2 2,241 Aug-07-2018, 06:40 AM
    Thread: Select Simple CSS question
Post: Select Simple CSS question

I am hoping this will be really simple, and i am just missing the obvious. <select class='pets' type='text' name='pets' id='pets' placeholder='Select a Pet...'> <option value='' disabled s...
KirkmanJ General Coding Help 2 2,241 Aug-06-2018, 02:35 PM
    Thread: request.form[ Dynamic Value]. How to?
Post: request.form[ Dynamic Value]. How to?

Just a quick one. If i had a dynamically created table which i plan to use to input more information to a FLASK SQLALCHEMY database. And the selects had ids and names such it was set up to dynamic...
KirkmanJ Web Scraping & Web Development 0 2,336 Aug-01-2018, 12:14 PM
    Thread: Sqlalchemy accepting ISO 8601
Post: Sqlalchemy accepting ISO 8601

I have a csv im trying to upload to a database. Database uses flask - sqlalchemy. Collects row from csv. date_time_store = row['date_time']Uploads row query = tintin_store(date_time = date_time_s...
KirkmanJ General Coding Help 0 3,590 Jul-27-2018, 01:52 PM
    Thread: Uploading multiple pdfs to Flask ( Sql alchmey) with additional variables
Post: RE: Uploading multiple pdfs to Flask ( Sql alchmey...

printing pdf_values gives me some sort of dict. [<FileStorage: u'1.3MB.pdf' ('application/pdf')>, <FileStorage: u'2.8MB.pdf' ('application/pdf')>, <FileStorage: u'3.0MB.pdf' ('applica...
KirkmanJ Web Scraping & Web Development 10 9,505 Jul-27-2018, 09:49 AM
    Thread: Uploading multiple pdfs to Flask ( Sql alchmey) with additional variables
Post: RE: Uploading multiple pdfs to Flask ( Sql alchmey...

pdf_test_equipmennt_store() is the table name. The line you refer to simply takes the values and populates the row in the table. nothing fancy. And yes i do want to store the pdf as a BLOB inside a ...
KirkmanJ Web Scraping & Web Development 10 9,505 Jul-26-2018, 08:30 AM
    Thread: Uploading multiple pdfs to Flask ( Sql alchmey) with additional variables
Post: RE: Uploading multiple pdfs to Flask ( Sql alchmey...

Both are supposed to take a document from the list and depending on which option was selected from a dropdown save it in the appropriate table. Yes i had figured out that the error message had meant...
KirkmanJ Web Scraping & Web Development 10 9,505 Jul-25-2018, 06:38 AM
    Thread: Uploading multiple pdfs to Flask ( Sql alchmey) with additional variables
Post: RE: Uploading multiple pdfs to Flask ( Sql alchmey...

Hello again, continuing with this project, i 'think' i have almost cracked how to complete this task. However i can not figure out how to process the pdfs when i need to call them again. I am pretty s...
KirkmanJ Web Scraping & Web Development 10 9,505 Jul-23-2018, 07:26 AM
    Thread: Uploading multiple pdfs to Flask ( Sql alchmey) with additional variables
Post: RE: Uploading multiple pdfs to Flask ( Sql alchmey...

Thats not a bad suggestion, had not thought about that approach. So what im now thinking i could do is have a select button that allows a user to select a bunch of pdfs. Then on 'submit' it used java...
KirkmanJ Web Scraping & Web Development 10 9,505 Jul-19-2018, 10:45 AM

User Panel Messages

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