Movatterモバイル変換


[0]ホーム

URL:


Skip to content
DEV Community
Log in Create account

DEV Community

Cover image for Everything you need to start developing in python
QLabs
QLabs

Posted on

     

Everything you need to start developing in python

This is a list of everything you need to have when developing in python, and some of these work for other languages (or even all!), and are things that you'll find you can't develop without after a while.

1. GitHub

GiHub Logo
Well, duh! GitHub is the most basic thing any developer has. Since GitHub also has the largest community of developers, going there makes sense, since your code will reach a larger audience. However, there are arguments that platforms such asGitLab orBitBucket are better. Here'sGitLab'sofficial comparison of GitHub and GitLab.

2. Git

Git Logo

No, don't go! But whether you use GitLab or GitHub, you obviously have to have Git. Git allows you to connect a "remote" (GitHub, GitLab, BitBucket, etc.) to your computer code, and commit changes you've made on your computer to the remote while saving all of the commits in the commit history. This way, if you stumble across a bug that was caused by the previous commit that could have been prevented, you can easily switch back to the commit. You can also create branches to seamlessly switch between different versions of your project, eg. I'd create a branch to work on a new feature, and then merge the branch with the main branch (often named "main" or "master"). I can also create releases, which git will save as tags, where you can also switch between to see previous versions. There are many more things that Git can do, but I won't go over it all now. You can download ithere. Now, if you find Git too complex, but need the features, fret not! Git comes with a built-in GUI, which you can use, but, there are also git clients, such asGitHub Desktop, orSourcetree. These supercharge git to allow you to be able to do things with a single click rather than multiple CLI commands.

3. A Code Editor

Picture of the Visual Studio Code Editor Interface

Code editors are important. Very, important. They allow you to speed up your coding with snippets, debugging, and more, vs. coding on your computer notepad, yeah, I know, not very friendly. There are several code editors. And, it really depends on what you want. For python, I think it really comes down toVSC andPyCharm. PyCharm is for pure python development, but VSC comes in handy with support for many other languages, and is extremely customizable, with a busload of extensions. Although PyCharm also has extensions, as I said, it's purely for python. However, there's also Atom and Sublime Text, but these aren't as good as VS Code and PyCharm.

4. Python Packages

PyPI Logo

There are most likely hundreds of different python packages that you'll use when developing, but, there are a couple you almost need.

  • Numpy, "the fundamental package for scientific computing with Python."
  • Pandas, although this is not a requirement, Pandas comes in handy with data science.
  • Matplotlib, for graphing and plotting data.
  • Pillow, a python imaging library.
  • Requests, for sending HTTP(s) requests.
  • Tkinter, can come preinstalled with python depending on the version, for graphics and GUI interfaces.
  • Pytest, a great testing library.
  • Coverage, a code coverage tool for python.
  • Pyinstaller, converts your python code to an executable to help you distribute it to your friends even if they don't have python.

You can install them all with this handy command:

pipinstallnumpypandasmatplotlibpillowrequeststkinterpytestcoveragepyinstaller
Enter fullscreen modeExit fullscreen mode

5. A good idea and your trusty brain!

That's about it! Suggest anything else you think that you should be added, and I'll check it out in the comments!

Top comments(0)

Subscribe
pic
Create template

Templates let you quickly answer FAQs or store snippets for re-use.

Dismiss

Are you sure you want to hide this comment? It will become hidden in your post, but will still be visible via the comment'spermalink.

For further actions, you may consider blocking this person and/orreporting abuse

Musician, developer, and hobbyist. Write articles regularly on JS, Python, and other programming related things.
  • Location
    Korolev Crater, Mars
  • Work
    Musician, Developer at epispot
  • Joined

More fromQLabs

DEV Community

We're a place where coders share, stay up-to-date and grow their careers.

Log in Create account

[8]ページ先頭

©2009-2025 Movatter.jp