-
Marked Solved Status for VNC Help!
Hi, I am a systems engineer/administrator and therefore new to programming and wanted some help pls... I dunno how long it would take to program, if it could be done … -
Marked Solved Status for Can somebody explain to me about the 'strcmp'
my programme has the strcmp. but i dont understand what it is use for. while((strcmp(current->bed_num,beddelete))!=0) bed_num and beddelete i have declared as an integer variables. when i run the programme, … -
Marked Solved Status for Please can anybody give me an example
Please could you give me an example of sorting an array and[B] how to call the [/B] [B]function at the main [/B] thanks a lot :o :rolleyes: :rolleyes: -
Marked Solved Status for Adding decimal numbers together?
Hi ladies and gents, I'm trying the next exercise: Write a function value, wich adds the decimal numbers of 'n' together and return the result of this into main? For … -
Replied To a Post in Random Facts
Yeah to data minig software and jobs! -
Replied To a Post in Random Facts
The US government has lots of money. If they run out, they simply print more (aka QE). So license plate scanning is actually cheap. -
Created Count seconds in the background (Python)
Use Python module threading to count intervals (in seconds) in the background. You can use this to time any relatively slow event like the time it took to finish a … -
Replied To a Post in Random Facts
Police across the country are increasingly monitoring car licenses plates, compiling giant databases of ordinary citizens and their daily comings and goings. License plate scanning systems have multiplied across the … -
Replied To a Post in Hide Private Message in an Image (Python)
Just for kicks, here is the original and encoded image file used ...   -
Replied To a Post in Coding for Privacy
Hiding a text in an image file, see ... https://www.daniweb.com/software-development/python/code/485063/hide-private-message-in-an-image-python -
Created Hide Private Message in an Image (Python)
Let's say you want to send a short private message to your friend, but don't want grandma to snoop around and find it. One way is to use the Python … -
Replied To a Post in Memorable Quotations
"I would have written you a shorter letter, but I did not have the time." ... Blaise Pascal -
Marked Solved Status for keylogger
how to create a keylogger using a python???? -
Replied To a Post in keylogger
See ... https://www.daniweb.com/software-development/python/code/484976/a-simple-key-logger-tkinter-assisted ... if you need more key information. -
Created A simple key logger (Tkinter assisted)
This simple key logger shows any character/special key when pressed. -
Replied To a Post in keylogger
This will do it ... # tk_KeyLogger.py # show a character key when pressed try: # Python2 import Tkinter as tk except ImportError: # Python3 import tkinter as tk def … -
Replied To a Post in IDE
I agree, WinPython is a rather complete package and you can run it on any Windows machine from a USB flashdrive. I think they are working on the Python34 64bit … -
Marked Solved Status for Assigning Sublists
I am taking my very first programming class ad kind of stump on the problem mention in this post.. In coding I only got so far as what shows here.... … -
Replied To a Post in Bad computer habits
Reading those horribly biased Yahoo news clips whenever I can. -
Marked Solved Status for Portable Python (Python on a flash drive)
The portable version of Python (versions 2.7 and 3.2 are available) can be run from your hard drive or a flash drive. In many ways this makes your live easier, … -
Replied To a Post in An example of a threading background decorator (Python)
Responding to the PicklingError that HiHe observed: The multiprocessing package offers both local and remote concurrency, effectively side-stepping the Global Interpreter Lock (GIL) by using subprocesses instead of threads. Due … -
Marked Solved Status for python mortgage amort calculator
Hi all, i am trying to write a mortgage amortization schedule calculator and am stuck. please see the code below. It appears that the principal is being counted twice before … -
Replied To a Post in Random Facts
A programmer is an organism that can turn caffeine into code. -
Replied To a Post in Projects for the Beginner
Use a GUI toolkit like Pyside to create a telephone pad that emits the proper tone for each key pressed. -
Replied To a Post in Projects for the Beginner
Use Python module pygame to speak the numbers 0 to 9 as the keyboard keys are pressed. Get audio-numbers.zip from https://evolution.voxeo.com/library/audio/prompts/numbers/index.jsp -
Replied To a Post in An example of a threading background decorator (Python)
@~s.o.s~ You are right, running it from a DOS batch file works. Using any of several IDEs does not do well. Looks like the IDE output window in this case … -
Replied To a Post in Event for MainWindow load
Try this ... #!/usr/bin/env python # # @author: Joseph Rex # @website: http://josephrex.me # @repository: http://github.com/bl4ckdu5t/registron # # # import sys, webbrowser from PyQt4 import QtGui, QtCore from ui_registron import … -
Replied To a Post in Memorable Quotations
“Moderation is a fatal thing. Nothing succeeds like excess.” ... Oscar Wilde -
Replied To a Post in Projects for the Beginner
Explore the behaviour of a function with multiple decorators. -
Created Explore Pyside's QWebView
The Pyside GUI toolkit (public PyQt) lets you bring up an interactive web page with its QWebView widget. Here is a simple example. -
Marked Solved Status for How can I create a loop that changes a number in a sentence?
Hi, If I have a sentence like this: "I now have a total of % yellow bananas!" but I need it to change the number 2 to a 3, print, … -
Replied To a Post in arguments
You use it when you don't know the exact number of arguments. Simple example ... def average3(*args): """ don't know the exact number of numeric arguments passed prefix * indicates … -
Replied To a Post in How can I create a loop that changes a number in a sentence?
You can also use the newer syntax available with Python 2.7 and Python3+ ... sentence = "I now have a total of {} yellow bananas!" for i in range(2, 11): … -
Replied To a Post in An example of a threading background decorator (Python)
from __future__ import print_function import time import functools import multiprocessing def runFuncInMp(func, *args, **kwargs): p = multiprocessing.Process(target=func, args=args, kwargs=kwargs) p.start() def counter(n): """show the count every second""" for k in … -
Edited A tooltip class for Tkinter
This class gives a specified Tkinter widget a tooltip that appears as the mouse is above the widget. You can improve the code by putting in a time delay. -
Created A tooltip class for Tkinter
This class gives a specified Tkinter widget a tooltip that appears as the mouse is above the widget. You can improve the code by putting in a time delay. -
Replied To a Post in An example of a threading background decorator (Python)
multiprocessing.Process() might only work for Unix type OS? -
Replied To a Post in Sounds In Python TKinter Program: "Focus" Control Between External Program
Another possibility ... ''' tk_SnackSound101.py play a sound with Tkinter using tkSnack needs Python module tkSnack developed at KTH in Stockholm, Sweden free download: snack2210-py.zip (Binary release for Windows) from: … -
Replied To a Post in UnboundLocalError: local variable 'B' referenced before assignment
Initialize your variables A to L this way: `A = B = C = D = E = F = G = H = I = J = K = … -
Replied To a Post in Starting Python
Module pprint (PrettyPrint) has been improved in Python34 ... ''' pprint34.py pprint.pprint(object, stream=None, indent=1, width=80, depth=None, *, compact=False) compact=True will print as many sequence elements as will fit within the … -
Replied To a Post in Is privacy over?
The bare selfies of the not-so-smart starlets where only as private as the username/password protection they used. If they pass around the username/password combo to the boyfriend-of-the-moment by social media, … -
Replied To a Post in TypeError: attribute of type 'NoneType' is not callable object
Example ... n = 77 print(type(n)) # <type 'int'> s = 'simple' print(type(s)) # <type 'str'> q = [1, 2, 3] print(type(q)) # <type 'list'> import time now = time.localtime() … -
Marked Solved Status for Takes 3 Arguments But 1 is Given.
def askopenfilename(self): filename= tkFileDialog.askopenfilename(initialdir='C:/..',title='Select File' , filetypes=[('Bitmap Images', '*.bmp'),('Png Images', '*.png'),('Gif Images', '*.gif'),("Jpeg","*.jpg"),("All files", "*")]) self.image = Image.open(filename) self.photo = ImageTk.PhotoImage(self.image) self.label = Label(self.photo) def encode_files(self,image,data): #get the image file … -
Replied To a Post in Starting Python
Not used very often, but has possibilities ... ''' str_templating101.py exploring Python module string dns ''' import string def change_text(template, sub_dictionary): t = string.Template(template) return t.substitute(sub_dictionary) # variables to be … -
Replied To a Post in Projects for the Beginner
The Moon's mass is 0.0123 times the Earth's mass. Its Density is 0.607 times the Earth's density. The Moon's radius is 1737.5 km (1079.6 miles). What is the Earth's radius? … -
Replied To a Post in There is an elephant on the loo!
The Moon's mass is 0.0123 times the Earth's mass. Its Density is 0.607 times the Earth's density. Recent findings show that the Moon is not made of cream cheese. -
Replied To a Post in Memorable Quotations
"None are more hopelessly enslaved than those who falsely believe they are free." ... Johann Wolfgang von Goethe -
Replied To a Post in Things I hate about TV shows
Looks like those "Housewives of XYZ" shows are about as real as it is amongst typical American housewives! -
Replied To a Post in TypeError: attribute of type 'NoneType' is not callable object
You can use the function type() type(object) will give you the type of the specified object. -
Replied To a Post in Pyserial Error
The Python interpreter searches for module "serial" first in the working directory, then in its builtin modules in directory Lib, then in its packages. When it finds a file serial.py …
The End.