• Member Avatar for vegaseat
    vegaseat

    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 …
  • Member Avatar for vegaseat
    vegaseat

    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, …
  • Member Avatar for vegaseat
    vegaseat

    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:
  • Member Avatar for vegaseat
    vegaseat

    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 …
  • Member Avatar for vegaseat
    vegaseat

    Replied To a Post in Random Facts

    Yeah to data minig software and jobs!
  • Member Avatar for vegaseat
    vegaseat

    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.
  • Member Avatar for vegaseat
    vegaseat

    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 …
  • Member Avatar for vegaseat
    vegaseat

    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 …
  • Member Avatar for vegaseat
    vegaseat

    Replied To a Post in Hide Private Message in an Image (Python)

    Just for kicks, here is the original and encoded image file used ... ![1edb0bfc24e1afbcfa7d358659e147ec](/attachments/large/0/1edb0bfc24e1afbcfa7d358659e147ec.png "1edb0bfc24e1afbcfa7d358659e147ec") ![f690d29feeafb497cc3020c47bfead8d](/attachments/large/0/f690d29feeafb497cc3020c47bfead8d.png "f690d29feeafb497cc3020c47bfead8d")
  • Member Avatar for vegaseat
    vegaseat

    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
  • Member Avatar for vegaseat
    vegaseat

    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 …
  • Member Avatar for vegaseat
    vegaseat

    Replied To a Post in Memorable Quotations

    "I would have written you a shorter letter, but I did not have the time." ... Blaise Pascal
  • Member Avatar for vegaseat
    vegaseat

    Marked Solved Status for keylogger

    how to create a keylogger using a python????
  • Member Avatar for vegaseat
    vegaseat

    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.
  • Member Avatar for vegaseat
    vegaseat

    Created A simple key logger (Tkinter assisted)

    This simple key logger shows any character/special key when pressed.
  • Member Avatar for vegaseat
    vegaseat

    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 …
  • Member Avatar for vegaseat
    vegaseat

    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 …
  • Member Avatar for vegaseat
    vegaseat

    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.... …
  • Member Avatar for vegaseat
    vegaseat

    Replied To a Post in Bad computer habits

    Reading those horribly biased Yahoo news clips whenever I can.
  • Member Avatar for vegaseat
    vegaseat

    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, …
  • Member Avatar for vegaseat
    vegaseat

    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 …
  • Member Avatar for vegaseat
    vegaseat

    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 …
  • Member Avatar for vegaseat
    vegaseat

    Replied To a Post in Random Facts

    A programmer is an organism that can turn caffeine into code.
  • Member Avatar for vegaseat
    vegaseat

    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.
  • Member Avatar for vegaseat
    vegaseat

    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
  • Member Avatar for vegaseat
    vegaseat

    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 …
  • Member Avatar for vegaseat
    vegaseat

    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 …
  • Member Avatar for vegaseat
    vegaseat

    Replied To a Post in Memorable Quotations

    “Moderation is a fatal thing. Nothing succeeds like excess.” ... Oscar Wilde
  • Member Avatar for vegaseat
    vegaseat

    Replied To a Post in Projects for the Beginner

    Explore the behaviour of a function with multiple decorators.
  • Member Avatar for vegaseat
    vegaseat

    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.
  • Member Avatar for vegaseat
    vegaseat

    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, …
  • Member Avatar for vegaseat
    vegaseat

    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 …
  • Member Avatar for vegaseat
    vegaseat

    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): …
  • Member Avatar for vegaseat
    vegaseat

    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 …
  • Member Avatar for vegaseat
    vegaseat

    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.
  • Member Avatar for vegaseat
    vegaseat

    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.
  • Member Avatar for vegaseat
    vegaseat

    Replied To a Post in An example of a threading background decorator (Python)

    multiprocessing.Process() might only work for Unix type OS?
  • Member Avatar for vegaseat
    vegaseat

    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: …
  • Member Avatar for vegaseat
    vegaseat

    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 = …
  • Member Avatar for vegaseat
    vegaseat

    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 …
  • Member Avatar for vegaseat
    vegaseat

    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, …
  • Member Avatar for vegaseat
    vegaseat

    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() …
  • Member Avatar for vegaseat
    vegaseat

    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 …
  • Member Avatar for vegaseat
    vegaseat

    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 …
  • Member Avatar for vegaseat
    vegaseat

    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? …
  • Member Avatar for vegaseat
    vegaseat

    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.
  • Member Avatar for vegaseat
    vegaseat

    Replied To a Post in Memorable Quotations

    "None are more hopelessly enslaved than those who falsely believe they are free." ... Johann Wolfgang von Goethe
  • Member Avatar for vegaseat
    vegaseat

    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!
  • Member Avatar for vegaseat
    vegaseat

    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.
  • Member Avatar for vegaseat
    vegaseat

    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.