×
INTELLIGENT WORK FORUMS
FOR ENGINEERING PROFESSIONALS

Log In

Come Join Us!

Are you an
Engineering professional?
Join Eng-Tips Forums!
  • Talk With Other Members
  • Be Notified Of Responses
    To Your Posts
  • Keyword Search
  • One-Click Access To Your
    Favorite Forums
  • Automated Signatures
    On Your Posts
  • Best Of All, It's Free!
  • Students Click Here

*Eng-Tips's functionality depends on members receiving e-mail. By joining you are opting in to receive e-mail.

Posting Guidelines

Promoting, selling, recruiting, coursework and thesis posting is forbidden.

Students Click Here

Excel Type Forms in Python

Excel Type Forms in Python

Excel Type Forms in Python

(OP)
Does anyone know of a way in python to create editable forms similar to that of excel (see snip below for what I would like the user to see)?



I am trying to do some post processing from ETABs and wanted to expand the python skill set a little.

From my googling, it looks like maybe flask package might do the trick?

http://www.blog.pythonlibrary.org/2017/12/14/flask...

S&T

RE: Excel Type Forms in Python

If you're thinking of building a standalone GUI of sorts, then possibly TkInter?

RE: Excel Type Forms in Python

Flask is a web framework which would make it "easy" to deploy on a company intranet so folks wouldn't need python installed.

As Agent noted a TkInter GUI with the form table constructed of input fields arranged in a grid system will get you the same result. PyQT GUI can also accomplish the same thing. Stack Overflow post on the topic: Link


Open Source Structural Applications: https://github.com/buddyd16/Structural-Engineering

RE: Excel Type Forms in Python

(OP)
Thank you! I will dig into these.

S&T

RE: Excel Type Forms in Python

Or you could get Excel style forms by using Excel, and calling Python routines with xlwings, pyxll, or similar.

Doug Jenkins
Interactive Design Services
http://newtonexcelbach.wordpress.com/

RE: Excel Type Forms in Python

(OP)
@Celt83, did you mention you liked a book helping you learn GUIs?

I think I am going to need to call in a little more reinforcing for learning rather than just watching youtube videos/browsing stackoverflow.

Defining of classes and learning to make windows is more challenging than what I anticipated.
Everything I am reading feels like it is written in hieroglyphics dazed

S&T

RE: Excel Type Forms in Python

@Sticks:
On the GUI front it was a lot of googling, youtube watching, and just brute forcing thru some things.

The Learn Python reddit page seems like it has a ton of great information, Link

Open Source Structural Applications: https://github.com/buddyd16/Structural-Engineering

RE: Excel Type Forms in Python

Quote:


Defining of classes and learning to make windows is more challenging than what I anticipated.
Everything I am reading feels like it is written in hieroglyphics

That's why it makes sense to me to call Python code from Excel, so you don't have to worry about coding graphic interfaces.

Doug Jenkins
Interactive Design Services
http://newtonexcelbach.wordpress.com/

RE: Excel Type Forms in Python

(OP)
I'm making progress (and it is good learning), I've got a GUI table working with PyQt.


Trying to add some buttons now to auto populate row data.

S&T

Red Flag This Post

Please let us know here why this post is inappropriate. Reasons such as off-topic, duplicates, flames, illegal, vulgar, or students posting their homework.

Red Flag Submitted

Thank you for helping keep Eng-Tips Forums free from inappropriate posts.
The Eng-Tips staff will check this out and take appropriate action.

Reply To This Thread

Posting in the Eng-Tips forums is a member-only feature.

Click Here to join Eng-Tips and talk with other members! Already a Member? Login


Resources


Close Box

Join Eng-Tips® Today!

Join your peers on the Internet's largest technical engineering professional community.
It's easy to join and it's free.

Here's Why Members Love Eng-Tips Forums:

Register now while it's still free!

Already a member? Close this window and log in.

Join Us             Close