4,911 Posted Topics
Re: Keep in mind that by remapping the arrow keys you will be over-riding their original functionality in all applications. It may be possible to test in AutoHotKey if the desktop (Explorer) has focus and restrict the new functionality so that other apps can still use the original behaviour. | |
Re: I find that if you just want to paint over without stripping/sanding, it is best to clean it thoroughly with TSP first otherwise the paint may just peel off. | |
Re: It is going to match `Narrator:` or `narrator:` because you are allowing the first letter to be either case. As for the `NARRATOR:` match, check to see if you have an `ignorecase` option that may be True by default. In Python you have to explicitly state IGNORECASE. This may not … | |
Re: You aren't following protocol. The way it worked when I was a lad was: - first you steal my lunch money - then you tell me to do your homework | |
I've had one for a couple of years. I like it because I only have to spend $25 a year to keep the phone minutes topped up (sometimes more if I use more minutes). It does what I want, which is make and receive calls while I am away from … | |
Re: We won't do your homework for you, but if you have hit a snag, post what you have done so far and where you are are stuck and we'll see if we can help you through it. | |
Re: If you got the free upgrade to Windows 10 then your computer has already been registered with Microsoft as legit (licensed). If you don't mind installing your apps again you should be able to reinstall Windows 10 over top of the existing installation. I'd recommend backing up any data files … | |
Curious. Both [this post](https://www.daniweb.com/programming/computer-science/threads/536401/how-to-write-a-function-of-image-rotation) and [this post](https://www.daniweb.com/programming/computer-science/threads/536400/how-to-rotate-image-using-c) by user omar90 are tagged as "first post by omar90". They were posted 6 hours apart. | |
What are the odds. Three minutes before I popped in, we started getting support spam. I whacked 4-5 but I expect they'll keep coming. | |
Re: Glad to see you. Feel free to ask questions, but please read [Suggestions For Posting Questions](https://www.daniweb.com/programming/threads/435023/read-this-before-posting-a-question) before you ask. | |
Re: How about some context? Perhaps you could post a full, but stripped down example that we could try to run. Based on what little you posted I really have no idea what you are doing or what you are doing it with. | |
Re: Same comment as your other related post. If I posted x = splunge.fnord(1,2,'abc') and asked why it doesn't work, your first comment would likely be, "I have no idea what splunge and fnord are". | |
Re: I'v e been running Windows 11 in a virtual machine for some weeks now. I haven't seen anything that would 1. Entice me to want to update 1. Discourage me from updating In other words, "meh". They changed the start menu. Again. At least this time it was not another … | |
Re: As stated earlier, `->` is indeed type hinting. For example, if you define a method that takes a string parameter and returns a boolean you can define it lie def myFunc(name): or def myFunc(name:str) -> bool: It is strictly for informational purposes. | |
**Requires:** 1. Python version 3.8 or newer 2. wxPython version 4.0 or newer 3. exif module 4. Windows with NTFS file system To ensure you have the required packages please run the following 1. python -m pip install --upgrade pip 2. pip install exif 3. pip install wxPython I have … | |
Re: 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). Short version: 1. Don't hijack threads. Start a new on with your question. 1. Don't resurrect old threads. 1. Show what you have done so far and where you are stuck. | |
Re: That depends on how complex the code is and where you are having problems. I suggest you start a new thread and see what happens. We tend to offer help rather than solutions. | |
We are getting a burst of posts all from IP 180.188.224.184 Wouldn't be a concern except they are all similar in content but from five different usernames (they come in pairs). Anything to be concerned about? If it was on the up-and-up, why use multiple accounts? Jason_54 How do I … | |
Re: I'm not familiar with graphics.py. It apparently does not come with python. I've been using mostly wxPython, but you might want to consider the turtle module that comes with python. It will likely be a lot more robust that graphics.py. | |
Re: Just realize that there is nothing to stop the user from entering a value that will throw an exception when you try to convert it to an integer. Either check that the string is an integer-equivalent, or put it in a `Try` block to trap the error. | |
Re: >There are a handful of old timers around here. I'm one. Welcome to Daniweb. | |
Re: So many possible highly sarcastic answers that my head may explode. The easiest answer is the number of fake followers is proportional to your political or financial advantage in having followers. Or, if your name is Trump, you can just lie about it. | |
Re: >Frankly I've written off MS-Access for decades. Fer sher. I'd recommend sqlite. | |
# Comparing two videos side by side I have been creating walk-through videos on the cheap by just wandering through an area with my little Sony camera. Lacking a steady-cam I just try to hold the camera as steady as possible. Fortunately, with the proper (free) tools I can still … | |
Re: >but I think Reverend Jim may be able to top that Nope. You actually have seniority by a year and change. I started pounding out BASIC in my first year Engineering then switched to Computer Science in 1971 when I saw the error of my ways. | |
Re: I don't use tkinter. It is sadly out of date. Instead I use wxPython, a python wrapper for the wxwidgets tool set (a cross platform library that renders controls using the native OS). If you are interested I suggest you have a look at [this article](https://www.daniweb.com/programming/tutorials/523626/creating-a-gui-wrapper-for-vlc-media-player-in-python-wxpython) that I posted some … | |
I have a SQLite database that for some insane reason stores dates as the number of days since 1899-12-31. I want to create a view that will display the date as an actual date. I can calculate a specific date from a specific day number as select date('1899-12-31','Localtime','+44386 day') as … | |
As if Jeff Bezos isn't already rich enough. As someone who is at high risk because of a compromised immune system, I thought it might be a good idea to get a few N95 masks. Because local medical supply stores are out of stock I checked Amazon. While the prices … | |
Re: I'm all in favour of higher quality, particularly higher quality posts. | |
Re: Where are you stuck and what language are you working in? Is the app command line based, or does it require a GUI? | |
Re: You are using things both as functions and variables. Compare the following with your code class Employee: def __init__ (self, name, basic, house): self.name = name self.basic = basic self.house = house self.nhif = (2/100)* self.basic self.tax = (30/100) * self.basic def gross_income (self): return self.basic + self.house def total_deductions … | |
Re: Start by googling "gaussian elimination". | |
Re: Sure thing. Here it is in APL for any rank of `arr` z ← Zeroes arr z ← +/0=,arr | |
Re: You start by reading a book or tutorial on programming. Google will help you find something. I suggest you start with Python. It's a good language to learn the fundamentals. | |
Re: Question: What is the third letter of the alphabet? Answer: c | |
Re: My guess is it's one of those pointless intro exercises, like "add two numbers using only bitwise operations" that some professors think will teach you something useful. The only thing it teaches is how to do something in the least efficient possible way. | |
Re: 1. What card game? 1. Why C++ 1. What don't you know? | |
Re: I'm not into gaming, and as for Quora, I have no idea what it is but I'm definitely going to have a look. Mostly I'm a techie junkie. Last summer I got started with python/wxpython and currently I am diving back into APL. It's changed a great deal since I … | |
Re: I did just that in [this project](https://www.daniweb.com/programming/software-development/code/523613/a-multiple-timer-application-in-python-wxpython#post2263711). If you have any questions please post them in that thread. The code is posted there. | |
Re: It's like giving some directions on how to get to a destination. The directions depend entirely on knowing the starting point. | |
Re: Meaningless collection of buzzwords. But if you want to have a discussion in English I'm up for it.  | |
Re: The effort you get is the effort you give. You haven't provided any context or even a question. | |
Re: If you are going to print out `y = a^x + b`, and you are going to prompt for `a`, `b`, etc, then you might as well use `a` and `b` as the variable names. If you are going to go to the trouble of creating an integer input function … | |
Re: And please look into parameterized queries. The way you are doing it leaves you open to SQL injection attacks. You might as well learn to do it the safe way now. Bad habits are hard to unlearn. Malpractice makes malperfect. | |
The End.