Posts
 
Reputation
Joined
Last Seen
Ranked #64
Strength to Increase Rep
+15
Strength to Decrease Rep
-3
96% Quality Score
Upvotes Received
583
Posts with Upvotes
493
Upvoting Members
184
Downvotes Received
15
Posts with Downvotes
15
Downvoting Members
14
133 Commented Posts
~2.46M People Reached
Favorite Tags
Member Avatar for Reverend Jim

Cop shows that include a 5 minute foot chase. This is usually the result of the cops shouting out a suspect's name from half a block away instead of waiting until they are within arm's reach. Inevitably the suspect runs into the path of a car or truck and the …

Member Avatar for Reverend Jim
9
3K
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 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
63
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
77
Member Avatar for vegaseat
Member Avatar for Reverend Jim
15
13K
Member Avatar for daviddoria

I am trying to use wxPython (the version that ships with Fedora 11 - I'm not building it from source). I am seeing: [code] from wxPython.wx import * File "/usr/lib/python2.6/site-packages/wx-2.8-gtk2-unicode/wxPython/__init__.py", line 15, in <module> import _wx File "/usr/lib/python2.6/site-packages/wx-2.8-gtk2-unicode/wxPython/_wx.py", line 3, in <module> from _core import * File "/usr/lib/python2.6/site-packages/wx-2.8-gtk2-unicode/wxPython/_core.py", line 15, …

Member Avatar for Reverend Jim
0
2K
Member Avatar for moroccanplaya

hi im using tkinter and have a scroll bar that works with my text widget but its so small i dont know why ?? [CODE] scroll = tkinter.Scrollbar(content,borderwidth=50) Text = tkinter.Text(content,wrap=CHAR, width=50, height=20) scroll.config(command=Text.yview) Text.config(yscrollcommand=scroll.set) Text.grid(row=2, column=1,columnspan=1, rowspan=3, sticky=(N)) scroll.grid(row=2,column=3) [/CODE]

Member Avatar for TECH COFEE
0
2K
Member Avatar for Encray

it skips line 11-29 it is really annoying can you pls help me to fix my code i am brand new to coding and need help. Thanks calculater_name = 'Tajs Calculator' print("Please enjoy " + calculater_name + "") print("\n") print("Addition = +") print("Subtraction = -") print("Division = /") print("Multiplication = …

Member Avatar for woooee
0
39
Member Avatar for Nadir_1

He, i am strugeling whit a problem , i wannel call the ok restrasion botten. but it don't show on the screen. of form i gows over this pies of code in the program. btn_ok_REG = Button(root_reg, height=1, width=7, text='Login') btn_ok_REG.pack() btn_ok_REG.place(x= 100 , y=50) #!/urs/bin/evn python from tkinter import …

Member Avatar for woooee
1
47
Member Avatar for Scagli3tti

Hi, yesterday I threw together a little jumble solver that takes any anagram as an input and returns any real words that can be found using all of the letters of that anagram. Here is the code, it works fine when it comes to determining the answer, but I have …

Member Avatar for michellepermsm
0
1K
Member Avatar for RoqueyB

so i have an assignment for a class to make a pick up sticks game. This is the actual assignment: "The rules of pick up sticks are as follows: The user chooses the number of matchsticks (5 to 50) to place in a pile. Then, the computer chooses who will …

Member Avatar for Ben_493
0
8K
Member Avatar for usdblades

I just started learning Python Last Night and I am curious of how to put a pause at the end. I did the Famous Hello World Program and when saved and Executed it seems like it runs and closes before I can even read the text. I tried raw_input("Press ENTER …

Member Avatar for Theofanis
0
2K
Member Avatar for markusd5454

Below is a program that asks the user to input a username and password. Once logged off the user is asked to re-enter their username and password. Is the program correct where it checks if the username and password input before is correctly input again?. Any help would be welcome …

Member Avatar for Reverend Jim
0
86K
Member Avatar for pwolf

i was on the site pyschools working through the exercises, but i dont understand why it wont accept the code i input. [url]http://www.pyschools.com/quiz/view_question/s4-q2[/url] Create a function generateNumbers(start, end, step) that takes in three numbers as arguments and returns a list of numbers ranging from start to the end number (inclusive)and …

Member Avatar for Reverend Jim
1
1K
Member Avatar for macroasm

Visual Tkinter is Python 2.6 GUI builder. Visual Python programming language for advanced Visual Python IDE that offers the possibility. As of December 2008 starting and writing fasting Editor. This software is using Scintilla editing component. <URL SNIPPED>

Member Avatar for Titus_1
-4
2K
Member Avatar for miltocke

Hello DaniWeb! I am interested in learning computer programming, but have no previous experience. I've been told that Python is a good place to start, so I decided to give it a whirl. If anyone can help point me toward resources geared for the absolute beginner (learning both programming concepts …

Member Avatar for Raunikkapoor
0
236
Member Avatar for Reverend Jim

I'm hoping that people will post unusual or little known facts here. It would be proper to include a link to a source for confirmation. Here's a start. Speedy Gonzales was banned by the Cartoon Network for being an offensive stereotype, only to be returned after mass protest by the …

Member Avatar for John_smith
10
21K
Member Avatar for glez_b

I interpolated temperature data observed on an urban area formed by 12 locations. Now i would like to remove all interpolated values that are outside the shapefile layer. How can i do it? The shapefile links: https://www.dropbox.com/s/0u76k3yegvr09sx/LimiteAMG.shp?dl=0 https://www.dropbox.com/s/yxsmm3v2ey3ngsp/LimiteAMG.cpg?dl=0 https://www.dropbox.com/s/yx05n31dfkggbb6/LimiteAMG.dbf?dl=0 https://www.dropbox.com/s/a6nk0xczgjeen2d/LimiteAMG.prj?dl=0 https://www.dropbox.com/s/royw7s51n2f0a6x/LimiteAMG.qpj?dl=0 https://www.dropbox.com/s/7k44dcl1k5891qc/LimiteAMG.shx?dl=0 The Data is: Lat Lon T 0 20.8208 …

Member Avatar for rproffitt
0
1K
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
262
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 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
328
Member Avatar for linny_faith

Hi! I am creating a simple python tkinter calculator. However when I was due to submit my code in my teacher said that my code is inefficient and recommended i change the following: 1.) Create buttons using a for loop 2.) have two classes - one of which is for …

Member Avatar for slate
0
613
Member Avatar for linny_faith

Hi! I am creating a simple python tkinter calculator. However when I was due to submit my code in my teacher said that my code is inefficient and recommended i change the following: 1. Create buttons using a for loop 2. have two classes - one of which is for …

Member Avatar for woooee
0
541
Member Avatar for vegaseat

This simple isprime(number) function checks if the given integer number is a prime number and returns True or False. The function makes sure that the number is a positive integer, and that 1 is not considered a prime number. To find out if an integer n is odd one can …

Member Avatar for amir_19
3
24K
Member Avatar for vegaseat

This short Python code gets the local time from the PC as a formatted string using time.strftime('%H:%M:%S'). The time string is displayed in a label using a larger font. A recursive function checks the time five times per second, and updates the time string, if it has changed. Five times …

Member Avatar for Vinay_17
2
26K
Member Avatar for HiHe
Member Avatar for martineau
1
21K
Member Avatar for HimaniBansal
Member Avatar for woooee
0
452
Member Avatar for surtr86

Hi, i have a textfile with a string in it. The string is built like this: test =""" [ "this is a text and its supposed to contain every possible char." ], [ "like *.;#]ยง< and many more." ], [ "plus there are even newlines in it." ]""" I want …

Member Avatar for woooee
0
489
Member Avatar for chopsthescot

So I'm trying to create a UI that allows multiple buttons in the same window. All of the are toggles to control GPIO outputs to control relays. I've managed to get them to all work individually in their own files, but when put into the same file is all on …

Member Avatar for rproffitt
1
1K
Member Avatar for maemae14

hello, I am currently working on an assignment in my IPT class and I am trying to get questions from my questions box randomly. I am able to do the random function but I do not want them to repeat. My 'questions box' is a dictionary and I have also …

Member Avatar for woooee
0
296