4,911 Posted Topics

Member Avatar for Silly_2

I tried to run this locally but I do not have the package `graphics` and `pip` couldn't find it either. So I found something that said `graphics.py` had to be in the same folder as your app. I found a copy of it on my computer and copied it over. …

Member Avatar for Reverend Jim
0
71
Member Avatar for Reverend Jim

While going through new posts this morning I noticed a change in behaviour. Yesterday, if I clicked on the sprocket to the right of a thread title I got a pop-up menu (mark as read, etc.). Today the menu pops up briefly before I get taken to the thread. There …

Member Avatar for Dani
1
127
Member Avatar for williamnoah2022

Just a thought - have you ever considered googling "how to license a vehicle in Canada"? Near the top is a link to [this guide](https://blog.clutch.ca/posts/motor-vehicle-registration). If, instead, you are referring to getting a driver's licence, then you should have been clearer with your question.

Member Avatar for odeskavita
0
39
Member Avatar for aibreansiyue

I find it useful to debug queries in an interactive DB session before writing the code. For MySql you can use [MySQL Workbench](https://www.mysql.com/products/workbench/). For sqlite you can use [sqlite Spy](https://www.yunqa.de/delphi/apps/sqlitespy/index). Run your query against a test version of your database. If it works then print the query your code is …

Member Avatar for gce517
0
134
Member Avatar for xw1yana

It would help to see the code but that error usually happens when you try to use a variable that has not been assigned a value. For example, you will get the error if you do x = y + 5 but not if you do y = 9 x …

Member Avatar for Reverend Jim
0
25
Member Avatar for Williams Brown
Member Avatar for Reverend Jim

It used to be that google maps satellite images had pretty good resolution, at least over cities. I haven't checked in some time, but today I noticed that the resolution is barely equivalent to Donkey Kong when it first came out. When did it get so bad?

Member Avatar for Reverend Jim
0
116
Member Avatar for Brandlogies

### Annotate your sources Provide links so the reader can check your sources for themselves to ensure you are properly representing the cited material. Are you providing the proper context for a quote? Are you selectively editing material to make it say something that it is not? ### Provide qualifications …

Member Avatar for JamesCherrill
0
105
Member Avatar for Lester_4

Sometimes the LED will blink to tell you the computer is sleeping. If there is a serious hardware problem that keeps your computer from starting up the blink code could indicate what the problem is. You'll have to check your particular user guide to see.

Member Avatar for Reverend Jim
0
13
Member Avatar for Aarya_1

Check out [Rosetta Code](https://rosettacode.org/wiki/Sorting_algorithms/Bubble_sort#Java)

Member Avatar for Reverend Jim
0
21
Member Avatar for coolt

I suppose that depends on several factors, the most significant being if the GOP will block any legislation that the Democrats try to implement to reduce inflation (and then complain about the do-nothing Democrats). Of course, the only reason I have to think that is **everything the Republicans have said …

Member Avatar for rproffitt
-1
26
Member Avatar for Mallika_1
Member Avatar for Maria_36
0
59
Member Avatar for sallybeauty

![image_2022_09_03T21_34_21_819Z.png](https://static.daniweb.com/attachments/3/12afda8f38ed5ed1583a40f89d6c18b3.png)

Member Avatar for odeskavita
1
159
Member Avatar for Kate_12
Member Avatar for Schol-R-LEA
0
274
Member Avatar for logandavid

To see if all entries in a list are unique you could do def unique(lst): d = [] for l in lst: if not l in d: d.append(l) return len(d) == len(l) This will check if all items are unique. If you want to see if all items are the …

Member Avatar for Reverend Jim
0
108
Member Avatar for Reverend Jim

Adding a file/folder comment capability to Windows This is something I wrote a few years ago in vb.Net and just recently ported to python/wxpython. As I keep discovering, just about everything is easier in python. Windows does not have a commenting facility so I decided to write something simple. NTFS …

Member Avatar for Dani
0
198
Member Avatar for Reverend Jim

After reading a few reviews I decided to try [Vivaldi](https://vivaldi.com/download/) out. After importing my bookmarks and customizing my bookmark bar (just a little drag and drop) I was ready to go. Without trying any formal timing tests, my purely subjective impression is that things load faster. I don't have the …

Member Avatar for bburd
2
183
Member Avatar for daviddoria

Install the current 3.x version of python. That version of wxPython won't run under 2.x python.

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

Copying and pasting your homework and expecting someone to do it for you is not going to earn you the education you need. 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 Dani
0
171
Member Avatar for Susan_22
Member Avatar for Deyns

By now everyone should know that posting in ALL CAPS is the internet equivalent of shouting. Keep in mind that what may seem a crisis to you is not a crisis to us. We expect to see proof that you have put in some effort to solve the problem yourself. …

Member Avatar for adajames
0
150
Member Avatar for Quoc_4

That would depend on the data structures you are using to store your data and what other variables you are maintaining. For example, it is a common practice to have a `prev` variable to keep track of where you were on a previous step (or a stack for deeper history). …

Member Avatar for toneewa
0
83
Member Avatar for extr3mex

10 years for me. Same comments as James but different languages. Never benn a java fan.

Member Avatar for Dani
0
792
Member Avatar for emmamark
Member Avatar for toneewa
0
221
Member Avatar for Ashwin01

Please show us what you have done so far. 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 Dani
0
97
Member Avatar for Ashwin01

Please show us what you have done so far. 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
60
Member Avatar for jnbgames.dev

>Program that creates a text editor struct Strictly speaking this isn't a program.

Member Avatar for Dani
1
89
Member Avatar for Kate_12

That's what a debugger is for. Run it in the debugger, set a breakpoint at your last output statement, then single step, checking your pointer references, until you find the one that is invalid. Then you have to work backwards and find out why it is invalid. It could be …

Member Avatar for Dani
0
66
Member Avatar for niksirat

At one time I would have written this in vb.Net but now I'd use python/wxpython. It requires much less disk space for the development environment and is portable between Windows/Mac/Linux systems.

Member Avatar for Reverend Jim
0
121
Member Avatar for Dani
Member Avatar for Dani
0
116
Member Avatar for Mr_154

If you don't already know how to do this it's probably because: 1. You skipped class 2. You attended class but slept through it 3. You couldn't be bothered to read your notes or the textbook 4. You don't know how to use Google If any of the above are …

Member Avatar for Dani
0
70
Member Avatar for MD SAIFUL_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).

Member Avatar for Dani
0
243
Member Avatar for Dani
Member Avatar for beyermusic2

Or if you are preparing the post in a text editor, select the entire block of code and indent it four spaces.

Member Avatar for Dani
0
95
Member Avatar for Dani
Member Avatar for Dani
1
63
Member Avatar for Lieutenant_1

Try select name, sum(payment) as subtotal, date from mytable group by name, date As far as I know you can't also get the grand total in the same query. SQL queries return sets with each row having the same columns. A grand total is a single value whereas the above …

Member Avatar for Lieutenant_1
0
207
Member Avatar for Reverend Jim

This is yet another thing that everyone just accepts, but nobody can tell me why this decision was made. Everyone is familiar with the Windows screen coordinate system where x and y values increase to the right, for x, and down, for y. What is not noticible until you start …

Member Avatar for Reverend Jim
1
416
Member Avatar for Dani
Member Avatar for 奇_925
Member Avatar for rproffitt
0
180
Member Avatar for Dani
Member Avatar for UWInsure
1
126
Member Avatar for Zunnie

If you should continue until you become a professional (employed) programmer you will find out the ugly truth about users. What they ask for is seldom what they want, or need. Sometimes it will be your (probably) unpleasant task to explain that to them.

Member Avatar for Reverend Jim
0
272
Member Avatar for Reverend Jim

## Introduction I recently bought a new laptop. Since I haven't used VB.Net in years (nothing but Python now) I did not install Visual Studio. That meant rewriting all my VB apps in Python/wxPython. One of my most often used apps was a shell extension I wrote to add a …

Member Avatar for Reverend Jim
2
431
Member Avatar for yuki.fu

Welcome to Daniweb. I see you used the Python tag. That's encouraging.

Member Avatar for Reverend Jim
0
13
Member Avatar for mtyide
Member Avatar for Reverend Jim

What I've been doing is to click and drag to select code. Is there a hotkey that will select only the code? CTRL-A selects all text on the page.

Member Avatar for Reverend Jim
0
54
Member Avatar for sweety8789
Member Avatar for spg_gd

You will likely not get anyone here to write your code for you. What we **will** do is look at the code you have already written, and if you can narrow down where you are having problems, make suggestions as to how to fix them. But first we have to …

Member Avatar for Reverend Jim
-1
36
Member Avatar for andrew58
Member Avatar for Reverend Jim

When I create a new topic and enter the mandatory tags, the tag dialog box sometimes overlays the "Continue to the Last Step" button leaving only the merest sliver of a button to click. Could the tag dialog be aligned left to avoid this?

Member Avatar for rproffitt
2
34
Member Avatar for qhayiyamc

What have you done so far and where are you stuck? In the mean time, 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
108

The End.