4,911 Posted Topics

Member Avatar for dukoolsharma

So you could go to the effort of typing "what are the different relational operators in python" into Daniweb but you couldn't be bothered to google "what are the different relational operators in python" and get the results instantly? Unbelievable.

Member Avatar for Vikrant Singhal
-1
565
Member Avatar for mnyirenda

It's a simple program. Show us what you have tried so far. ASAP: Short for "I left my homework until the last minute and now I want someone to do it for me."

Member Avatar for mnyirenda
0
355
Member Avatar for DaniWeb4Jim

I'm a little confused. In a PM you asked about doing a differential image. I assumed you were talking about a disk image. For that you would need disk imaging software such as Macrium Reflect or Acronis. I can only help you with Macrium Reflect as I have been using …

Member Avatar for Steven1142
2
4K
Member Avatar for mady028

I had the same problem with my Dell. There was a (default) hotkey combo set when I installed Windows 7. I disabled it by going to Control Panel -> Region and Language -> Keyboards and Languages click on Change Keyboards... select the Advanced Key Settings tab You can set or …

Member Avatar for sewatiz
0
13K
Member Avatar for chuckc

I've been developing software since the mid 70s (retired since 2008) and I recently switched from vb.Net to Python/wxPython. I know you wanted to develop to exe but there is a tool that will generate an exe from Python. While creating a GUI with wxPython is more challenging than with …

Member Avatar for Reverend Jim
0
384
Member Avatar for The_13
Member Avatar for JamesCherrill

I had to download the Fall Creator's Update (which I call FU) about 8 times. I think it was about 4 gig a pop. Fortunately, at home, I have a 160 gig cap. I have to disable all updates at the cottage. It is difficult to do this and not …

Member Avatar for Ron Peters
0
4K
Member Avatar for MoneshP5
Member Avatar for MosaicFuneral
0
487
Member Avatar for Johan Cyril

I see a lot of unnecessary code. For example, every one of your If cmbModel.SelectedItem . . End If blocks clears the value of `txtDate.Text` before setting it to a new value. You don't have to clear it before assigning a new value. Furthermore, no matter what the user selects …

Member Avatar for Reverend Jim
0
444
Member Avatar for banvari
Member Avatar for Schematicsman

