Posts: 15
Threads: 2
Joined: Sep 2019
Sep-13-2019, 04:13 PM
(This post was last modified: Sep-13-2019, 04:13 PM by PyNovice.)
Hello all,
this is my first post.
I'm studying for the Microsoft MTA in Python Fundamentals.
The course covers the basics but does not teach you how to create an app from start to finish
Can anyone let me know the steps required for building an app from start to finish.
From what I can gather on the web these steps should be taken:
1 Decide what Platform you are developing for(Android, Windows, All Platforms etc).
2 Set up Virtual Environment
3 Join Git
4 Project Structure(create folder hierarchy)
5 Create a skeleton of functions and classes that only contain the doctrings of what you want to do.
Thanks in advance for any help given.
Posts: 12,031
Threads: 485
Joined: Sep 2016
If you look through here: http://openbookproject.net/thinkcs/pytho...tions.html
you'll find a bunch of examples, with explanations, and then finally the complete application.
Posts: 15
Threads: 2
Joined: Sep 2019
Sep-14-2019, 10:29 AM
(This post was last modified: Sep-14-2019, 10:33 AM by PyNovice.)
(Sep-14-2019, 03:22 AM)Larz60+ Wrote: If you look through here: http://openbookproject.net/thinkcs/pytho...tions.html
you'll find a bunch of examples, with explanations, and then finally the complete application.
Thanks, the link you posted opens a page relating to exception handling.
Do you mean look through the links on openbookproject.net or look through the chapters of How to think like a Computer Scientist?
Iv been clicking through all the links and havent found any examples so far. Where are they buried?
Posts: 5,151
Threads: 396
Joined: Sep 2016
Sep-14-2019, 10:32 AM
(This post was last modified: Sep-14-2019, 10:32 AM by metulburr.)
(Sep-13-2019, 04:13 PM)PyNovice Wrote: 1 Decide what Platform you are developing for(Android, Windows, All Platforms etc). This will determine the package you use. For example Kivy does android. But if you are doing it for Windows, WxPython/PyQt5 might be better suited.
(Sep-13-2019, 04:13 PM)PyNovice Wrote: 2 Set up Virtual Environment This is optional as you do not need a virtual environment to run code. Some people use it and some dont. Most often if you are running numerous versions of python, you might want to.
(Sep-13-2019, 04:13 PM)PyNovice Wrote: 3 Join Git This is also optional. But highly advised. This is a way hand your code over to people easier as well as get feedback for it essentially.
(Sep-13-2019, 04:13 PM)PyNovice Wrote: 4 Project Structure(create folder hierarchy) This will most likely happen within time. While creating the program you will expand on it creating the structure.
(Sep-13-2019, 04:13 PM)PyNovice Wrote: 5 Create a skeleton of functions and classes that only contain the doctrings of what you want to do. Again i think this is optional. I don't do this. But i do to some degree. Like if i am just making a filler class so i dont forget it later, i might create a skeleton class for it. However sometimes i do not on purpose. For example being notified that a class does not exist is an easy way to determine that you have not yet created that class yet (or just forgot).
Recommended Tutorials:
Posts: 15
Threads: 2
Joined: Sep 2019
@ metulburr Thank you
When you are creating an app is there a process that you use.
Atm i am writing code but I have no structure or overall plan to work to.
For example when creating a Database there is a list of steps that you follow so that you always know where you are in the development of your database. I was hoping to find something similar to use as a guide for developing an app.
Posts: 5,151
Threads: 396
Joined: Sep 2016
I cant think of a guide for that, but maybe someone else might know of one?
Recommended Tutorials:
Posts: 7,320
Threads: 123
Joined: Sep 2016
Sep-14-2019, 03:34 PM
(This post was last modified: Sep-14-2019, 03:34 PM by snippsat.)
Start bye looking at virtual environment and packaging at basic level.
I have several post about this,can link to some here, here, here, here.
In this tutorial i cover wide range of stuff regarding this.
Many project do create Packaging for you eg Django.
There are many tools for this to Poetry(Good), Cookiecutter.
There are Cookiecutter for many project eg Flask(tool i use most for web creation) cookiecutter-flask, cookiecutter-kivy...ect.
Tools can be fine,but getting basic knowledge about this toic first can help.
Python also have Python Packaging Authority,that maintain(also have tutorials) of
many these tool eg pip,wheel,setuptools(setup.py) ect.
Posts: 15
Threads: 2
Joined: Sep 2019
(Sep-14-2019, 03:34 PM)snippsat Wrote: Start bye looking at virtual environment and packaging at basic level.
I have several post about this,can link to some here, here, here, here.
In this tutorial i cover wide range of stuff regarding this.
Many project do create Packaging for you eg Django.
There are many tools for this to Poetry(Good), Cookiecutter.
There are Cookiecutter for many project eg Flask(tool i use most for web creation) cookiecutter-flask, cookiecutter-kivy...ect.
Tools can be fine,but getting basic knowledge about this toic first can help.
Python also have Python Packaging Authority,that maintain(also have tutorials) of
many these tool eg pip,wheel,setuptools(setup.py) ect.
Many thanks for these links. I will read through these today and I will post back here with some questions if I have them.
Thanks again
Posts: 1,838
Threads: 2
Joined: Apr 2017
If you learn about writing automated tests (e.g. unit tests), then test-driven development is a great way to go about building software incrementally.
Posts: 15
Threads: 2
Joined: Sep 2019
Sep-16-2019, 03:53 PM
(This post was last modified: Sep-16-2019, 03:53 PM by PyNovice.)
(Sep-15-2019, 12:46 PM)ndc85430 Wrote: If you learn about writing automated tests (e.g. unit tests), then test-driven development is a great way to go about building software incrementally.
Thanks for the tip.
I've googled Python Testing and found this
https://realpython.com/python-testing/
Is there a particular Tutorial that you recommend.
|