User Profile

Collapse

Profile Sidebar

Collapse
d3ph03n1x
d3ph03n1x
Last Activity: May 26 '10, 10:56 AM
Joined: Feb 5 '10
Location:
  •  
  • Time
  • Show
  • Source
Clear All
new posts

  • d3ph03n1x
    replied to Real World: A Contact List..
    Ok I totally forgot about sqlite, I had heard about this sometime back, but never really paid any attention. I shall try it out.

    Though when you say xml How Safe and Secure is it ? Compared to Mysql or postgre sql ? or even a text file ? I'm sorry but I have no info regarding xml as a storage file/product. Though I do know openoffice.org can save documents as xml. Can i have a Password on the xml file, like a database. the same for...
    See more | Go to post

    Leave a comment:


  • d3ph03n1x
    started a topic Real World: A Contact List..

    Real World: A Contact List..

    What I'm trying to do is create a Simple contact list, with a menu, which i would add contacts too, edit contacts, view them, and search them when there is a long list, maybe on the basis of contact numbers or names. And first start with saving them in a file. Then once i have that functioning correctly. Either use the text file as a temp dump to update the database. Or if that's not possible or not the correct way to go about the solution, then...
    See more | Go to post

  • d3ph03n1x
    replied to how does a real world program work ?
    Ok Glenton as per your suggestion I'll be starting new Topics for individual issues in the future. Btw I'm learning python as my personal learning curve. And no this is not Home Work. :)

    Though What I'm trying to do is create a Simple contact list, with a menu, which i would add contacts too, edit contacts, view them, and search them when there is a long list, maybe on the basis of contact numbers or names. And first start with saving...
    See more | Go to post

    Leave a comment:


  • d3ph03n1x
    replied to how does a real world program work ?
    Thanks Glenton! Helpful docs. I will stick to the simple importing for the moment. I do have an issue which i'm not sure how to tackle.

    Code:
    # define class to add contact
    class add_cont:
        def addcontact(self):
            fname=raw_input("First Name: ")
            lname=raw_input("Last Name: ")
            address=raw_input("Address: ")
            phone=raw_input("Phone No:
    ...
    See more | Go to post

    Leave a comment:


  • d3ph03n1x
    replied to how does a real world program work ?
    @Glenton & @bvdet Thank you so much for the help.

    @bvdet I have found the Bittorrent Source (BitTorrent-5.3-GPL), is it the correct source? or should I be looking for older code ? If so a link would b great. Though if correct, its still going to be very helpful though would be a bit lengthy.

    When I import the modules is it necessary that the file stays with the same folder where the main file is? its not a compulsion,...
    See more | Go to post

    Leave a comment:


  • d3ph03n1x
    replied to how does a real world program work ?
    Yes Glenton, thanx the answer to Q3 is great, as i shall not be doubtfull anymore. Coming to Q5 that would'nt be the answer I would have been looking for, but then there is always something new to learn! And yes input_choice its a string.

    Actually in Q5 what i meant is I have a folder named myprog and within that folder I have 4 files.mainmenu. py, menu_option1.py , menu_option2.py , exit.py. So basically what should be happing is...
    See more | Go to post

    Leave a comment:


  • d3ph03n1x
    replied to how does a real world program work ?
    No help ? Surprising! I was under the misconception that I would get a quick and helpful reply.
    See more | Go to post

    Leave a comment:


  • d3ph03n1x
    replied to how does a real world program work ?
    wow!! I'm shocked 29 Views! Not a single reply.. Neway Thought i should Clarify the 2nd question..

    2) Are there any real world examples or open source projects based on the above, which I could be directed towards?

    I know/found many on sourceforge but have'nt really found a small simple program/project. which could clear my doubts. And most projects depend on many other projects which makes it even more confusing to keep...
    See more | Go to post

    Leave a comment:


  • d3ph03n1x
    replied to how does a real world program work ?
    Ok! I don't Know if the people who can help have viewed the question or not.

    but I'v found my answer to my 5th question, which is:

    temp_file_path= "c:\\myprog\\me nu_option1.py"
    temp_file_path= "c:\\myprog\\me nu_option1.py"



    This is how it would be called, though if anyone has a better suggestion it would be appreciated. As this is still static and I'm looking at a dynamic...
    See more | Go to post

    Leave a comment:


  • d3ph03n1x
    started a topic how does a real world program work ?

    how does a real world program work ?

    hello people,
    Im have learned python's concepts and can do a fair bit of coding in it. What I'm looking at is to create a real world GUI based program. Of which is plan to create the program text based and then convert it to GUI wxpython.

    So before I did go ahead with that I thought of clearing my concepts/doubts:
    1) what is the best way to create a program monolithic(Like in the Linux kernel all in one)...
    See more | Go to post
No activity results to display
Show More
Working...