You could start by looking at this [Microsoft walkthrough](https://docs.microsoft.com/en-us/dotnet/framework/winforms/controls/walkthrough-authoring-a-composite-control-with-visual-basic).

Member Avatar for Reverend Jim
0
279
Member Avatar for AndrewGerard

I don't believe so although I have little experience with Android Studio. You could set up a batch file on the USB drive that would set an environment variable before starting Android Studio. You should be able to specify that environment variable in the A.S. configuration.

Member Avatar for Reverend Jim
0
343
Member Avatar for Reverend Jim

I have been wrestling with this for two days now and getting nowhere. Something is broken, either the GridSizer control or me. I'm hoping it's me and someone can show me the problem. I've stripped my app of non-essentials. What I am building is a Sudoku app which consists of …

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

Please see my answer [here](https://www.daniweb.com/software-development/vbnet/threads/495104/vb-net-search-family-) to another user with the same question.

Member Avatar for jiiinaguipo
0
2K
Member Avatar for Muktesh_1

Welcome to Daniweb. I am also learning Python but for my own enjoyment (and not for anything web related). I'm hoping to pick it up quickly enough so that I can answer questions here from people who are still behind me on the learning curve. We used to have a …

Member Avatar for Dani
0
203
Member Avatar for John_165

I strongly recommend starting with the user interface. In my experience, it doesn't matter, from the user's perspective, what's under the hood if the part the user sees is confusing or just butt ugly. Yes, the hidden stuff is critical, but the customer will likely refuse anything that 1. Doesn't …

Member Avatar for Dani
1
1K
Member Avatar for Violet_82

It's not my favourite interface but you can't please everyone. Personally, for short posts I just create the post in TextPad then copy/paste into Daniweb. For anything longer I create the post in MarkdownPad, then copy/paste. It allows me to get the formatting right before posting and it also keeps …

Member Avatar for Dani
0
2K
Member Avatar for Tcll

All you are doing is setting a hidden propertyt to a list of one string. The fact that the string has the value '__base__' is of no consequence. Set it to some other value and you will get the same result for `foo.__base__`.

Member Avatar for Tcll
0
936
Member Avatar for Nikki_4
Member Avatar for Brad_7

You can remove items from a list by index or by content. Assuming a list named `deck` and a card named `card` that has been randomly selected from the deck (let's assume at position `p`) you can remove the card from the deck by del deck[p] or deck.remove(card)

Member Avatar for JamesCherrill
0
409
Member Avatar for Papa_Don

Here's a completely off the wall idea. Have you considered learning an old programming language? While everyone is concentrating on learning the latest and greatest and trying to keep ahead of the curve, there is still a demand for COBOL programmers. There is a shit-ton of COBOL code still in …

Member Avatar for Reverend Jim
0
4K
Member Avatar for Reverend Jim

I think we can all agree (this will likely provoke disagreement) that a voting machine that records a vote electronically without a way to do a manual verification is a bad idea. How then should a proper voting machine work. My suggestion is to have a touch screen on which …

Member Avatar for Reverend Jim
2
5K
Member Avatar for Joseph_44

The short answer is to learn C++. You'll likely get a longer answer if you put more effort into doing it yourself first. In the mean time, 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
263
Member Avatar for jadonmurphy

You have four lists. One is the master list and the others are specialty lists. There is no guarantee that a person will be added to anything but the master list, and may be added to only one of the specialty lists. However, when you do a create_assignment, you remove …

Member Avatar for Reverend Jim
0
264
Member Avatar for thinguyenhalu

Howie Mandel in his early stand-up comedy days. 1. OK. Now we're going to do some improv. 1. Give me an occupation. 1. Give me a place. 1. Give me a location. 1. Now give me some funy things to say. If you want help with something specific then post …

Member Avatar for rproffitt
-1
350
Member Avatar for Antika2165

This is your third post asking us to do all the work for you. 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) before posting again.

Member Avatar for Reverend Jim
-1
415
Member Avatar for UNIQUE_PRINCE

That's pretty low level stuff that you should be able to handle just by rereading your class notes. If you don't know how to flowchart a simple if-then structure then you've probably been sleeping in class. What, specifically, is giving you problems?

Member Avatar for UNIQUE_PRINCE
0
384
Member Avatar for cheikh06

I've never had much luck working with XML and I'm sure there is a better way to do this via Linq but you could try a regular expression approace as in Private Function GetField(name As String) As String Dim pattern = name & "=""(.*?)""" Dim rex = New Regex(pattern) Dim …

Member Avatar for Reverend Jim
0
1K
Member Avatar for Gloak
Member Avatar for Gloak
0
1K
Member Avatar for caustin
Member Avatar for Reverend Jim
0
274
Member Avatar for Nihan_1

I know nothing about the package you are using, but since the problem is with a conversion you could try taking return int(projectionMatrix.reshape(projectionMatrix.shape[0] / self.numberOfDotsPerFrame, self.numberOfDotsPerFrame, 2)) and break it down into components like a = projectionMatrix.shape[0] b = self.numberOfDotsPerFrame c = projectionMatrix.reshape((a/b, b, 2) print("a=",a,"type=",type(a)) print("b=",b,"type=",type(b)) print("c=",c,"type=",type(c)) return int(projectionMatrix.reshape(a …

Member Avatar for Reverend Jim
0
281
Member Avatar for misstj555

I installed pyCharm and found it difficult to get used to. I found the debugging capabilities of Visual Studio 2019 much more intuitive.

Member Avatar for misstj555
0
372
Member Avatar for Siberian

You don'y need to enable the admin account. You can create a shkrtcut to an elevated task via the task scheduler. See [here](https://winaero.com/blog/create-elevated-shortcut-to-skip-uac-prompt-in-windows-10/) for details.

Member Avatar for Siberian
0
437
Member Avatar for santosh_20

Have you considered it might be because your key has a space? Look at the following: >>> data_2012 = {} >>> data_2012['DeathRate '] = "some data" >>> data_2012['DeathRate '] 'some data' >>> data_2012['DeathRate'] Traceback (most recent call last): File "<pyshell#4>", line 1, in <module> data_2012['DeathRate'] KeyError: 'DeathRate' >>> You might …

Member Avatar for Reverend Jim
0
235
Member Avatar for Reverend Jim

As I continue my conversion from vbScript to Python I am finding the gotchas. For example... A lot of my utility scripts take a file name or a file pattern as a parameter. My script, bitrate.vbs, for example allows me to invoke it as bitrate file bitrate pattern Technically file …

2
1K
Member Avatar for Dani

>infinite scrolling on articles I tend to stay on a site longer with this feature. I like to finish things and "end of page" is sort of like a finish point. With infinite scrolling there is no logical stopping point so I just keep reading. Same thing with books. I …

Member Avatar for Dani
2
2K
Member Avatar for Reverend Jim

I'm having a problem with my python installation. The packages that came with the installation work just fine but when I try to use other installed packages I run into problems. For example, I installed a package `pymsgbox` using pip from an admin shell. When I run a sample script …

Member Avatar for Reverend Jim
0
2K
Member Avatar for alvislim1120

It's a combination of syntax and addressing. Try const int NUMSTUDENTS = 10; int main() { int marks[2][NUMSTUDENTS]; printf("Enter the marks of the %d students :\n",NUMSTUDENTS); for (int i = 0; i < NUMSTUDENTS; i++) { printf("\nEnter the marks of student :%d", i+1); printf("\nAssignment Mark :"); scanf("%d", &marks[0][i]); printf("Exam Mark …

Member Avatar for alvislim1120
0
3K
Member Avatar for alan.davies

There is a lot of the same old mindless drivel about SEO, backlinks and such, and a lot of homework posting. There was one interesting discussion a while back in the former geeks-lounge re Quebec's proposed religious symbols legislation. Aside from java questions (which I am not qualified to answer) …

Member Avatar for alan.davies
1
1K
Member Avatar for DaniWebUser_1

You use it like it says. nlist_it filename.ext Run it with the name of a text file as a parameter and it will list that file to the console. I compiled and ran it and it works as it is supposed to. By the way, no book will teach you …

Member Avatar for DaniWebUser_1
0
1K
Member Avatar for SimonIoa

As I recall from my old SQL days, the syntax is not WHEN fld='value' THEN var='other value' it's SELECT fld1, fld2, CASE WHEN fld2='val1' THEN 'new val1' WHEN fld2='val2' THEN 'new val2' This maps database values for fld2 onto user specified values. Sorry I can't actually try this out. I …

Member Avatar for Viki_1
0
5K
Member Avatar for Vani_1
Member Avatar for ToastMalone

What kind of help are you looking for? If you need it ASAP then I suggest you provide the following ASAP 1. Proof that you have put some effort into doing it yourself 1. Indication as to where you are having a problem So far the only effort I have …

Member Avatar for Reverend Jim
0
465
Member Avatar for De_2

Generally, a control will have a `Visible` property. Just set it to `False`.

Member Avatar for Reverend Jim
0
313
Member Avatar for Xozz

You ***can*** use [Virtual CloneDrive](https://www.elby.ch/en/products/vcd.html) by Elaborate Bytes. It is freeware. I used it for years on Windows 7. It allows you to mount an iso (actually several formats of images) as a drive.

Member Avatar for rproffitt
0
572
Member Avatar for happygeek

Or you could install ImageMagick and if the uploaded image is too large it could automatically resize it. That's what I use to auto-resize/shrink images when I email them. It's a simple one-line command.

Member Avatar for happygeek
4
4K
Member Avatar for kylewalkerup

If the diagnostics don't show anything you might try `sfc /scannow` from an admin cmd session. Scans the integrity of all protected system files and replaces incorrect versions with correct Microsoft versions. SFC [/SCANNOW] [/VERIFYONLY] [/SCANFILE=<file>] [/VERIFYFILE=<file>] [/OFFWINDIR=<offline windows directory> /OFFBOOTDIR=<offline boot directory> [/OFFLOGFILE=<log file path>]] /SCANNOW Scans integrity of …

Member Avatar for Steven1142
2
3K
Member Avatar for Todd_Gordon

What I suggest you do **not** do is make a lot of posts on Daniweb that contain links to your web site.

Member Avatar for Dani
-1
427
Member Avatar for rproffitt

>"I've never backed up, why is that my problem?" And yet the same person, if you asked him why he locks his house when he leaves for work would just look at you like you were a moron.

Member Avatar for Reverend Jim
0
2K
Member Avatar for Abhays01

The End.