15,181 Topics

Member Avatar for
Member Avatar for Pradeep_23

Hi All I work for Oracle India Pvt Ltd on CRM domanin as a JAVA/J2ee developer, I am getting on with a Project on Python which I am new to, Need help if I come across any Unsolvable issue.

Member Avatar for Reverend Jim
0
120
Member Avatar for Connor_1

***** I created the format: def main(): pennies=int(input("Enter pennies:")) nickels = int(input("Enter nickels:")) dimes = int(input("Enter dimes:")) quarters = int(input("Enter quarters:")) print("You entered:") print("\tPennies:" , pennies) print("\tNickels:" , nickels) print("\tDimes:" , dimes) print("\tQuarters:" , quarters) total_value = get_total(pennies, nickels, dimes, quarters) v_Dollars, v_Cents = divmod(total_value, 1) print("Total = ${:,.2f}".format(total_value)) print("You …

Member Avatar for woooee
0
264
Member Avatar for TickleMeElmo

Hey guys, I'm in desparate need of assistance with my A-Level project. I'm writing a Banking system in Python and I'm being told by the idle log that a function hasn't been defined - even though that function is right above it! My Full Code is: #'http://effbot.org/tkinterbook/tkinter-index.htm' <<< Tkinter Tutorials …

Member Avatar for woooee
0
1K
Member Avatar for Marie_3

Hey there! I have problem with a programm of mine in pyhton. I want to find the index of the character "o" in my list. How can I find that out. Thx for your help in advanced!! s1 = [["aidl"],["utov"]]

Member Avatar for rproffitt
0
132
Member Avatar for dseto200

Listed below is the original word jumble python program. According to the exercise i'm supposed to add hints see next thread on my modified program however it doesn't work correctly. [code=python] # Word Jumble # # The computer picks a random word then "jumbles" it # The player has to …

Member Avatar for Akash_22
1
7K
Member Avatar for Jiby_1

After running a python code for usb device following error is occured Traceback (most recent call last): File "test1.py", line 6, in dev = usb.core.find(idVendor=0x1d6b, idProduct=0x0001) File "/usr/lib/python2.7/site-packages/usb/core.py", line 1263, in find raise NoBackendError('No backend available') usb.core.NoBackendError: No backend available

Member Avatar for rproffitt
0
4K
Member Avatar for pelin

i am almost done with the hangman game but i just need to migrate it to graphics i know i need to use entrybox but i still dont know. [CODE]rom graphics import* from random import * MAX_BAD_GUESSES = 7 def readfile(): infile = open("wordlist.txt","r") contents = infile.read() lines = contents.split("\n") …

Member Avatar for Devarshi_1
0
628
Member Avatar for Barnacle

from tkinter import * import time root = Tk() root.title("Testing System") root.geometry("900x600") def main(): def tick(): time_str1= time.strftime("%H:%M:%S") clock.config(text = "Current Time:\n" + time_str1) clock.after(200, tick) def date(): date_str1 = time.strftime("%A, %d %B %Y") date2.config(text = date_str1) date2.after(200, tick) frame = Frame(root) clock = Label(frame, font = ("times", 14, "bold"), …

Member Avatar for woooee
0
354
Member Avatar for Imran_28

I want to add a function for user to change file. I am not really sure on how. I have already created a function in the end but its not getting me anywhere. This is my code: import string import re filename = "phil.txt" def countLines(): Read number of lines …

Member Avatar for Reverend Jim
0
337
Member Avatar for Peter_TARAS

Hello, I am learning Tkinter. As a part of the learning process I am building a Notepad clone in order to become familiar with Tkinter widgets. I am pretty close to completing it - I added about 90% functionality to the application - but I face two problems: 1) The …

Member Avatar for bevis.hobbs
0
22K
Member Avatar for anton.yakushin

I am wondering if anyone could recommend the best CMS for an Airbnb-style marketplace that allows people to sublet their apartments, and other people to search, filter, and pay for the apartments listed. These are the main requirements: - Ability to sign up both buyers and sellers. - Accounts for …

Member Avatar for johnlee90
0
2K
Member Avatar for Kincso

Task 2: Write a program that simulates an unbiased coin flip. Your program should print true if the coin flip results in a head and false if the coin flip results in a tail. Hint: any value greater than 0.5, represents Head otherwise it represents Tail

Member Avatar for Reverend Jim
0
235
Member Avatar for cakeboy

Hi, I'm attemting to learn programming with Python and am currently trying to design an adventure game that sets up rooms and a player can move between them. I'm having problems working out a lop function that can move the player around the rooms. The current method has an error …

Member Avatar for Reverend Jim
0
785
Member Avatar for Michael_102

Machine learning is the science of getting computers to act without being explicitly programmed. machine learning has given us self-driving cars, practical speech recognition, effective web search, and a vastly improved understanding of the human genome. It is so pervasive today that you probably use it dozens of times a …

0
241
Member Avatar for yahoovokoyo

**Dear** I have the hyperspectral image --- how to preprocess data need time Traditional CNN cannot be applied to project directly --- it needs a lot of time to test (may be take 3 months) Need to do many experiments to get good result --- especially when compared to other …

0
189
Member Avatar for Grant_7

# I need a project# Hi, I am brand new to programming and was wondering if anybody had any suggestions of where/ how I could learn more python, and or a good project that would help my learn new elements of code as i learn them.

Member Avatar for shivanidf
0
487
Member Avatar for Rzdio

Hi, I am fairly new to the community, and have recently began to code using python, however, I am stuck on something: I have written quite a length of code, and am using the 'if' command, and I am attempting to restart the code if they type 'yes'. It would …

Member Avatar for rproffitt
0
1K
Member Avatar for Himanshu_13

x=int(input("Enter a number to check whether it is a palindrome number or not here : ")) m=x k=0 for j in range (m): digit=m%10 k=k*10+digit m=m//10 if k==x: print("%d is a palindrome nukber"%(x)) else: print("%d is not a palindrome number"%(x)) print()

Member Avatar for DGPickett
0
284
Member Avatar for daviddoria

Is there a library that has a function that will take (theta,phi) and return (x,y,z)? Thanks, Dave

Member Avatar for Ratan_2
0
6K
Member Avatar for jeffmylife

# Introduction # This tutorial provides guidance on gathering data through web-scraping. However, to demonstrate the real-life issues with acquiring data, a deep-dive into a specific, complicated example is needed. The problem chosen, acquiring the geographic coordinates of gas stations in a region, turns into an interesting math problem that, …

Member Avatar for OfeliaPoore
2
3K
Member Avatar for noob__player

love_you_21@21-VirtualBox:~$ python3 Python 3.6.8 (default, Jan 14 2019, 11:02:34) [GCC 8.0.1 20180414 (experimental) [trunk revision 259383]] on linux Type "help", "copyright", "credits" or "license" for more information. >>> import tkinter Traceback (most recent call last): File "<stdin>", line 1, in <module> ModuleNotFoundError: No module named 'tkinter' >>> >>> >>> >>>import …

0
148
Member Avatar for Reverend Jim

Because Microsoft will be removing vbScript in the next version of Windows, I have been busy converting my utility vbScripts into Python. Part of this is a library of functions that I keep in `D:\include`. I'd like to maintain this system in Python, but the import process is rather clumsy. …

Member Avatar for bangalore.webguru
0
6K
Member Avatar for Milla S.

Hi there PyQt is not available as tag, but this should be a simple question anyway: - drag & drop: from QListWidget to QListwidget - pushButton action: inserts chosen items from second QListWidget into QTableWidget But: when i run my code - most of the time the chosen items are …

Member Avatar for Milla S.
0
333
Member Avatar for Tcll

So I've successfully written a metaclass that gives python the functionality of private attributes in classes. Q: But what about `inst.__private`? A: >>> class A(object): __slots__ = ['__private'] def __new__(cls): inst = object.__new__(cls) inst.__private = 10 return inst def showprivate(inst): return inst.__private >>> inst = A() >>> inst.showprivate() 10 >>> …

Member Avatar for Tcll
0
2K
Member Avatar for Vikrant Singhal

Hi - I know that we can use Python to create a chrome extension. But anyone can guide me on how to use Python for captruing different sized screenshot of a web page? Any suggestions/ideas are welcome.

Member Avatar for rproffitt
0
254
Member Avatar for dukoolsharma
Member Avatar for mnh001

Hi, I'm having trouble with a tk scale widget. So far no one at the python forum has an answer so I found this site. As long as the resolution is set to 1, the start value can be anything I want but as soon as I set the resolution …

Member Avatar for mnh001
0
1K
Member Avatar for k_12

Hi im new to programming and i need a bot that autofills a website because i constantly advertise a website on different websites and i basically copy and paste repeatedly for like 5 to 8 hours a day but my friend said i might be able to make a bot …

Member Avatar for rproffitt
0
143
Member Avatar for tarifa

hello dear community, first of all - i hope that my beginner-question will fit into this sub-forum. I hope so. Servo Control with Micropython - with the ESP 8266 ...- compared to Arduino I work with young kids and I'm always looking for economical platforms to build intriguing projects. While …

Member Avatar for rproffitt
0
499
Member Avatar for tarifa

dear community working with Micropython - which ecosystem to choose - ESP 8266 or ESP 32? I work with Kids. I'm always looking for economical platforms to build intriguing projects. there are systematical decisions: in earlier times i use Arduino and Raspberry Pi for the projects because the eco-sytems of …

Member Avatar for rproffitt
0
239

The End.