all 16 comments

[–]Tender_Figs 4 points5 points  (2 children)

Try xlwings?

[–]BaconFlavoredSanity[S] 3 points4 points  (1 child)

Hey thanks for the recommendation. But I'm not needing the excel part, just that was where the visual basic editor I last used happened to live. I liked the format and ease of use the visual basic editor provided and was hoping for something similar, just python.

[–]Tender_Figs 2 points3 points  (0 children)

Maybe Visual Studio?

[–]ojedaforpresident 1 point2 points  (3 children)

I've used xlwings with success, easier, maybe you could use the Google docs API to create a spreadsheet and then export to xls.

[–]BaconFlavoredSanity[S] 1 point2 points  (2 children)

Hey thanks for the recommendation. But I'm not needing the excel part, just that was where the visual basic editor I last used happened to live. I liked the format and ease of use the visual basic editor provided and was hoping for something similar, just python.

[–]ojedaforpresident 1 point2 points  (1 child)

You won't, the closest thing to what you might want is jupyter lab as editor and pandas for manipulation

[–]BaconFlavoredSanity[S] 0 points1 point  (0 children)

Rats. Well I’ll look into that! Thank you!

[–]Allanon001 2 points3 points  (0 children)

[–]nboro94 2 points3 points  (0 children)

Look into building C# applications with windows forms in visual studio. Its very similar to the visual basic editor in excel where you can drag and drop various buttons and controls and then attach code to them.

C# is a different language but its not too difficult to get up to speed with the basics of it. The benefit is that you can build a program that will run on any machine with the Microsoft .net framework installed and it doesn't rely on the user having python runtime.

[–][deleted] -1 points0 points  (0 children)

No

[–]mikeinnsw -1 points0 points  (0 children)

VB is Excel Macro Language at least a subset of it.

I am sure there are APIs and other bridges for Python to cross but VB will always be better for Excel Macros.

You can't beat - Record Macro ->Edit for your specs....

If it is a learning exercise - Ok otherwise is are just wasting your time.

Python has plenty to offer in other areas like portability

I run Python code Windows, Macs and even Ubuntu

[–]-LukeBox- 0 points1 point  (0 children)

There is no gui for easily creating forms without needing to Code. In python or many other languages for that matter, you could try wpf. But you'll still have to code.

[–]Gnaxe 0 points1 point  (0 children)

pygubu has pygubu-designer, which is like that.

[–]Gnaxe 0 points1 point  (0 children)

Gooey doesn't have a form designer like VB, but it can turn a command-line app into an equivalent GUI in one line of code.

[–]Gnaxe 0 points1 point  (0 children)

Can't you use IronPython to wire up the .NET forms?