i recently took up a project on openvpn when i got the source code of an openvpn application written in python by ivanzoid http://code.google.com/p/pyopenvpnman/ but after laying my hands on many things and reshaping the application i couldnt go any further because of some errors detected 1.writing to a config file from the settings button 2.error in connection state the code is below ...thanks # -*- coding: cp1252 -*- import wx import os import sys import subprocess import socket, asyncore, asynchat from datetime import datetime from logdlg import * id_CONNECT = 1 id_DISCONNECT= 2 id_VIEWLOG= 3 id_ABOUT = 4 id_SETTINGS …

Member Avatar
+0 forum 0

i am working on a project but this parts seems to stall me i want to be able to write to a text file to change just two lines of d file say line 1 and 3 using wxwidgets i will appreciate helps nd suggestions thanks

Member Avatar
Member Avatar
+0 forum 5

python java developers please i need help with a customised Openconnect like GUI so users on my private network can connect using the software..thanks

Member Avatar
+0 forum 0

newbie question, but please i need help i just started learning gui programming on python, been getting this error on a code am writing concerning uising the get() method to read an integer from my entry box from Tkinter import * root=Tk() var=StringVar() label=Label(root, textvariable=var, relief=RAISED) var.set("converter") label.pack() L1=Label(text="x:") L1.pack(side= LEFT) E1=Entry(bd=5) E1.pack() content =int(E1.get()) import Tkinter def m_km(content): km=content/1000 tkMessageBox.showinfo("Answer" , "%d km" %(km)) B=Tkinter.Button(text="metres to kilometres", command= m_km) B.pack(side= RIGHT) mainloop()

Member Avatar
Member Avatar
+0 forum 3

am a python beginner, receeently started learning about classesand i wrote this got this little code that keeps bringing this error . please i need someone here to help debug it: class employee(): ` empcount=0` def _init_(self,name,salary): self.name=name self.salary=salary employee.empcount=+1 def displaycount(self): print 'Total employee: %d' %employee.empcount def displayemployee(self): print 'Name:',self.name,'salary:',self.salary ######################################################### #main program emp1n=raw_input('enter name of employee1:') emp2n=raw_input('enter name of employee2:') emp1s=input('enter salary of employee1:') emp1n=input('enter salary of employee2:') emp1=employee(emp1n,emp1s) emp2=employee(emp2n,emp2s) emp1.displayemployee() emp2.displayepmloyee() print 'total employees:',employee.empcount

Member Avatar
Member Avatar
+0 forum 4

The End.