• Member Avatar for DragonMastur
    DragonMastur

    Edited Python Conversion Error

    I am trying to convert a file to a dictionary here is the contents of the file, Name: DragonMastur; Hand: None; Inventory: {"Gold": 0, "Brush": 0, "Twig": 0, "Sapling": 0, …
  • Member Avatar for DragonMastur
    DragonMastur

    Created Python Conversion Error

    I am trying to convert a file to a dictionary here is the contents of the file, Name: DragonMastur; Hand: None; Inventory: {"Gold": 0, "Brush": 0, "Twig": 0, "Sapling": 0, …
  • Member Avatar for DragonMastur
    DragonMastur

    Began Watching Python Conversion Error

    I am trying to convert a file to a dictionary here is the contents of the file, Name: DragonMastur; Hand: None; Inventory: {"Gold": 0, "Brush": 0, "Twig": 0, "Sapling": 0, …
  • Member Avatar for DragonMastur
    DragonMastur

    Began Watching Working With PDF files

    At my current job me and the rest of the staff that work in my area are uisng a lot of files that when opened look like PDF files but …
  • Member Avatar for DragonMastur
    DragonMastur

    Began Watching How to Generate Licence Key

    Hi is here any one who can tell me that how can i generate the licence key or any other things for securing my client server program please help me
  • Member Avatar for DragonMastur
    DragonMastur

    Replied To a Post in How to Generate Licence Key

    use the random module and a for loop like this. import random ll = "a;b;c;d;e;f;g;h;i;j;k;l;m;n;o;p;q;r;s;t;u;v;w;x;y;z" ul = "A;B;C;D;E;F;G;H;I;J;K;L;M;N;O;P;Q;R;S;T;U;V;W;X;Y;Z" key = [] finalKey = [] finalKeyStr = "" lettersList = ll.split(";") …
  • Member Avatar for DragonMastur
    DragonMastur

    Began Watching pyinstaller 2.1 generated executable not running correctly

    Hi I am currently using pyinstaller 2.1 with python 2.7. I am making modifications to "TI's MSP430 Tools (Python scripts and library)" which allows the update of the MSP430 firmware …
  • Member Avatar for DragonMastur
    DragonMastur

    Replied To a Post in pyinstaller 2.1 generated executable not running correctly

    It looks as if only 1/4 of your moudles are missing so looking in your python folder for your moduldes is a way to start. Locations of folders: Mac: /Users/Shared/bin/python …
  • Member Avatar for DragonMastur
    DragonMastur

    Replied To a Post in Python Ordering a Dictionary After the Fact

    Change the dict(zip(v_Keys, v_Values)) to OrderedDict(zip(v_Keys, v_Values)), on line 4. Thanks megaflo!
  • Member Avatar for DragonMastur
    DragonMastur

    Began Watching Python Ordering a Dictionary After the Fact

    Note: In Python 2.7 use: `from __future__ import print_function` to use examples. In Python, by default, the key and value pairs in a dictionary are stored as hashes, therefore dictionaries …
  • Member Avatar for DragonMastur
    DragonMastur

    Replied To a Post in Python Ordering a Dictionary After the Fact

    My dad gave me a programing idea but I needed ordered dictionaries. I could solve it till now. Thanks!
  • Member Avatar for DragonMastur
    DragonMastur

    Began Watching Updated Tiny Tkinter Calculator (Python)

    This is the updated version of the Tiny Tkinter Calculator. It has more power, since you can type in functions contained in the Python math module then press the equals …
  • Member Avatar for DragonMastur
    DragonMastur

    Replied To a Post in Updated Tiny Tkinter Calculator (Python)

    Nice. I like the way you used a loop to make the widgets and place them I never thought of that.
  • Member Avatar for DragonMastur
    DragonMastur

    Created Tkinter Grid Method Expand?

    I would like the widgets on the window to expand as you expand the window. I know you can do it with the pack method but I'm using the grid …
  • Member Avatar for DragonMastur
    DragonMastur

    Began Watching Tkinter Grid Method Expand?

    I would like the widgets on the window to expand as you expand the window. I know you can do it with the pack method but I'm using the grid …
  • Member Avatar for DragonMastur
    DragonMastur

    Created Calculator with tkinter

    I needed a calculator and I didn't want to use google since my internet is slow. So I made one! Here it is. Working with it is simple. Use the …
  • Member Avatar for DragonMastur
    DragonMastur

    Began Watching Calculator with tkinter

    I needed a calculator and I didn't want to use google since my internet is slow. So I made one! Here it is. Working with it is simple. Use the …
  • Member Avatar for DragonMastur
    DragonMastur

    Replied To a Post in PyEditor1.6

    Also check out my other program(s): www.prestonprograming.weebly.com And: https://www.daniweb.com/software-development/python/code/497789/calculator Thanks.
  • Member Avatar for DragonMastur
    DragonMastur

    Created Calculator

    It could be simplifide more, I know. I was doing it as an exersise so its rough and skecthy. But it's workable, I tested it more then 50 times.
  • Member Avatar for DragonMastur
    DragonMastur

    Began Watching Calculator

    It could be simplifide more, I know. I was doing it as an exersise so its rough and skecthy. But it's workable, I tested it more then 50 times.
  • Member Avatar for DragonMastur
    DragonMastur

    Replied To a Post in PyEditor1.6

    I got it wrong I have v1.6.3, not v1.6.2. But either way here it is. Almost double in length. #/User/bin/Python import os, sys if sys.hexversion >= 0x030000F0: runningPython3 = True …
  • Member Avatar for DragonMastur
    DragonMastur

    Replied To a Post in PyEditor1.6

    I have another version coming, 1.6.2, it has more improvements. I comment things out mostly because I try to make them work in the future. It is also cross platform.
  • Member Avatar for DragonMastur
    DragonMastur

    Created PyEditor1.6

    I made a little py editor because I didn't want to go to all the troble of installing an idle, but I didn't like notepad either. Here it is!
  • Member Avatar for DragonMastur
    DragonMastur

    Began Watching PyEditor1.6

    I made a little py editor because I didn't want to go to all the troble of installing an idle, but I didn't like notepad either. Here it is!
  • Member Avatar for DragonMastur
    DragonMastur

    Replied To a Post in Converting C loops to Python

    Thanks! Never knew about that. See you learn some thing new ever day!
  • Member Avatar for DragonMastur
    DragonMastur

    Began Watching Banking project in PyQt4

    Hello! I was wondering if anybody could help me with something. I'm writing off-line banking application. I already have a code in Python and now I need to write window …
  • Member Avatar for DragonMastur
    DragonMastur

    Replied To a Post in Banking project in PyQt4

    I suggest using Tkinter. It is very simple and it is pre installed in python. Here is an example of a window with a single button. from Tkinter import * …
  • Member Avatar for DragonMastur
    DragonMastur

    Began Watching Creating A GUI for a python Program

    Hi Guys, I've been asked to create a GUI to output all the information gather by the program I currently have, however I'm new to using Tkinter and was wondering …
  • Member Avatar for DragonMastur
    DragonMastur

    Replied To a Post in Creating A GUI for a python Program

    use pygame or tkinter. I recomend Tkinter. It is what I use.
  • Member Avatar for DragonMastur
    DragonMastur

    Edited Converting C loops to Python

    karmstrong ask in the Python chat if any one was farmilar with converting a for loop in C to Python. Here is a program in python that will do it …
  • Member Avatar for DragonMastur
    DragonMastur

    Created Converting C loops to Python

    karmstrong ask in the Python chat if any one was farmilar with converting a for loop in C to Python. Here is a program in python that will do it …
  • Member Avatar for DragonMastur
    DragonMastur

    Began Watching Converting C loops to Python

    karmstrong ask in the Python chat if any one was farmilar with converting a for loop in C to Python. Here is a program in python that will do it …
  • Member Avatar for DragonMastur
    DragonMastur

    Began Watching Help, please... to install Python... Again.

    Hello, again, people. You helped me to install Python on my Desktop, and now I cannot get it running on my Laptop… same as the Desktop… Win 7, 32-bit, SP1. …
  • Member Avatar for DragonMastur
    DragonMastur

    Replied To a Post in Help, please... to install Python... Again.

    what are the error msgs? I tried installing it and needed to set up a PATH for it to word.
  • Member Avatar for DragonMastur
    DragonMastur

    Began Watching Dictionary problem

    Write a function named repeatCount(). The function repeatCount() takes two string parameters: --> the name of an input file and the name of an output file. The function repeatCount() should …
  • Member Avatar for DragonMastur
    DragonMastur

    Replied To a Post in Dictionary problem

    vegaseat has it right. I used the same kind of menthod in a program for counting the number of words in a file. I just didn't use the ".lower()" part.
  • Member Avatar for DragonMastur
    DragonMastur

    Began Watching Python Checkers Multiple Jumps not Working Properly

    I am implementing the last feature of my Python Checkers Game, which is to require the user to make multiple jumps. For captures, I do the following: 1 Check if …
  • Member Avatar for DragonMastur
    DragonMastur

    Replied To a Post in Python Checkers Multiple Jumps not Working Properly

    Use a for loop like this: for x in range(0, 8): if validatemove(move) == True: capture() There are 8 posible times of capture in a single move. This doesn't use …
  • Member Avatar for DragonMastur
    DragonMastur

    Replied To a Post in Raspberry Pi LED control (Python)

    I think I figuered it out. When I copy and paste on my raspberry pi it doesn't like the tabs. I have to retype the entire program. vegaseat you said …
  • Member Avatar for DragonMastur
    DragonMastur

    Replied To a Post in Username and Password Athentcation

    If you want to take a look at the code go here: https://www.daniweb.com/software-development/python/threads/492272/how-to-code-database-authentication Thank you.
  • Member Avatar for DragonMastur
    DragonMastur

    Began Watching Python Text Adventure

    Well this is my basic code for my RPG, can I have help improving it? import cmd import json from rpg_data import * class RPG(cmd.Cmd): def do_n(self, line): try: Me.location …
  • Member Avatar for DragonMastur
    DragonMastur

    Replied To a Post in Python Text Adventure

    You have some errors on the imports, json and RPG_Data. We need the json and RPG_Data files in order to run the program.
  • Member Avatar for DragonMastur
    DragonMastur

    Began Watching This program will guess your answer

    ` #Author : Bikash Guragai #versione : 1.0 #email : bikashguragai@gmail.com or bikashguragai@programmer.net import random print ("Hello and welcome") Name = input("What is your name: ") print ("Nice to meet …
  • Member Avatar for DragonMastur
    DragonMastur

    Replied To a Post in This program will guess your answer

    That is very simple math. Try to see if you can come up with something more complex(You should tell the user that they can use a caculator.) Also in line …
  • Member Avatar for DragonMastur
    DragonMastur

    Replied To a Post in How to code Database Authentication

    Yes I have my username and password in there but that is for my raspberry pi. Not any of my other acounts.
  • Member Avatar for DragonMastur
    DragonMastur

    Began Watching How to code Database Authentication

    Is there a specific way to code a database authentification for users of a program?
  • Member Avatar for DragonMastur
    DragonMastur

    Replied To a Post in How to code Database Authentication

    What your asking sound a lot like what Im making right now. here is what I have so far... Note: If you run the program you will have to make …
  • Member Avatar for DragonMastur
    DragonMastur

    Replied To a Post in Raspberry Pi LED control (Python)

    I tried copy and pasting the program at the top and it gave me a bunch of syntax errors. Whats up with that. (Im on my raspberry 3.1415926358589793628(pi). Ans yes …
  • Member Avatar for DragonMastur
    DragonMastur

    Began Watching Raspberry Pi LED control (Python)

    Well I done it! Got bored after the holidays and bought a Raspberry Pi credit card sized computer ($35), the least expensive LED TV and a Logitech wireless Keyboard/Mouse combo. …
  • Member Avatar for DragonMastur
    DragonMastur

    Replied To a Post in Raspberry Pi LED control (Python)

    I have a raspberry pi(Using it right now) and an arduino.Ill see if I can use them together. Iam useing the arduino for a science expiriment and know both python …

The End.