15,185 Topics

Member Avatar for
Member Avatar for inkabi
Member Avatar for pritaeas
0
193
Member Avatar for Benitta

how can we read qr codes in 1st page from a pdf file and verify the same qr code is present in all the other pages of the file

Member Avatar for rproffitt
0
62
Member Avatar for morrisavendano

CTO, Associate Professor, SwEngineer, Psychologist, Consultant, Public Speaker, Researcher, and Volunteer.

Member Avatar for Akira350lth
0
43
Member Avatar for Nick74

I need help with this project I'm a week over due and am having problems with the following problem. Can some one please show me how to code this? ____________________________________________________________________________________ Write a program that prints a nicely formatted table of wind chill values. Rows should represent wind speed from 0 …

Member Avatar for Akira350lth
1
40
Member Avatar for jtoddmessage
Member Avatar for Mindmade
Member Avatar for 21Lester

hello, i have a huge problem and dont know how to fix it. here is the code: #(in class) def shoot(self, current_time, bullet_group, enemy_group): if current_time - self.last_shot > self.shoot_count: bullet = Bullet(self.rect.centerx, self.rect.bottom, "death_star_laser1.png", 10) bullet_group.add(bullet) if current_time - self.last_shot > self.cooldown: self.last_shot = current_time return random.choice(enemy_group.sprites()) #(just normal …

Member Avatar for donichalubaix
0
105
Member Avatar for darwin.scribe

In both situation __del__ doesn't work. I understand that 'del obj' don't delete all references, but why/how/which references created? Example 1: class Exp: def __init__(self): self.b = 1 self.a = lambda :self.b def __del__(self): print('a') obj = Exp() obj = None del obj Example 2: class Exp: def __init__(self): self.b …

Member Avatar for Reverend Jim
0
216
Member Avatar for Kh Hamsafar

## **Who am I?** ## Hi! Nice to meet you. I am Khairullah Hamsafar from Pakistan. Currently, I am studying Bachelor of Science in Software Engineering. ## **About My Professionalism** ## By profession, I am a Software Engineer. While by passion, I am a Data Science and Data Engineering expert. …

Member Avatar for Dani
0
25
Member Avatar for shebinkk

Hi everyone, I'm new to Python. My manager wants me to run a Python code and generate output for 40 set of values. The code works fine for sample data. But when I replace it with actual data, it doesn't give me any output. Below is the code. Sample data …

Member Avatar for Fifth Horseman
1
147
Member Avatar for mile.joncevski
Member Avatar for Akira350lth
0
35
Member Avatar for Mindmade
Member Avatar for rproffitt
-1
65
Member Avatar for andrewsmith2921

Hello all, i am new here and i hope this is the right place to ask the python query, basically i am in the first year of engineering and i want to learn the python programming language. we all know that python is now a days very popular programming language, …

Member Avatar for Colleen Cox
0
88
Member Avatar for zain.webinxs

