Programming: Emacs for Python, Twisted 19.2.0 Released and More

-
Emacs for Python
Python is all the rage for data scientists and web developers alike but how do you start? The best way to learn to program is to try out functions and ideas yourself. With Python, you have a great tool available by default: the interpreter. You can actually use it as a shell for everyday tasks. In the interpreter you can try the mathematics, create your ‘Hello World!’ and even define some functions. This is an excellent way to create a specific function before you start using your editor or IDE. If you want the full REPL, use Ipython or even better a Jupyter notebook. In a Jupyter Notebook, you can mix code with comment sections and even the results from your code. There are many examples of this online.
When you are ready to start a full project, you have a few things to consider. First, you need to know what software you need. For each project, you will probably use different libraries and levels. In Python, this has been a special point of attention after the 3.x series was introduced. Some functions from 2.x are not supported by 3.x, because of this situation virtual environments was invented. Virtual environments are useful for making sure you use the particular libraries you expect and nothing else.When you choose IDE, or editor, you want to support these virtual environments to make your work simpler. You also need to have an easy way to test your latest patches. Other things you want at your fingertips are documentation, code completion and a testing environment.
In Emacs, you have support for Python code highlighting from a vanilla install. When you want more, there are packages available for these functions and a few more. The philosophy of Emacs is that you will not need to leave the editor to keep doing your work. To achieve this, there are shells, a REPL and even support to have your Jupyter notebook inside the editor. You can also start a web server and use your browser to see what your latest code has done for your web page.
-
Twisted 19.2.0 Released
On behalf of Twisted Matrix Laboratories, I am honoured to announce the release of Twisted 19.2!
-
Bash Basics
-
Insider 2019-04: Tetris; Docker; Podman; python-fetcher
-
Speed up SystemTap scripts with statistical aggregates
-

- Login or register to post comments
Printer-friendly version- 1867 reads
PDF version
More in Tux Machines
- Highlights
- Front Page
- Latest Headlines
- Archive
- Recent comments
- All-Time Popular Stories
- Hot Topics
- New Members
digiKam 7.7.0 is released
After three months of active maintenance and another bug triage, the digiKam team is proud to present version 7.7.0 of its open source digital photo manager. See below the list of most important features coming with this release.
|
Dilution and Misuse of the "Linux" Brand
|
Samsung, Red Hat to Work on Linux Drivers for Future Tech
The metaverse is expected to uproot system design as we know it, and Samsung is one of many hardware vendors re-imagining data center infrastructure in preparation for a parallel 3D world.
Samsung is working on new memory technologies that provide faster bandwidth inside hardware for data to travel between CPUs, storage and other computing resources. The company also announced it was partnering with Red Hat to ensure these technologies have Linux compatibility.
|
today's howtos
|








.svg_.png)
Content (where original) is available under CC-BY-SA, copyrighted by original author/s.

Recent comments
1 year 11 weeks ago
1 year 11 weeks ago
1 year 11 weeks ago
1 year 11 weeks ago
1 year 11 weeks ago
1 year 11 weeks ago
1 year 11 weeks ago
1 year 11 weeks ago
1 year 11 weeks ago
1 year 11 weeks ago