15,181 Topics

Member Avatar for
Member Avatar for DamagePlan

I'm planning on creating a simple password manager program. For the program I'm going to have an encrypted file which will the store the user's passwords. What is the most secure and best encryption module? cheers :)

Member Avatar for DamagePlan
0
67
Member Avatar for Haze

im trying to use the .get() method to get all the text from a tkinter text widget. the code im using is [ICODE]text = root.textwidget.get(1,end)[/ICODE] i get the error "name error: global name 'end' is not defined" is there a word specficly for the end of the text or am …

Member Avatar for ZZucker
0
150
Member Avatar for Begjinner

Hello, I'm doing (post) #2 of 'Projects for the Beginner' and I used for making this the 'The Address Book Revisited' example on this [URL="http://www.freenetpages.co.uk/hp/alan.gauld/tutor2/tutfiles.htm"]page[/URL] The author says he even put in two errors on purpose. I have re-written the code and changed it more to a Code Library like …

Member Avatar for woooee
0
123
Member Avatar for linux

Does Python have a built-in GUI kit? Meaning without using Tcl/Tk. Because, I'm developing for the iPod touch / iPhone, and I don't want to have the user need to install the Python and Tcl runtimes.

Member Avatar for linux
0
147
Member Avatar for flazwy

I'm new to GUI's and have has some trouble with the wx.lib.plot.py module. I can insert the graph panel into an app, but I can not get the panel to expand when the window is resized. I've read about the need to set the initial size, but... is this plotting …

Member Avatar for woooee
0
117
Member Avatar for morpheus063

Hi All, Newbie here - I am trying to write a program that will list out all the URL's from a webpage which I was able to successfully complete using the following script: [CODE] import urllib, urllister urladdr = raw_input("Enter URL here: ") usock = urllib.urlopen(urladdr) parser = urllister.URLLister() parser.feed(usock.read()) …

Member Avatar for woooee
0
101
Member Avatar for jliu66

Hi, my friends, I have a question to ask you. I am dealing with thousands of csv files in one directory. Some of csv files are empty with file size 0. How can I skip those empty files when I open csv files otherwise it causes execution error? I have …

Member Avatar for jliu66
0
85
Member Avatar for nirmalarasu

Hi Currently iam looking for one common script to work both in linux and windows target machines. The script what i going to write need to be loaded in CD and will be used both in Linux & Windows Machines. If I choose python as the script for my requirement …

Member Avatar for nirmalarasu
0
92
Member Avatar for gawain_

Hi everybody. Mi first post: I'm trying to learn some python From CLI I run: python file.py [ICODE]import sys lines = 0 words = 0 chars = 0 for line in sys.stdin: lines = lines +1 words = words +1 chars = chars + 1 print lines, words, chars[/ICODE] I …

Member Avatar for gawain_
0
147
Member Avatar for bugmenot

OK, so heres my code, check it out, let me know what you think, I'm trying to embed a serpenski triangle into it, and the program isn't crashing but it isn't displaying and I'm not sure why, if you can tell me it would be greatly appreciated. Also, I need …

Member Avatar for bugmenot
0
176
Member Avatar for Matt You

I've made a program that can scan through a plain text document for the string "SA001:" and if it's not there, it ads it in at the top. But the problem comes with the saving to the document: It adds some things to the document that I don't know how …

Member Avatar for micdareall
0
110
Member Avatar for mg0959

I have a program that i need to start when my computer boots up. Is there any way to do this? Any and all suggestions would be great.

Member Avatar for Duoas
0
229
Member Avatar for preeeya

Hi, Im a novice in Python, using Tkinter for the GUI developement. I am trying to figure out how to create my frame such that you cannot exit using the title little 'x' in the corner. In fact I dont want it at all! I did try overriding it by …

Member Avatar for Duoas
0
113
Member Avatar for msaenz

Greetings I want to take part of a word remove it and then append something new. Here is my xml [inlinecode] <Symbols> <Item> <Symbol>UPS2008</Symbol> <Order>usg_05Y</Order> </Item> </Symbols> [/inlinecode] My python code should remove the 2008 in UPS and change it to 2009 (basically write to file with elementtree), except I …

Member Avatar for msaenz
0
2K
Member Avatar for ZZucker

What is the easiest or most elegant way to let the user input a list in a console program?

Member Avatar for vegaseat
0
171
Member Avatar for nish88

hi ..... i'm designing a simulator and initially i have to click on the Tkinter interface to place a small oval(dot).That is the initial point where i want the simulation to start. can anyone please help me or if possible give me the piece of codes here is my code.... …

