14,951 Topics

Member Avatar for
Member Avatar for Reverend Jim

I came across this item while programming something that should have been very simple. VLC Media Player will save the last viewed position in a media file (assuming you have the resume option enabled). It maintains two lists, file names, and offset times. The file names are encoded such that …

Member Avatar for rproffitt
0
45
Member Avatar for Mindmade
Member Avatar for Reverend Jim
-2
48
Member Avatar for ashishhhroe

I am trying to run a python code but it's showing attribute error- my_string = "Hello, world!" my_string.reverse() Output for the above code: Traceback (most recent call last): File "c:\Users\name\OneDrive\Desktop\demo.py", line 2, in <module> my_string.reverse() ^^^^^^^^^^^^^^^^^ AttributeError: 'str' object has no attribute 'reverse' Could you please help me solve this? …

Member Avatar for Reverend Jim
0
26
Member Avatar for biplabjackie

I have excel sheet where all pivotcharts are combined by slicers. i want to copy individual pivot charts from the excel sheet to a word document by image to placeholder Thank you in advance I have tried with win32 & openpyxl but error message came Object attribute charts is not …

Member Avatar for AndreRet
1
46
Member Avatar for Gulshan_6

Hello this is Gulshan Negi Well, I am writing a program for making hangman game in python but it shows some error at the time of its execution. Here is my source code: import random def select_word(): words_in_computer_memory = ['magazine','stars','computer','python','organisation'] word = random.choice(words_in_computer_memory) return word def is_gussed(word, guessed_letter_list): count=0 for …

Member Avatar for AndreRet
1
148
Member Avatar for JessicaW33

Hello everyone, I'm currently exploring blockchain development and would like to learn how to implement a simple blockchain in a programming language of my choice. I understand the basic concepts of a blockchain, but I'm curious about the specific steps and code required to create one. Could anyone please share …

Member Avatar for tarun Nagar
0
161
Member Avatar for Mindmade

Is it good to start your programming career with Python IDE & Editors? If it's is true, Then why it is?

Member Avatar for AndreRet
-2
90
Member Avatar for Reverend Jim

I wrote a timer/alarm app in Python that I wanted to be accessible from all Windows Desktops. What I had to do until recently was run the app, select the desktops icon on my toolbar, then right click the app and select "Show this window on all desktops". I was …

Member Avatar for AndreRet
2
771
Member Avatar for Mindmade
Member Avatar for Reverend Jim
-1
413
Member Avatar for veomall

I am beginner python developer. I'm excited to be part of this brilliant community of talented individuals who share a love for coding and problem-solving. Let's collaborate, learn, and create amazing solutions together. Here's to our success!

Member Avatar for AndreRet
0
71
Member Avatar for dseto200

How do I modify this program player has 5 chances to ask a letter is in the word. Computer responds yes and no. Original Exercise - Computer picks a random word from a list and player guesses the word. Computer tells the player how many letters are in the word. …

Member Avatar for Reverend Jim
0
3K
Member Avatar for masocha

Please assit to translate the following code from python to php [Click Here](https://www.dropbox.com/s/qndlm9qenvge6sf/pyussd.rar) Thank you

Member Avatar for Mike_106
0
6K
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
61
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
102
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
210
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
135
Member Avatar for mile.joncevski
Member Avatar for Akira350lth
0
34
Member Avatar for Mindmade
Member Avatar for rproffitt
-1
64
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
87
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
20
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
64
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
126
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
72
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
170

The End.