4,911 Posted Topics

Member Avatar for Shianne_1

Plug in a few test numbers. What happens if only 35 hours are worked? In that cast the overtime is -5 hours and you get a negative OT pay. Write your program in pseudo-code. Write out the steps you would do if you were doing the accounting by hand. Try …

Member Avatar for Reverend Jim
0
343
Member Avatar for dummyjy0*_08

Please 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). What have you done so far, and where are you stuck?

Member Avatar for toneewa
0
45
Member Avatar for vietnamstyle89

>According to me Mozilla Firefox (google chrome) is best for SEO. A response like that is completely useless without supporting info to back it up.

Member Avatar for Reverend Jim
24
7K
Member Avatar for kasmar45

I'd like to be able to help but it's been years since I did any c/c++ programming so any help I offered would either be outdated or just plain wrong. So why am I posting? I just had to ask - at 80, I have to assume that you are …

Member Avatar for john_111
4
322
Member Avatar for Vandiun
Member Avatar for sunny258
Member Avatar for 玥旻
Member Avatar for Bright_5

This is essentially the same question as posted [here](https://www.daniweb.com/programming/databases/threads/538198/please-help-with-python-code). You get the same answer. Show us what you have so far, and where you are having problems. You said you attached the code but I don't see it. Please post it inline using the code block tool `</>`. This makes …

Member Avatar for Bright_5
0
90
Member Avatar for Felonely

The first thing I would do is look up the definition of a table. It usually has both rows and columns. Your example has only a list. The second thing I would do is write and debug the code for `isVariant(a, b)` which should return `True` if `a` is a …

Member Avatar for rproffitt
0
79
Member Avatar for Ethan_145

That sounds like the perfect scenario to create a thread that generates the random numbers. That would allow the generation to be done concurrently with your game. The thread could maintain a queue of n random numbers, automatically generating new numbers to maintain the pool as you make pull requests. …

Member Avatar for toneewa
0
510
Member Avatar for Reverend Jim

I've seen multiple write-ups and videos on how super-easy it is to install and configure JellyFin Media Server. My experience has been the opposite. It has a lot of really nice features, one of which is the automatic fetching of meta data. It's so nice, in fact, that I thought …

Member Avatar for Reverend Jim
0
1K
Member Avatar for Batkiri

First of all, show us what you have tried so far. The answer also depends on the format of your data. Are you processing a file line-by-line, or are you processing a list of lines where each list element is one line of text? Also, instead of giving us the …

Member Avatar for Reverend Jim
0
36
Member Avatar for adisharma

Easiest way to find out is to google things like mysql python sqlite python I've used it with sqlite only. Connection is easy. For a step by step check out [this tutorial](https://www.tutorialspoint.com/sqlite/sqlite_python.htm). If you are more into video tutorials you can watch [this one](https://www.youtube.com/watch?v=byHcYRpMgI4).

Member Avatar for Reverend Jim
0
31
Member Avatar for mile.joncevski

Nice to see a new face. While I am far from being a Python pro I should be able to help with the simpler stuff. Welcome to Daniweb and thanks for sharing.

Member Avatar for Dani
1
131
Member Avatar for Reverend Jim

My son uses Anaconda so I thought I'd install it so we could collaborate. I downloaded and installed the latest version. When I ran Anaconda Navigator, the first thing it told me was "there is a new version available". That's when I started having misgivings, but I downloaded and installed …

Member Avatar for Reverend Jim
0
110
Member Avatar for lewashby
Member Avatar for Puterwiz82
0
100
Member Avatar for Mercy254

Please keep in mind that if you ask politely for help you are more likely to get an answer. Look at it this way. If you were to ask someone if they could babysit your dog for a few days while you were out of town, which would be more …

Member Avatar for Reverend Jim
0
66
Member Avatar for palak231

I can't recommend a course but I highly recommend the book *Beginning Python: From Novice to Professional* by [Magnus Lie Hetland](https://www.ntnu.edu/employees/mlh).

Member Avatar for Reverend Jim
0
137
Member Avatar for Wee_396

What have you got so far, and what version of Python are you using? Please 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
0
82
Member Avatar for सुभाष

There are so many things wrong with this post. - You posted a demand for a solution - You didn't actually post a question - You didn't show the work, if any, that you have done so far - Read the forum rules and try again Please read the [Daniweb …

Member Avatar for rproffitt
0
43
Member Avatar for Safa_2

Please 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). What you probably want is a login form that is presented to the user before allowing the main form to display. You'll either have to maintain a database of user roles, or if you are working with a Windows …

Member Avatar for pritaeas
0
47
Member Avatar for Muslim_4

Please 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). What language are you writing it in and what do you have so far? There are different techniques depending on the actual specs. If you are reading in the number, you can process it as a string. To convert …

Member Avatar for Reverend Jim
0
27
Member Avatar for yaraa123

You want a high mark but you don't want to actually do the work or learn anything. Would you also pay someone to go to the gym for you and expect to get ripped? That's not how life works.

Member Avatar for Reverend Jim
0
115
Member Avatar for jagathg

