- Strength to Increase Rep
- +4
- Strength to Decrease Rep
- -1
- Upvotes Received
- 60
- Posts with Upvotes
- 46
- Upvoting Members
- 8
- Downvotes Received
- 0
- Posts with Downvotes
- 0
- Downvoting Members
- 0
- Interests
- code snippets python
- PC Specs
- HP 17 commerce grade Linux
16 Posted Topics
I have to admit that C-sharp is a good language, but in my case Python took over. I am a scientist and had to deal with physics and large numbers.
I do remember the days when programming was very much a physical thing. You found students in the hallways with shoe boxes full of punch cards trying to get to the card readers. God forbid you got those cards out of order! Half the building contained racks of computer sections …
The Arduino micro controller is a great interface that allows your computer to do things with the world around it. It can measure and record things like temperature, humidity, light (also infrared signals), sound, motion, distance, magnetism and color. It can blink and buzz, run motors, water your plants and …
I have been coding with Python for many years. Every now and then I discover in my own collection of helper files something that just astonishes me about the language. Here is one example:
Let Python count the number of digits for an initial hint of correctness. How are the grouped? Analyze the number using slicing. Could be a fun project!
Whatever you do, eat a balanced diet. If it contains some meat, so be it. After all, the word "Vegetarian" is a native American word meaning "Lousy Hunter".
Look back at your own life and develop a theme from a real life situation you have been in. Take a college class in writing, to show you what not to do!
Depends on the teaching staff. Python is simply too easy! Go 'Klingon' style and use Assembly or modern C++.
Have not watched the old tube for years, maybe I should turn it on at least! Something could be my favourite?
I am asking this because I am habitually intrigued by numbers. Python seems to be a good language to explore all sorts of numeric facts. Do you have any 'tricks' hidden away? Here is one about the number 61 I recently bumped into:
Just asking about a good approach for the user.
Pyqt6 has undergone some major improvements from its earlier versions. I used to code in versions 5 and even much earlier, and also its license-free PySide cohort. I am hoping for any advice on easing this switch!
I have been writing small Python utility programs, a few lines of code using module 'glob' that go through a working folder and search for strings in text and code files. Also have one that can give you a slide show of any image files there. These programs are tiny, …
I have watched a fair amount of those and only a few impress me! The once that sound like church sermons (do it my way ...) are the pits! I think Corey Schafer has good presentations, like his style and voice!
I am in the process of rediscovering python after a dire cardiac episode. Used to be very active under my favored nickname vegaseat, not 'seat' but 'eat'! Got tired of the arbitrary jolts from MS and Windows 11 and switched totally to LinuxMint. Actually, my commercial grade 'HP 17 laptop' …
I just learned the 'head scratching way' that module names come up from nesting code. The code can be nested from within Python in combination with a "NoNo" like calling a helpful code snippet the name of an official module like 'textwrap.py'. More or less by accident this snippet ended …
The End.