4,901 Posted Topics

Member Avatar for nextsmm
Member Avatar for razstec

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.

Member Avatar for Reverend Jim
0
40
Member Avatar for razstec

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".

Member Avatar for razstec
0
135
Member Avatar for zubairarshad

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 …

Member Avatar for Reverend Jim
0
125
Member Avatar for gdtraveller

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.

Member Avatar for Reverend Jim
0
98
Member Avatar for Reverend Jim

**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 …

Member Avatar for kimwel
4
1K
Member Avatar for mouigher

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.

Member Avatar for Minasa
0
3K
Member Avatar for colby.christensen

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.

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

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 …

Member Avatar for Dani
0
62
Member Avatar for Frank_43

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.

Member Avatar for rproffitt
0
54
Member Avatar for kasmar45

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.

Member Avatar for Reverend Jim
0
169
Member Avatar for kasmar45

>There are a handful of old timers around here. I'm one. Welcome to Daniweb.

Member Avatar for Reverend Jim
1
50
Member Avatar for Caitlyn_1

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.

Member Avatar for HelgaRaymond
2
271
Member Avatar for Gerard_1631
Member Avatar for Reverend Jim
0
148
Member Avatar for Reverend Jim

# 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 …

Member Avatar for Reverend Jim
1
1K
Member Avatar for jsrankin

>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.

Member Avatar for Reverend Jim
0
48
Member Avatar for Liam_12

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 …

Member Avatar for Reverend Jim
1
959
Member Avatar for Reverend Jim

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 …

Member Avatar for Reverend Jim
0
832
Member Avatar for Reverend Jim

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 …

Member Avatar for rproffitt
5
6K
Member Avatar for elaishanbuya
Member Avatar for Reverend Jim
0
23
Member Avatar for k_19

Where are you stuck and what language are you working in? Is the app command line based, or does it require a GUI?

Member Avatar for Reverend Jim
0
35
Member Avatar for fatima_16
Member Avatar for kitale2020

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 …

Member Avatar for Reverend Jim
0
78
Member Avatar for Mishii
Member Avatar for Achilius
Member Avatar for Ameer_7
Member Avatar for Desamaladeepak

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.

Member Avatar for Reverend Jim
0
66
Member Avatar for Suraj_43
Member Avatar for Reverend Jim
0
35
Member Avatar for Rober
Member Avatar for Nisha_13

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.

Member Avatar for Reverend Jim
-1
53
Member Avatar for MANYO
Member Avatar for Dani

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 …

Member Avatar for purevoice
6
2K
Member Avatar for Sahaj Singhal

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.

Member Avatar for Reverend Jim
0
27
Member Avatar for Omar_24

It's like giving some directions on how to get to a destination. The directions depend entirely on knowing the starting point.

Member Avatar for Reverend Jim
0
62
Member Avatar for tiatripjescu49

Meaningless collection of buzzwords. But if you want to have a discussion in English I'm up for it. ![Doonesbury_buzzwords.jpg](https://static.daniweb.com/attachments/3/269be642c5411683eb8aff154afdd359.jpg)

Member Avatar for Reverend Jim
0
20
Member Avatar for Tevita

The effort you get is the effort you give. You haven't provided any context or even a question.

Member Avatar for Reverend Jim
-2
15
Member Avatar for Jan_102

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 …

Member Avatar for Reverend Jim
0
50
Member Avatar for John Elbert

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.

Member Avatar for Reverend Jim
0
58
Member Avatar for Deekshitha
Member Avatar for komalgul
Member Avatar for zattat

Keep in mind that indentation in Python is critical to understanding the program flow. The way this code was posted (without indentation) renders it useless.

Member Avatar for Reverend Jim
0
139
Member Avatar for noobb

I'll put in a plug here for [Unchecky](https://unchecky.com/). I put this on my Father-in-law's computer and it automatically unchecks any boxes for crapware that comes along with other installs. It's saved him from multiple Avast installs (among other things).

Member Avatar for zubairarshad
3
2K
Member Avatar for 77goldiesingh5
Member Avatar for Jean_19

That's not pseudo code. For the record, neither is this Do my homework for me

Member Avatar for rproffitt
0
118
Member Avatar for TimTheCoder

I'm not sure I follow. Can you please specify the exact output you want for the given input? Incidentally, an easier way to initialize that list is myarray = 'G o T , I t B , M N R , K F P , M F I H , …

Member Avatar for Husoski
0
60
Member Avatar for The_real_Aadi

`input` always returns a string so the test is not necessary. In your case the result of `type(age) != int` will always be `True` so the first part if the `if` will always be executed. You can test `age` by converting to `int` and trapping the `ValueError` exception with a …

Member Avatar for Reverend Jim
0
34
Member Avatar for collin_ola
Member Avatar for foumzeur
Member Avatar for Fossi
Member Avatar for Sri Meenakshi

The End.