4,901 Posted Topics
Re: Mostly interacting in a way that doesn't put others, or ourselves, at risk. And perhaps answering a question or two and helping out. Or were you asking in a more philosophical sense? | |
Re: The first obvious steps: 1. reboot 1. try a different cable 1. try a different USB port 1. try a different computer | |
Re: Any chance it could have been Power Builder or Paradox? | |
Re: Is there perhaps a visible property you could set to false?You could use a timer to set it to true after 10 seconds. | |
Re: Well, there is this...  | |
Re: I am curious as to why you posted this. It certainly wasn't in response to a question. | |
Re: Or the ever popular meth lab  | |
Re: Helloooo. I see you tagged this with "python". I'm looking forward to some interesting questions. | |
Re: I haven't been following this but it seems to me (uninformed opinion coming) that the powers that be like to rant about free speech. These rants seem to take two forms. 1. They are for it when they can spout their own lies and propoganda. 1. They are against it … | |
Re: Depressed? Or sad? If the former, and it's been going on a while (and is not due to the recent troubles) then please talk to someone. Most people who say "I am depressed" really have no idea what it means to be clinically depressed. I've been there and it can … | |
Re: Would you prefer "I used to be from there?" We still have plenty of room up here in Canada. ? | |
Re: Can you be more specific? | |
Re: The problem with learning a new language is that you tend to thing in your previous language. In this case you used 8 lines when you should be thinking in Python and using list(range(start,stop+1,step)) | |
Re: The way it works is you show us what you have done so far and where you are stuck. Then, if you have given us enough details we will try to help. The more effort you put into asking your question the more likely you are to get a useful … | |
Re: Welcome to Daniweb. I'm from Canada but I have a son in the UK. | |
Re: I have had little success with connecting devices with Bluetooth. Connections, when they work, are unreliable. In many cases devices are just not recognized or fail to connect. I suggest using either an HDMI connection or Chromecast depending on how you intend to use the device. | |
Re: I can't say whether or not this is illegal (I suspect it is) but I **do** think it is highly unethical. | |
I just bought a Figo Nitro 4X cell phone (Android 8.1) phone for my son. When I connect my cell phone (Figo Android 6) to my Windows 10 laptop it displays in file manager with an icon that I can open to see all the folders on my phone. From … | |
Re: It may be urgent for you but I don't consider doing someone else's homework for them urgent at all. | |
Sometimes you want to ensure that only one copy of a script can be run at time. Windows provides a facility called a mutex and you can use it to prevent multiple instances. To create the mutex, all I have to do is varname = GetMutex() If the mutex already … | |
Re: We drove home from camp today. Seven hours (and no bathroom break). In the next day or so when I start posting you'll see what I've been doing to keep boredom at bay. | |
Re: A more concise (and still clear) version of that would be def fac(n): return 1 if n <= 1 else n * fac(n-1) | |
Re: Before I start thinking about this (whoops, it's already too late) do you have any initial ideas on how to map the hierarchical structure of XML onto a relational structure (SQLite)? Are there any restrictions on the level of nesting of the XML source? | |
###Subclassing python objects Sometimes you want to add just a little more functionality to an existing python object. You can do that by subclassing it and adding on the missing parts. This example is based on a really mindless game of solitaire I used to play as a kid. In … | |
Re: We've had one or more dogs since 1981. Most of the dogs were Irish Setters and mostly they just needed lots of exercise. Fortunately we are at the very edge of the city. There are literally (in the actual definition of the word) no houses once you go out our … | |
Re: srand ([ int $seed ] ) : void Seeds the random number generator with seed or with a random value if no seed is given. | |
##This project implements a multiple timer application. It was written in 1. Python 3.8.2 2. wxPython 4.1.0 Feel free to experiment. Here are some possible enhancements: 1. Add the ability to run a program when the timer expires. With a little scripting you could, for example, schedule the sending of … | |
Re: I don't think a regex will do what you want. I don't see how you can define a pattern, based on your example, that could distinguish things you want to `<p></p>`ify and things you do not. How would you determine that you want to modify `basket`, `PVC thing`, and `Trash`, … | |
Re: Make the move to 3.0. The biggest problem is going to be modifying all your print statements but a simple Python script with a regex would handle that. The longer you stay with a defunct 2.x the harder it will be to change down the road. Do it now. | |
Python-wxPython Tutorial This tutorial will take you through the basics of wxPython. ##Introduction: Let's face it. I am a dinosaur. I got my computer science degree in the mid 70s. And it won't be long before **I** am in **my** mid 70s. So why am I trying to learn Python? … | |
Re: I'm always coding from home. But for fun, not profit (retired). My younger son (in Winnipeg) is still going to the office but they are considering splitting the work week into two three-day shifts to minimize contact. One shift would be Mon-Wed-Fri and the other Tue-Thu-Sat. They have also been … | |
![]() | Re: You might try [Everything Indexer](https://www.voidtools.com/support/everything/) by VoidTools. It's free and awesome. |
Re: I posted a suggestion but after I got the exact definition of a php variable and fired up my regexptester it didn't pan out. I'll play with it and hopefully have something for you in a bit. | |
Re: No one here is going to do your work for you. If you want it in Python you'll have to put in the work yourself. | |
Re: A good first step would be to tell us what the code is supposed to do. A good second step would be to tell us how familiar you are with Python. And a good third step would be to tell us how much you are willing to pay to have … | |
Re: Can't you select a USB device as your first boot option in your BIOS/EUFI settings? Do you need to boot from external so frequently that just pressing the `boot options` key when you boot is not an option? | |
Re: In your example for record 3 you want (1550+1540+1542) // 3, but what would you do if record 4 was also NULL? Assuming no consecutive NULLS you can do import os import sys import sqlite3 def Average(records, row, column): sum = records[row+1][column] for r in range(0,row): sum += records[r][column] return … | |
Re: I just created a folder on my bookmarks bar for `Daniweb` with a link (filters disabled) to each forum.  | |
Re: Buying Instagram followers is pretty much the same unethical tactic as buying up copies of your own book to get on the best seller's list. It's dodgy at best and contemptible at worst. At least The Times identifies (although not obviously) best sellers that resulted from bulk sales. Too bad … | |
Re: Not a problem for me. My problem is that everyone seems to assume we all have unlimited usage so the sites I go to regularly (weather, covid-19 updates, etc) like to load me up with "content" whether I want to see it or not. Just checking the weather chews up … | |
Re: Not familiar with java but your thread title says python so at the command line just type `python` and the version will be displayed before the prompt. I'm curious as to why you included bash, linux, and mint as tags but not python or java. | |
I have a Chromecast that I use to stream video from my laptop to our TV. It works great, however, until VLC (Videolan) releases their promised upgrade with Chromecase support, I am limited to streaming files in the mp4 format. Fortunately, ffmpeg allows me to convert other formats to mp4. … | |
Re: What have you tried so far? What you have to keep in mind is that if the number of months you are subtracting is greater than the number of months in the given date you will have to subtract from the given year. For example, if your tuple is (2020, … | |
Re: datetime.date.today() - datetime.timedelta(days=100) gives you the date - 100 days. >>> import datetime >>> datetime.date.today() datetime.date(2020, 4, 24) >>> datetime.date.today() - datetime.timedelta(days=100) datetime.date(2020, 1, 15) You can see the month is `1`. | |
Re: I know what AI is, and I know what a calculator is. But I'm at a loss as to what an AI calculator is unless it's a voice actuated calculator that recognizes (since this is an English language forum) spoken English. Can you please elaborate? | |
Re: Welcome to Daniweb. Quick movie reference - is it pronounced ee-gore, or eye-gore? Bonus points if you get the movie. |
The End.