Sunday, April 28, 2019
Catalin George Festila: Python 3.7.3 and memory_profiler python module.
Today I will come up with a simpler and more effective tutorial in python programming. First, I need to install the psutil python module for the example of this tutorial. C:\Python373>cd Scripts C:\Python373\Scripts>pip install psutil Python memory monitor is very important for debugging application performance and fix bugs. You can solve this issue is the python module named memory_profiler, see
from Planet Python
via read more
from Planet Python
via read more
Talk Python to Me: #209 Inside Python's new governance model
We all got a bit of a shock to the system when Guido van Rossum decided to step down as the leader and top decider of the Python language and CPython runtime. This happened due to many factors but was precipitated by the so- called walrus operator (PEP 572).
from Planet Python
via read more
from Planet Python
via read more
Low Kian Seong: Some of the things I did not anticipate ...
Here are some of the things that I did not think to anticipate when tasked to implement a DevOps pipeline:
from Planet Python
via read more
- The humongous sized enterprise grade software such as RTC (Rationale Team Concert from IBM) and UDevelop. They are used mainly for the development side for the development workflow. These guys are so big and bulky that you can't even download and study them on your own laptop as you would while you were investigating the functionality of an OSS software or library. They are a real road block to coming up with good viable replacement. You cannot replace what you cannot study. Most of the developers hate these pieces of software for development they are clunky and hard to use but these guy are real juggernaut when it comes to ops side features. Basically we came to the conclusion that this software was chosen mainly to fulfil some ops side requirements not so much the whole flow or pipeline.
- These #1 pieces of software have a huge list of feature set that are not easily replaceable using OpenSource software without either: i. String a boat load of existing software together or ii. Accepting some limitations with the new replacement.
- Only jump servers being able to access key servers thus our strategies using Ansible as provisioning strategies crumble to dust. These jump servers are Windows 7 usually and the best that we have figured so far to get Ansible there would be to upgrade them to Windows 10.
- After figuring out 3, it seems that UDevelop is this magical piece of software that can do all the things that Ansible can do and more, so in the end we were thinking should we use it or should we go out to replace it. We don't like how it's hard to test and learn but at the same time never re-invent the wheel right ?
- Number 5 I sort of anticipated but was still taken quite aback after realising the degree of the apathy people in the departments corporate have of the outcome of their initiatives or efforts. It seems that most of the departments are so far removed from the outcome that they do not even care if what they do (or don't) or if their projects even have a positive net effect on the outcome or the final result of deliverables. Not all are like that but the ones that do care have gained enough wisdom to only speak out when the timing is right or to just not speak up at all. This is sad to me.
- The ops side of the equation is in another company all together which complicates change and proposals to change as you not only have to consider all the pros and cons in your own company but also if the changes will effect the other side. Bottom line is you have twice the redtape and twice the detractors.
I breathe a silent prayer to the gods of Continuous Improvement that our efforts sees meets more smooth and happy days ahead and we do not loose site of our goals ahead.
from Planet Python
via read more
Saturday, April 27, 2019
A. Jesse Jiryu Davis: PyCon Canada Video: API Evolution the Right Way
I gave this talk at PyCon Canada in Toronto, in November 2018. You can also read my article on the same topic.
from Planet Python
via read more
from Planet Python
via read more
Weekly Python StackOverflow Report: (clxxv) stackoverflow python report
These are the ten most rated questions at Stack Overflow last week.
Between brackets: [question score / answers count]
Build date: 2019-04-27 06:30:02 GMT
from Planet Python
via read more
Between brackets: [question score / answers count]
Build date: 2019-04-27 06:30:02 GMT
- Is there any pythonic way to find average of specific tuple elements in array? - [17/9]
- Converting a text document with special format to Pandas DataFrame - [12/8]
- Python 3: Why is `object` an instance of `type` and `type` inherits from `object`? - [9/2]
- How to rank a list of numbers and print out the ranking? - [7/6]
- Is splitting assignment into two lines still just as efficient? - [7/2]
- Is there a limit to the size of a Python module? - [7/1]
- How to do clean logging, without making code look awful? - [7/1]
- Python string multiplication with "is" comparison is inconsistent - [7/0]
- How do you add a value to a float index of a dataframe for every other row? - [6/4]
- Faster double iteration over a single array in Python - [6/3]
from Planet Python
via read more
Catalin George Festila: Django REST framework - part 001.
Today I will introduce you a tutorial to fix some of the necessary elements presented in the old tutorial. The manage tool shell can also give us some info: C:\Python373\Scripts\example>python manage.py shell Python 3.7.3 (v3.7.3:ef4ec6ed12, Mar 25 2019, 22:22:05) [MSC v.1916 64 bit (AMD6 4)] on win32 Type "help", "copyright", "credits" or "license" for more information. (InteractiveConsole) >>>
from Planet Python
via read more
from Planet Python
via read more
Subscribe to:
Posts (Atom)
TestDriven.io: Working with Static and Media Files in Django
This article looks at how to work with static and media files in a Django project, locally and in production. from Planet Python via read...
-
This blogpost was originally published on the Quansight Labs website . Spyder 4 will be released very soon with lots of interesting new fe...
-
Podcasts are a great way to immerse yourself in an industry, especially when it comes to data science. The field moves extremely quickly, an...
-
Dialogs are useful GUI components that allow you to communicate with the user (hence the name dialog ). They are commonly used for file Ope...