Posts
 
Reputation
Joined
Last Seen
Ranked #2K
Strength to Increase Rep
+4
Strength to Decrease Rep
-1
100% Quality Score
Upvotes Received
5
Posts with Upvotes
4
Upvoting Members
5
Downvotes Received
0
Posts with Downvotes
0
Downvoting Members
0
1 Commented Post
0 Endorsements
Ranked #3K
~55.2K People Reached
Favorite Tags
Member Avatar for vegaseat

If you have a long message to display in a large readable font, then this little Tkinter GUI toolkit code might help.

Member Avatar for Mohamed_65
1
4K
Member Avatar for vegaseat

After you got the basics of Python under your belt, the best way to get a good knowledge of the language and improve your coding skills is to start on a project you are interested in. Maybe an image viewer, a slide show, computer generated random or fractal art, a …

Member Avatar for vegaseat
20
18K
Member Avatar for Ismatus3

Hello , As mentioned in the tittle , i haver created a python small programm , that use MySQLdb , and just want to know the steps to be able to use it in an Android environnement ?

0
79
Member Avatar for Ismatus3

Hello, When i try to insert some datas with python to MySQL database where the fourth column is a variable , (it depends on the variable "e0") , i get a message error here is the query syntax : `cur.execute('insert into suiviactuelms (modelsa,date,heure,%s) values (%s,%s,%s,%s);',(e0, modelidvar, cur_date, t, quantitevar))` and …

Member Avatar for woooee
0
574
Member Avatar for Ismatus3

Hello , I have a question about , if there is possibility , to prepare event , after an insertion in database is done , and how ? , using MySQLdb for python and MySQL .

Member Avatar for Ismatus3
0
120
Member Avatar for Ismatus3

Hello , I am trying to modify a backup script , using the zipfile module , it creates the folder of the day , and inside it the zip file that contains the two source folders , but not the underfolders and the files inside them . here is all …

Member Avatar for Ismatus3
0
218
Member Avatar for Ismatus3

Hello , I am making tries to display images in different tkinter windows , in every window displaying a different image , for this i made this code : # -*- coding: cp1252 -*- from Tkinter import * import Tkinter as tk import ttk from PIL import ImageTk, Image import …

Member Avatar for Ismatus3
0
5K
Member Avatar for Ismatus3

hello , I use Tkinter , at the line : `print modelidvar ` in Interface3() function , it prints "" , nothing , without any error message , can i know why plz , here is all the code : # -*- coding: cp1252 -*- # -*- coding: cp1252 -*- …

Member Avatar for vegaseat
0
198
Member Avatar for Ismatus3

Hello , in a python application i wanted to insert datas to some columns of a table , the columns tha have as name "XS" , "S" , and "M" . i tried this query : `curso1.execute('INSERT INTO donnees (%s) VALUES (%s);',(liste1[i],qtetaillevar[i]))` , but when it compiles it , when …

Member Avatar for Gribouillis
0
257
Member Avatar for spowel4

I have a csv file with lines like this example: 14," APPLES, GRANNY SMITH 72 CT usa, Case",101-016,40.00,7/16/2013,7/22/2013 14," APPLES, GRANNY SMITH 72 CT, Each",010-017,0.60,7/16/2013,7/22/2013 I need to do a few things here - I need to remove any surrounding quotes from around fields; I also need to split the …

Member Avatar for Ismatus3
0
224
Member Avatar for Ismatus3

Hello , I'm working to build a programme that connects to MySQL database using Tkinter .In a step , i wanted to create dynamicly a number of entries widgets ( here : tailles_entry[i] ) depending on the number of elements of a list ( here liste1 ) . I could …

Member Avatar for Ismatus3
0
5K
Member Avatar for Ismatus3

Hello , In this python script that do backup of folders , i just dont know why when i execute it printed : > Sauvegarde reussie vers E:\20130521 > Echec de la sauvegarde That means that this part : zip_command = "zip -qr {0} {1}".format(target, ' '.join(source)) # lancement de …

Member Avatar for woooee
0
308
Member Avatar for Ismatus3

Hello , I wanted to ask if It is possible to create a Python programm that turnes on a server , with interfaces on users machines , connecting to a database ? Actualy , i'm asking about a better way to use databases with Python , thank you .

Member Avatar for Ismatus3
0
230
Member Avatar for Ismatus3

