Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
We don’t allow questions seeking recommendations for books, tools, software libraries, and more. You can edit the question so it can be answered with facts and citations.
Closed 2 years ago.
Improve this question
So I'm learning Python and beginning to grasp the fundamentals. I want to start a project that seems slightly over ambitious for my current knowledge level but I think I can do it bit by bit and it will look good in my portfolio.
Basically, I'd like to create a web application that generates a grid and allows the user to create rooms to scale. Dragging and dropping pieces of furniture to visualise how much space they will have between various pieces of furniture and checks if pieces will fit. Also I'd like the user to be able to save real furniture for example, using the Ikea website that will, when they're finished, generate a basket containing links and pictures to the items they have chosen and give them an idea of total cost.
It feels daunting starting out, what modules/libraries would I use to get this going? I'd like it to be a web app that is mobile friendly ideally?
Thanks in advance.
Making interactive web apps like that are not really within Python's capability.
On the web, Python (via Django) is good for back-end things and making websites, but for client-side interactivity like you are suggesting, you need to use Javascript.
There is a tool called Brython that lets you write client-side Python and then it will convert it into Javascript for you, but it is quite complicated.
I would suggest picking another project for Python (here is a great list), or if you want to continue with that furniture idea, then picking up some JS, React, and using a library like react-dnd would be a good starting point.
Related
Closed. This question is opinion-based. It is not currently accepting answers.
Want to improve this question? Update the question so it can be answered with facts and citations by editing this post.
Closed 5 days ago.
Improve this question
I am a sort of experienced python programmer. I will quickly describe my situation. For a hobby programming was always nice. I then started working at a company that did lots of manual excel processing. One day I mentioned that I could probably automate this with python.
Things led to another and now there is python doing the excel work multiple times a day running from an Intel NUC i deployed as a small server. It has been some work figuring everything out but the money has been good as well, no complaints.
They are quite happy with me and have lots of different plans.
They want me to design a website where the employees can fill out a form daily and the data can be used elsewhere. However, I've done some html and css programming in highschool, but I know there needs to be a back-end to at least save the data that gets filled.
I dont know where to start. I know SQL is the #1 language in data processing and PHP in handling the back-end. But I already know python which also can do back-end operations.
I have two direct questions but also looking for advice on the whole situation. Feel free to just point anything out; I will read every comment.
My questions:
Could I run the webserver from my Intel NUC? Or is this generally seen as bad practice? Also, is it true that I would only need the domain if I run the webserver myself?
Is it worth it to learn SQL and PHP or should I stick to python?
I have tried looking online but found countless of resources. I would like to create a large database with lots of data I can use anytime. I think SQL is good for this but not looking to waste time.
Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
We don’t allow questions seeking recommendations for books, tools, software libraries, and more. You can edit the question so it can be answered with facts and citations.
Closed 3 years ago.
Improve this question
I'm new on the programming world using python, so i have some questions for desktop aplications development.
1. Im currently using pycharm as my idle, can i use it for my purpose?
2. Can i use peewee as my ORM and Tkinter for my GUI? or should i just use Tkinter?(Recommendations are welcome)
3. I'm planning to use Sqlite3 as my database, should i keep this idea?
My further plan is to make an application to store the networks equipments in an enterprise, like desktops, laptops, switches, etc.
And also get some reports like to wich user belongs a desktop or laptop, wich kind of license does the equip has, a bitacore to store all what happens to an equip, etc.
I'm very new on this world and have been reading, practicing and taking courses for 3 month by now to understand concepts, learn about programming, etc.
Tahnks for the tips.
If you know Tkinter then stick with it, otherwise consider a higher level framework like PyGUI, PySimpleGUI or QT (Arguably not that simple, but plays nicely with PyInstaller). You will definitely be able to keep using SQLite3, as there is an existing binding in python 2&3.
If you plan to deploy this app, then you need to consider if speed is going to be a problem. Python is great but fundamentally quite slow. You can use things like Cython or PyPy to speed it up, but this can get complicated when you look at using a packager such as py2exe or PyInstaller for distribution.
best of luck.
Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
We don’t allow questions seeking recommendations for books, tools, software libraries, and more. You can edit the question so it can be answered with facts and citations.
Closed 7 years ago.
Improve this question
Just wondering what the best way to get started learning Python to do backend engineering is and what the best framework to learn for it is (Pyramid, DJango etc...). I have done algorithms in school, build iOS apps and know Java, Scala, OCaml (lol), Racket (lol) and Objective C. I currently have to use Parse for my apps but want to build backend engineering skills. I'm thinking I might as well do the code academy course but the ones I've done from them don't seem in depth enough. Maybe an Udemy course? I want to get good enough to get an internship in backend engineering next summer. Need to find the best resources to do that before then. Thanks!!
While that question is quite open-ended, I personally think using Pyramid right out of the gates was super helpful. One of the pillars of this project is documentation, and their ideology is that you pay for what you use, giving developers the ability to customize their web applications to a good extent. Check out the docs here http://docs.pylonsproject.org/en/latest/docs/pyramid.html!
They also have excellent tutorials that guide you through the traditional "Hello, world!" application, and also more advanced stuff, like how to work with sqlalchemy to utilize databases in your web applications. This is how I learned essentially all of what I know about the framework! I would definitely recommend this, especially if you are just looking to start out and get your feet wet. But, as I said, this is my own opinion, and am sure that there are others with differing opinions on the matter. Best of luck!
Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
We don’t allow questions seeking recommendations for books, tools, software libraries, and more. You can edit the question so it can be answered with facts and citations.
Closed 5 years ago.
Improve this question
Hi all i want to web based GUI Testing tool. I found dogtail is written using python. but i didnot get any good tutorial and examples to move further. Please Guide me weather dogtail is perfect or something better than this in python is there?. and if please share doc and example.
My requirement:
A DVR continuous showing live video on tile(4 x 4 ), GUI is web based(mozilla) . i Should be able to swap video and check log and have to compare actual result and present.
Selenium is designed exactly for this, it allows you to control the browser in Python, and check if things are as expected (e.g check if a specific element exists, submit a form etc)
There's some more examples in the documentation
Project Sikuli is a similar tool, but is more general than just web-browsers
Selenium provides a python interface rather than just record your mouse movements, see http://selenium-python.readthedocs.org/en/latest/api.html
If you need to check your video frames your can record them locally and OCR the frames looking for some expected text or timecode.
For Simple form based UI Testing. I have created a framework using python/selenium/phantomjs although it can do complex stuff too. I am yet to document it. (If you don't need to run firefox you don't need to install phantomjs)
https://github.com/manav148/PyUIT
Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
We don’t allow questions seeking recommendations for books, tools, software libraries, and more. You can edit the question so it can be answered with facts and citations.
Closed 7 years ago.
Improve this question
I'm building an app for a small business so I've to work with currencies, decimal numbers, etc... My goal is to create something like pulseapp.com.
I've searched for opensource projects to look and the only thing I had found was django-cashflow. This app uses python-money.
I've read some of the code and the ways it's coded seems a bit weird to me and it's not fully complete.
Is the app worth to take a deep look?
Does anyone know about another similar app?
Is the task difficult or a begginer like me could find a way to code it himself?
If you're dealing with currencies, you might look to satchmo's codebase. http://www.satchmoproject.com/ They're the current front-runner in Django e-commerce. I'm sure they have money modules.
Here you have something you might be interested:
Tryton with Django
I started to use python-money in an application a couple years ago, but had to abandon it due to some problem. I apologize for forgetting the exact problem, but I do remember for our use case it didn't make sense anyway... we just needed decimal fields.
I'd also be wary of django-cashflow not having any activity for 2 years, although the project is small enough it should be easy enough to fix any problems yourself.
For existing Django accounting apps I would suggest enhancing, or at least looking at, minibooks. NOTE: the license is AGPL v3 which could make it unusable for your environment.
Another road to travel would be to investigate porting OpenERP (also GPL IIRC) from Python/GTK to Django. Tryton might also be a starting point, it's GPL3 and IIRC a fork of OpenERP.
I've written a framework to help speed up the development of customised commerce aspects of django sites: Rollyourown shopping.
It lets your write your models yourself, and uses a declarative syntax to define a summary class, which handles calculating totals, caching and formatting values etc. It's pretty fast for my use cases, and very flexible: I've used it for online stores, billing for consulting-services and auction sites :-)
The current version works fine, but I'll be releasing a '1.0' version later this month as I decide on the final (stable) API details (names etc) and maybe some external reviews.