4,911 Posted Topics

Member Avatar for lam_189

As a first language I highly recommend Python. It is free and comes with a simple IDE (idle). For something more robust you can use Microsoft vscode (also free) as the Python IDE. Python has a very friendly syntax and there are a large number of free online tutorials. And …

Member Avatar for tinstaafl
2
91
Member Avatar for jessicaboland

Welcome to aniweb. Please take a few moments to read the [Daniweb Posting Rules](https://www.daniweb.com/welcome/rules) and [Suggestions For Posting Questions](https://www.daniweb.com/programming/threads/435023/read-this-before-posting-a-question).

Member Avatar for Dani
0
22
Member Avatar for Tom_45

The trick is to use lazy matching which matches the shortest possible string. html = '<tr align="right"><td>236</td><td>Roy</td><td>Allyson</td>' pat = '<td>(.+?)</td>' then re.split(pat,html) returns ['<tr align="right">', '236', '', 'Roy', '', 'Allyson', ''] and re.split(pat,html)[1::2] returns ['236', 'Roy', 'Allyson']

Member Avatar for Tom_45
1
184
Member Avatar for Tom_45

For html = '<tr align="right"><td>236</td><td>Roy</td><td>Allyson</td>' pat = '<td>(.+?)</td>' then re.split(pat,html) returns ['<tr align="right">', '236', '', 'Roy', '', 'Allyson', ''] and re.split(pat,html)[1::2] will return only ['236', 'Roy', 'Allyson'] The expression `.+?` does a lazy match (returns the shortest possible string that matches the pattern.

Member Avatar for Tom_45
1
154
Member Avatar for cambalinho

Why not just load it into paint.exe then save as whatever format you want? Or you could download [ffmpeg](https://ffmpeg.org/) (free) and do ffmpeg -i myfile.ico myfile.jpg (or whatever format you want) ffmpeg can also be used to convert video between any formats. Also subtitle files. ffmpeg is a portable app …

Member Avatar for cambalinho
1
67
Member Avatar for cambalinho
Member Avatar for FarrisFahad

Normally I would have just deleted this as spam but I thought it was worth leaving in to make a couple of comments. Firstly, it is not an academic lifesaver. The purpose of a term paper is to teach you how to do research and to help you learn the …

Member Avatar for brandlyglobal
1
131
Member Avatar for cored0mp

I think it is a good idea for the design team to get input from the coders. Let me give you a non-programming example. My brother was a civil engineer in charge of the maintenance of the province's water treatment plants. When the design for a new plant came to …

Member Avatar for chuckc
1
150
Member Avatar for digitalfolks

Welcome to Daniweb. Please take a moment to read the [Daniweb Posting Rules](https://www.daniweb.com/welcome/rules) and [Suggestions For Posting Questions](https://www.daniweb.com/programming/threads/435023/read-this-before-posting-a-question).

Member Avatar for Reverend Jim
1
15
Member Avatar for cored0mp

Are you differentiating between design and programming? Some professionals get stuck in their heads. For example, too many surgeons feel that surgery is the first option. My job as a professional programmer was not primarily to write code. My job was to provide solutions to problems. Ideally that meant writing …

Member Avatar for cored0mp
0
162
Member Avatar for Miachel
Member Avatar for brandlyglobal

Can someone please explain the difference between "Increase website traffic" and "Increase website traffic organically"? What, exactly, does organically mean?

Member Avatar for EdwardMatthew
2
135
Member Avatar for SCBWV

For what it's worth, when I retired in 2008 and started writing code just for myself, I wrote everythig in vb.net. A few years ago I made the move to Python/wxPython and never looked back. I wanted to refactor/enhance one of my apps and I ended up just redoing it …

Member Avatar for wolfnero
1
2K
Member Avatar for calmenjoshua
Member Avatar for FarrisFahad

I have found that the maintainability of an app has a lot more to do with the quality of the developer than the language choice, given that you are choosing a mainstream language.

Member Avatar for Dani
3
66
Member Avatar for Vijay_34

Popular doesn't mean best, and best can depend on many factors: 1. speed of game play and complexity of calculations 2. speed and ease of development 3. available resources 4. skill and number of developers 5. type of game (first person shooter, puzzle, etc.) Years ago I wrote a 3D …

Member Avatar for Esteban_5
1
116
Member Avatar for keziashan
Member Avatar for rproffitt
0
19
Member Avatar for Victor_43
Member Avatar for rproffitt
0
10
Member Avatar for carriejo810
Member Avatar for rproffitt

1. No more Trump(s) 1. Media that doesn't pretend there are two sides to every story for fear of being called biased (as if there is anything wrong with being biased in favour of the facts). 1. Fair elections. 1. Serious consequences when the media or a politician knowingly reports …

Member Avatar for carriejo810
4
1K
Member Avatar for usmanmalik57

Since the underlying tool is ffmpeg, why bother with all the code and overhead? You can just use ffmpeg directly with the -r option. Aside from this I enjoyed the article (and the others you have posted).

Member Avatar for usmanmalik57
2
782
Member Avatar for jkon

I worked at a desk (computer programmer/maintainerer/etc) for 31 years. For the last ten years as part of a group of hardware/software specialists I was required to attend monthly safety meetings. One particular meeting was all about repetitive stress injuries and how to avoid them. One engineer, whom I thought …

Member Avatar for jkon
0
33
Member Avatar for Reverend Jim

Having just acquired a Raspberry Pi Model 3, I am attempting to set it up as an NAS. So far I have set up the Raspberry Pi OS and configured samba. It appears to be working fine except for one minor problem. While I can remote in using TightVNC, I …

Member Avatar for Reverend Jim
2
95
Member Avatar for Alicia_14
Member Avatar for DGPickett
0
104
Member Avatar for cambalinho

I don't know what it is you are trying to do but is it possible to use ffmpeg to do the changes? If you can tell us what your intentions are perhaps I can suggest an ffmpeg command line that will do it.

Member Avatar for Reverend Jim
0
111
Member Avatar for Dani

Knowing how obtuse some error messages are, could it be referring to one of the URLs in either or both of the xml files?

Member Avatar for Dani
1
1K
Member Avatar for Reverend Jim

We haven't had any really silly discussions going on here for some time so let me start one with these two items: Is it just me, or does Lauren Boebert (at least in the outrage/rant photos) look like Margaret Hamilton in The Wizard of Oz? and speaking of green things... …

Member Avatar for Reverend Jim
1
26
Member Avatar for Fazna

>Your designs are safely stored in the Figma cloud, ready to be accessed anytime, anywhere. Except from Google Drive, apparently.

Member Avatar for Dani
1
66
Member Avatar for jayashree10

Generally speaking, people are less likely to offer help when the request is phrased as a demand.

Member Avatar for Reverend Jim
-3
30
Member Avatar for buzzboss

What's with the new trend of adding a "w" to the end of "hello"? Forgive me for being old and cranky but I thought we already had enough words. Also, in spite of the cranky tone above, welcome to Daniweb from a resident curmudgeon.

Member Avatar for Julia K
1
58
Member Avatar for kinger_1

Typing your title into google gives... An interface is the connection between systems or applications, while a protocol defines the rules for data exchange between these systems or applications.

Member Avatar for Reverend Jim
0
74
Member Avatar for tanvir_5

Creating exceptional content takes time. You need to take time to organize your thoughts, and you need to take time to express those thoughts concisely and coherently. You also need to take time to proof-read what you have written to make sure it accurately reflects what you want to convey. …

Member Avatar for Reverend Jim
0
12
Member Avatar for EdwardMatthew
Member Avatar for Evilshoes
Member Avatar for Ethanbrody

Sometimes you have to work to convince the client that what they want isn't necessarily what they need.

Member Avatar for myresellerhome
0
208
Member Avatar for Alex_169

When I had a bad lower back injury years ago I built a kneeling chair that was very comfortable for working. It looked very similar to [this one](https://www.vevor.ca/ergonomic-kneeling-chair-c_10916/ergonomic-kneeling-chair-rocking-wooden-330lbs-load-posture-correct-office-stool-p_010982123570?adp=gmc&utm_term=) except I built mine for under $10. Please note I am in no way promoting/endorsing the product in the link.

Member Avatar for Rick_19
0
57
Member Avatar for gachanox
Member Avatar for Cornelius89
Member Avatar for Ashley_31

Please read [Suggestions For Posting Questions](https://www.daniweb.com/programming/threads/435023/read-this-before-posting-a-question).

Member Avatar for Olive34
0
226
Member Avatar for Ndidiamaka_1

An expression is typically something that reduces to a value (usually a part of a statement). A statement is something that performs an action. For example: x + y * 5 is an expression z = x + y * 5 is a statement that computes a value (from the …

Member Avatar for Reverend Jim
-1
25
Member Avatar for Mindmade
Member Avatar for deftsoftseo
Member Avatar for Hope_Magzine
Member Avatar for Ethanbrody

Welcome to Daniweb. >I offer my sincere apologies for any inadvertent mistakes I may have made thus far. Not even so much as a grammatical error so far. Even meticulous comma placement. Well done ;-)

Member Avatar for Reverend Jim
1
40
Member Avatar for usmanmalik57

All I get when feeding it an audio file is Traceback (most recent call last): File "D:\Scripts\transcribe.py", line 5, in <module> import openai File "C:\Python\lib\site-packages\openai\__init__.py", line 15, in <module> import aiohttp File "C:\Python\lib\site-packages\aiohttp\__init__.py", line 6, in <module> from .client import ( File "C:\Python\lib\site-packages\aiohttp\client.py", line 36, in <module> from . import …

Member Avatar for Reverend Jim
1
864
Member Avatar for LXSXX1024

>Here's a general outline of how you can achieve this: I think you left a little bit out of that outline.

Member Avatar for Anthony6534
0
176
Member Avatar for rproffitt

Where do you draw the line? If I set up parameters for ray-tracing and run them through "generative" software, would I own the rights to the result? Pre AI I believe I would have, but now it could be argued that I would not. Consider a tool like Topaz Photo …

Member Avatar for Reverend Jim
3
266
Member Avatar for neerajks992
Member Avatar for rproffitt
Member Avatar for Artin_1

The only way to get good at something is by doing it. After decades of programming professionally in multiple languages I read several python book but I found that just "dabbling" was not sufficient to become comfortable with the language. I had to jump into the deep end of the …

Member Avatar for Reverend Jim
0
109

The End.