Helo , I am working actualy on a function that delete a row from a table in a database , it works good with this python code : def supprimer(): global rows global element global listelement idsupprvar = idsuppr_entry.get() db = MySQLdb.connect(host = "localhost", user = "user", passwd = "123456",db …

Member Avatar for Ismatus3
0
166
Member Avatar for Ismatus3

Hello , When i call a window from the main one , how to hide this one , after calling the second , and define it as a main window , this is the code of the two windows : def InterfaceDeps(): global interf1 interf1 = Toplevel() interf1.geometry("500x400") interf1.title(' Base …

Member Avatar for Ismatus3
0
135
Member Avatar for Ismatus3

Hello , I am asking about how to create a cickable Area in a Tkinter windows , or if i can make a label Clickable ? this is how the labels are defined : for z in rows: distligne = 15 + distligne a = (z[0].strip(),z[1].strip(),z[2].strip()) print z[0] print a …

Member Avatar for Ismatus3
0
289
Member Avatar for Ismatus3

Hello , I am asking about houw to get a hand form of the mouse when it is over a "Label" , this Label is Clickable and defined like this : def callback(event): print "clicked at", event.x, event.y Interface1() lab1dep = Label(interf1, text="Departement Informatique" ,bg = "blue" ,font=("times",12, "bold"), fg …

Member Avatar for Ismatus3
0
227
Member Avatar for Ismatus3

Hello , the problem i'm facing is how to insert a cliquable image in a frame , i show the code : def InterfaceDeps(): global interf0 interf0 = Toplevel() interf0.geometry("500x400") interf0.title(' Test Data') f1 = Frame(interf0, bg="blue", width=500, height=500) f1.pack( fill=X, expand=0) ####### Image ############# imageinfo = Image.open("C:/Documents and Settings/Administrateur/Bureau/Python_tests/nvprojet/Info1.jpg") …

Member Avatar for Ismatus3
0
6K
Member Avatar for Ismatus3

Hello friends , I have two questions : 1) I was using psycopg2 for old versions of python 2.x , and now while using Python 3.3 , i can install psycopg2 , maybe it needs a special psycopg for Python 3.3 . 2) I could install py-postgresql , and i …

Member Avatar for Ismatus3
0
282
Member Avatar for Ismatus3

Hello , friends of Daniweb , i'm missing you as well very much , I was just stoped programming , and want to bigin learning bases of html and css , Thank you very very much DaniWeb , i'm missing you :) .

Member Avatar for np complete
0
67
Member Avatar for Trak

Hi :) i'm kind of new to this site and everytime I read a thread someone else makes i don't understand what anyone is saying.... :sad: well anyways, please help me python pros. I have been on my very first exercise of "Learn Pyhton the Hard Way" since two weeks …

Member Avatar for brikbrat
0
586
Member Avatar for Ismatus3

Hello all friends , i'm biginner in scripting , i just wanted to send i folder to a distant machine ising scp , without writing the password of the distant machine in terminal .For that , i found a script which is : [CODE]#!/usr/bin/expect -f # effectue le transfert par …

Member Avatar for Ismatus3
0
191
Member Avatar for Ismatus3

Hello all friends , i'm biginner in scripting , i just wanted to send i folder to a distant machine ising scp , without writing the password of the distant machine in terminal .For that , i found a script which is :[CODE]#!/usr/bin/expect -f # effectue le transfert par SCP …

0
70
Member Avatar for Ismatus3

Hello all , I just need to create a folder in an other machine using ssh or samba ; for example i execute : [CODE]os.mkdir( rachid@rachid:/home/rachid/Bureau/new, 0777 ); [/CODE] but It shows the next error : [QUOTE]OSError: [Errno 2] No such file or directory: 'rachid@rachid:/home/rachid/Bureau/new'[/QUOTE] Thank you for answering .

Member Avatar for Ismatus3
0
2K
Member Avatar for Ismatus3

Hello everybody , I'm just asking for how to have two background images in html , the problem is that i need two different caracteristics in css . the first one is defined as : html : [CODE]<body> <img id="arriere" alt="" src="water.png" /> <h1>Mon super site</h1> <p>Pour le moment, mon …

Member Avatar for Ismatus3
0
123
Member Avatar for Ismatus3
Member Avatar for lps
0
56
Member Avatar for Ismatus3

hello , i just have a problem as show this link : [URL="http://jsfiddle.net/87cem/7/"]http://jsfiddle.net/87cem/7/[/URL] , the images don't have the same limits , how can i have a page without scrollbar plz , with fixed width ? thank you .

Member Avatar for hericles
0
57
Member Avatar for Ismatus3

Hello every body , I just need to put an horizontal image on the top of my page from the right side to the left side , how could i modify this code to get the result : [CODE]<img style="width: 2000px; height: 80px;" alt="txt" src="images/image2865%20%28copie%29.png">[/CODE] , thank you fro your …

Member Avatar for Ismatus3
0
95
Member Avatar for Ismatus3

Hello everyone , i just need to insert into my database the state of 4 checkbox , i'm trying now only for two . For this, i have two file formulaire.html and form.php , I've created for each checkbox a column in my database , so , what i want …

Member Avatar for Ismatus3
0
126
Member Avatar for Joelx

I need to copy a certain line from a text document, this I have done by using a "key-word" in the document. My problem now is that I also want to copy the entire line below this specific line. Help is much appreciated as I am new with programming FILE …

Member Avatar for Joelx
0
176