Hi, I'm Zain Petrik, and I'm the proud owner of [Wndywaldman](http://www.https://wendywaldman.com/) a platform that connects Information of daily life ideas and business enthusiasts from all around the world. My mission is to provide a space where people can come together to learn, share ideas, and foster a sense of community. …

Member Avatar for Dani
0
21
Member Avatar for Corey_5

The button in question is supposed to calculate the cost of a car rental, from inputs for how many months, how many weeks and how many days. This is the entire code at the moment: import tkinter as tk from datetime import * # Create a tkinter window window = …

Member Avatar for woooee
0
67
Member Avatar for Corey_5

how exactly would I get an age validator and a rental cost calculator to work (python tkinter)? the code I used for the age validator is as follows: def validate_age(): dob = dob_entry.get() age = calculate_age(dob) if age < 24: tk.Label(text="You must be aged 24 or over to complete this …

Member Avatar for rproffitt
0
128
Member Avatar for Reverend Jim

My older son and I are both working through online videos teaching machine learning with python. All of the materials we have seen use Jupyter Notebooks. For those of you unfamiliar with Jupyter Notebooks, they are freaking awesome. At least they are when they work. We were using two laptops …

Member Avatar for Reverend Jim
0
78
Member Avatar for mmarkgilbert142

Hi all! If I want to get fast results on the project, what would be more efficient: getting only senior engineers, or considering those who are less senior but result-focused? Why?

Member Avatar for compshooter
0
172
Member Avatar for QMLab

I'm glad to join this community. My interest is deep learning for audio research.

Member Avatar for Dani
0
18
Member Avatar for johnmichae1

Finding seasoned programmers who are willing to work remotely might be challenging. It is possible to find them on websites such as Toptal, which is an amazing alternative. Only the top three percent of applicants who complete successfully pass the rigorous screening procedure required by Toptal software engineers. The people …

Member Avatar for Dani
-1
110
Member Avatar for Brian_37

Hello, I have run into an issue where my output for shipping charge needs to be Real Use local named constants not global Also the package weight needs to be times the rate PER pound, is what I have correct? rate1= 1.1 rate2= 2.2 rate3= 3.7 rate4= 3.8 def main(): …

Member Avatar for SendGroupSMS
0
2K
Member Avatar for Raviteja_1

Hello All I am want to run a command "Merge -i file1.txt -i file2.txt -o out.txt" using python script. Here Merge is a exe file located in different path and file1, file2 are input to the exe file and out is output file. Can anyone suggest me out to run …

Member Avatar for woooee
0
102
Member Avatar for ammusk354

I'm trying to create a neural network of two hidden layers on Java. The data would be separated into two sets, training set and testing set. Both sets has 75 set of 4 data each row, and each class has their desired output (target). In terms of calculation, it will …

1
68
Member Avatar for Reverend Jim

## Introduction I have a pile of home movie videos created over more than seventy years. As with my many photos (all in digital form) they require some effort to find particular ones of interest. Typically, I name my videos (and photos) with tags. A file might look like 2013-10-29 …

Member Avatar for Reverend Jim
3
7K
Member Avatar for rproffitt

From https://www.reddit.com/r/ProgrammerHumor/comments/wupbvb/python_runtime/ ![image_2022-08-22_115014356.png](https://static.daniweb.com/attachments/1/23876285d9d923cc038ee98e099d4a8f.png) As time passed it looked to me that Python evolved past a C framework.

Member Avatar for Dani
3
411
Member Avatar for zahoual
Member Avatar for Yulen

.tar vulnerability https://github.com/dalmat501/https-github.com-dotnet-runtime/pull/1/commits/2c9ef4796667b3a2443c11ea24a96d40199b3606 https://github.com/advisories/GHSA-gw9q-c7gh-j9vm

Member Avatar for rproffitt
-1
76
Member Avatar for Fian_1

AttributeError Traceback (most recent call last) <ipython-input-9-4152b890358f> in <module> 20 t = [] 21 ---> 22 for tweet in tweepy.Cursor(api.search,q=search_key,count=1000,lang="id",since="2022-11-10",until="2022-11-20").items(): 23 print(tweet.created_at,tweet.id,tweet.user.name,tweet.text) 24 c.append(tweet.created_at)

Member Avatar for Reverend Jim
0
192
Member Avatar for Fian_1

AttributeError Traceback (most recent call last) <ipython-input-1-2b6855960796> in <module> 15 csvFile = open(search_key+".csv","a+",newline="",encoding="utf-8") ---> 16 csvWriter = csv.Writer(csvFile) 17 c = [] 18 i = [] AttributeError: module 'csv' has no attribute 'Writer' Help🙏🙏

Member Avatar for Reverend Jim
1
221
Member Avatar for Al_628

I have the following dataframe: d_test = { 'name' : ['South Beach', 'Dog', 'Bird', 'Ant', 'Big Dog', 'Beach', 'Dear', 'Cat', 'Fish', 'Dry Fish'], 'cluster_number' : [1, 2, 3, 3, 2, 1, 4, 2, 2, 2] } df_test = pd.DataFrame(d_test) I want to identify similar names in `name` column if those …

0
57

The End.