You tagged this thread with "C". I added "Python" as a tag and removed "C". Is your problem with the actual logic of the code (which we won't write for you), or is it with the scheduling (which you can do with the Windows Task Scheduler), which we *can* help …

Member Avatar for Reverend Jim
0
31
Member Avatar for razwe2003

Seriously? After Ukraine and numerous cyber attacks you'd trust anything Russian? Shame on you. Time to resort to your backup. If you don't have a backup then double shame on you. You should have a backup image of your system partition for just this event (I recommend Macrium Reflect). At …

Member Avatar for rproffitt
0
53
Member Avatar for LDBx

Start with Python. 1. It is easy to learn the basics 2. There are lots of online tutorials 3. There are people here who can help 4. It is not a niche language

Member Avatar for Reverend Jim
0
39
Member Avatar for palash889

A little late to the party but, I suggest you start with Python. It is relatively simple for beginners to pick up and the online resources for all levels are plentiful. Using the built in coding environment (idle) you have a decent (for a beginner) editor plus an interactive shell …

Member Avatar for Reverend Jim
0
471
Member Avatar for Raghda_3

Please 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). Nobody here will do your homework for you. If you want to ask a question I suggest you state it as a request rather than a demand.

Member Avatar for rproffitt
-1
78
Member Avatar for Reverend Jim

I discovered, after upgrading to Python 3.10, that wxPython no longer worked. Fortunately, a kind soul at wxpython.org suggested I try installing a snapshot build of wxpython via the command pip install -U --pre -f https://wxpython.org/Phoenix/snapshot-builds/ wxPython So far my existing wxPython scripts run just fine. If you are wondering …

4
2K
Member Avatar for Android Oyunlar
Member Avatar for Hadil_1

Please 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
67
Member Avatar for rproffitt
Member Avatar for Dani

In 1971 (almost before the invention of tech) I was in first year engineering (was going to be chemical) and I sucked at physics labs. A professor let me use his computer account to tinker with BASIC and I ended up writing some code to generate my physics lab results. …

Member Avatar for rproffitt
2
94
Member Avatar for William_75

You are trying to access a property as a method. You should be using `X.content` instead of `X.content()`. Methods use parentheses. Properties do not.

Member Avatar for Reverend Jim
0
48
Member Avatar for Xozz

I've been running nothing but Windows Defender on all the machines I've set up for many years now with no problems. I **HAVE** updated several friends' anti-virus when they complained about high CPU load when running: 1. Trend Micro 2. Norton Antivirus 3. McAfee

Member Avatar for pcbugfixer
0
117
Member Avatar for Reverend Jim

Videolan.org has a section in their forums for "VLC media player Feature Requests". I have been using VLC for many years and, other than being a tad light on documentation, I find it pretty damn awesome. But there is one small thing that always bothered me. If you are watching …

Member Avatar for rproffitt
0
284
Member Avatar for asdfg_8

We won't do your homework for you. Please post your code and indicate where you are having a problem. In the meantime, please 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 rproffitt
0
33
Member Avatar for TimTheCoder

How are you storing the date? The answer depends on whether you are storing it as a string (and what date format the string is in) or a date/time. If you could post the query you used to create the database that would be very helpful. I could use it …

Member Avatar for TimTheCoder
0
81
Member Avatar for fx.eko

Do you have a USB that you can boot from to check your hard drive? Linux Live or Macrium Reflect for example?

Member Avatar for LeviSais213
1
244
Member Avatar for pritaeas
Member Avatar for pop_015

Any GUI programming I do in Python is done with [wxPython](https://wxpython.org/), which is built on [wxWidgets](https://www.wxwidgets.org/). This is a cross platform set of components which causes all controls to be rendered in the target system's control set. That means that the application will look like a native application no matter …

Member Avatar for Reverend Jim
0
52
Member Avatar for Dani

If you can afford it, and you think it will encourage worthwhile posts, then by all means. As in the past, I will not redeem any bonuses earned. I do it for the love of the craft.

Member Avatar for Dani
1
60
Member Avatar for DAVE_44

You have to adjust the value for `num1` so that the next time you click `=` you get the correct answer. If you want `ans` to be the sum of `num1` and `num2` the first time, then `num2` and `ans` the next time, you'll have to assign `ans` to `num1`. …

Member Avatar for Reverend Jim
0
99
Member Avatar for Mikey37

I recall from an incident a few years back that Windows uses drive IDs (serial numbers) when allocating drive letters. In my scenario we were taking daily drive images of our online servers, and applying them to backup (offline) servers so that in the event of a catastrophic failure we …

Member Avatar for Ethan_19
0
218
Member Avatar for Jon_4

Problems with your post: 1. You hijacked/revived a four-year-old thread 1. You posted undocumented code 1. You didn't post that code properly 1. You demanded that someone do your work for you You are basically acting rude and entitled. Good luck getting help with this.

Member Avatar for Suman_19
0
23K
Member Avatar for sirzardoz56

Lacking a screen-saver (which is no longer required to save your display) why not just download a fireworks video and have it play full-screen on repeat?

Member Avatar for rproffitt
0
175
Member Avatar for Ashurà_1

Looks like pretty basic linked list manipulation. If you understand how linked lists work you should be able to step through the code with a little elbow grease. If you don't understand linked lists then you'll have to do some reading first.

Member Avatar for Reverend Jim
0
55
Member Avatar for Reverend Jim

[This item](https://arstechnica.com/information-technology/2022/03/sabotage-code-added-to-popular-npm-package-wiped-files-in-russia-and-belarus/) was in the news a few days ago. I'd like to know people's thoughts. I'm torn. On the one hand, it erodes trust in all open source software. On the other hand, it selectively targets the aggressor nations in an illegal and immoral war. But where do we …

Member Avatar for rproffitt
0
31
Member Avatar for Mohamad_18

Since a password is associated with a username, it would make more sense to use an associative array, or as Python calls it, a dictionary. Also, since you pretty much wrote it out in (almost) pseudo-code, why not do it in actual pseudo-code in indented format? That will get you …

Member Avatar for Reverend Jim
0
221
Member Avatar for Christian_45

The End.