Member Avatar for G-Do
0
233
Member Avatar for nish88

Hi!! Actually,i am doing a simulation and i want a dot (small oval) to pop up when i click(by mouse) on the canvas. can anyone please help me or if possible give me the piece of codes to perform this. thanks in advance...

Member Avatar for katharnakh
0
87
Member Avatar for AJG

My first attempt at programming using Python was to make a calculator for an online game I play called AstroEmpires. The user can input the number of bases they have, the shipyards on each base and the base's production value. They then tell the program which ship they wish to …

Member Avatar for AJG
0
392
Member Avatar for raghuramos

hi everybody...can anyone please help me on this...i have a gui in wxpython. it works perfectly on windows (i've a dual boot comp). but when i run the same code on ubuntu-gutsy it crashes with the followin msg... /gui$ python App2.py python: /build/buildd/libcairo-1.4.10/src/cairo-surface.c:990: _cairo_surface_release_dest_image: Assertion `!surface->finished' failed. Aborted (core dumped) …

Member Avatar for woooee
0
82
Member Avatar for mg0959

I need to write a program that runs in the background without a gui window or a console window. It also needs to recognize when a key is pressed. Is there any way to do that? And if yes, then how? Any and all suggestions would be great. thanks.

Member Avatar for mg0959
0
162
Member Avatar for rysin

Hey guys, recently I started playing around with pygame. Right now im making a little orb move when you hit a key. But its stuck with the image loading! [CODE]background_image_filename = 'C:\\orb\\backroundorb.jpeg' sprite_image_filename = 'C:\\orb\\orbsprite.jpeg' import pygame from pygame.locals import * from sys import exit pygame.init() screen = pygame.display.set_mode((640, 480), …

Member Avatar for rysin
0
97
Member Avatar for dreambreeze

I'm relatively new to programming in wxPython and I have been trying to put a BoxSizer within a wx.Window. This only results in a small square (which is the panel within the BoxSizer) appearing in the window. Could somebody please tell me what I'm doing wrong? Sample code: class TestPanel(wx.Frame): …

Member Avatar for vegaseat
0
94
Member Avatar for Valmian

Hello, I have just started playing around a bit with Python/Tkinter. What I'd like to happen is to draw a circle and then have the circle change its coordinate. The way I was thinking is to have some integer i to be defined 0 and then be updated every frame …

Member Avatar for Valmian
0
6K
Member Avatar for aot

I've just downloaded and installed Vision Egg, a library built for python that displays various common scientific stimuli. While I was able to install it according to their specifications and get it to run from the command line (Terminal in my case), I have not been able to get it …

Member Avatar for Ene Uran
0
111
Member Avatar for LanierWexford

I have a file of cencus data that I need to read and then manipulate in several ways. The file looks like this. CountyName Population Housing Location Adams County 34340 15175 W Attala County 19661 8639 E Benton County 8026 3456 N Bolivar County 40633 14939 N Calhoun County 15069 …

Member Avatar for Ene Uran
0
105
Member Avatar for jforell

Hey everyone, I'm taking an intro to python class and i've run into a bit of a barrier. My assignement is listed below: "Write a program that takes the following inputs: (i) an initial capital C, (ii) a yearly investment Y ,(iii) an interest rate (percentage) P, and (iv) a …

Member Avatar for ZZucker
0
99
Member Avatar for fonz87

hey guys i need mad help with this! im soo lost and stressed out over this and not understanding how to do this. Can anyone help me with this ??? I m new to python and some of this stuff is so confusing to understand. i have 4 problems i …

Member Avatar for ZZucker
0
78
Member Avatar for mbarb27

I am new to python. I have been reading tutorials and I am trying to experiment with gasp. I downloaded the latest version and I have python 2.5. I am also using Windows XP if that helps. When I enter the code for gasp to begin it comes up and …

Member Avatar for mbarb27
0
38
Member Avatar for dedekind87

Hello everyone, I'm a python beginner, and I've installed MacPython on my Mac. I'd like to know how I can run .py files from the Mac terminal without having to make them executable. I'd like to write a command line like this one: [ICODE]python file.py other_inputs[/ICODE] Thanks a lot!!

Member Avatar for katharnakh
0
42
Member Avatar for knish

Hi, While connecting to a host computer to access its records from another computer using python. I am getting an error [COLOR="Red"]OperationalError: (1130, "Host '2k.vfx.net' is not allowed to connect to this MySQL server")[/COLOR] There is no firewall. I have installed wampserver 5 on the host pc. Is it possible …

Member Avatar for katharnakh
0
145

The End.