15,185 Topics
| |
I'm a first year data science student and I need help with my computer science project. | |
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 | |
CTO, Associate Professor, SwEngineer, Psychologist, Consultant, Public Speaker, Researcher, and Volunteer. | |
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 … | |
What are the odds in mobile app development? | |
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 … | |
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 … | |
## **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. … | |
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 … | |
Hi everyone. I'm Mile and am a Python enthusiast and IT professional | |
What are the different types of Frameworks in mobile app development? | |
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, … | |
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. … | |
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 = … | |
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 … | |
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 … | |
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? | |
I'm glad to join this community. My interest is deep learning for audio research. | |
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 … | |
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(): … | |
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 … | |
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 … | |
## 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 … | |
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. | |
.tar vulnerability https://github.com/dalmat501/https-github.com-dotnet-runtime/pull/1/commits/2c9ef4796667b3a2443c11ea24a96d40199b3606 https://github.com/advisories/GHSA-gw9q-c7gh-j9vm | |
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) | |
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🙏🙏 | |
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 … |
The End.