Posts
 
Reputation
Joined
Last Seen
0 Reputation Points
95% Quality Score
Upvotes Received
17
Posts with Upvotes
15
Upvoting Members
12
Downvotes Received
1
Posts with Downvotes
1
Downvoting Members
1
~49.9K People Reached
This member's community profile is only visible to logged in members until they have earned 15 reputation points.

47 Posted Topics

Member Avatar for fonzali

hi , I found this code on the internet , I changed and added some lines to it to make it the way I like . I am very weak in using functions and even worse in using classes , I appreciate it if some one can change this code …

Member Avatar for Thati
0
5K
Member Avatar for vegaseat

the code works fine on my windows machine but on ubuntu 14.04 it says it can not find ' tix ' . do I need to install it separately ?

Member Avatar for Marc_10
7
13K
Member Avatar for rhys1619

nice code , the problem was on line 40 where you missed " at the end of the sentence . also when I ran your code and entered n it did not quit , it should not be hard to fix it

Member Avatar for fonzali
0
215
Member Avatar for fonzali

hi , I have two different versions of python on my ubuntu machine : 2.7 and 3.4 . my question is how to tell sys.executable to use python 3.4 ? this is what I get when I run the code : `>>> import sys >>> print sys.executable /usr/bin/python which is …

Member Avatar for fonzali
0
1K
Member Avatar for fonzali

I do not like the new design , tonight , I can not find the python forum . whose idea was this anyway ?

Member Avatar for Schol-R-LEA
0
331
Member Avatar for fonzali

since the forum has been quiet for a while I thought to post this program , it might start new discussions . the idea is not new but it should be interesting to starters . as usual any comments is appreciated

Member Avatar for fonzali
2
2K
Member Avatar for DragonMastur
Member Avatar for fonzali

hi , I am trying to first ask the user how many numbers he has ( I have not coded this part yet but assumed number 5 ), then enter the first number , hit enter , enter another number in the same entery widget up until the numbers are …

Member Avatar for fonzali
0
4K
Member Avatar for fonzali

hi , I used to right click on a .jar file and select " open with openjdk " from the option menu , last night my computer was updated ,openjdk version 7 is installed but that option is no longer there when I right click on the .jar file , …

Member Avatar for fonzali
0
665
Member Avatar for turntomyleft

I am glad to see so many experienced programmers in the forum. I did some programing in mid 70s in fortran , assembly and c but after getting my BSEE I moved on to semiconductor devices and fiber optics and that was the end of my programming . the reason …

Member Avatar for vegaseat
0
813
Member Avatar for fonzali

in windows calculator the digits get seperated in thousands as you type in the number , how can it be done in python ? thanks

Member Avatar for fonzali
0
583
Member Avatar for vegaseat

@pyTony hi , I ran your code in python3 , it does not like izip_longest but it was fine with python2 . what should we use instead ?

Member Avatar for ZZucker
1
925
Member Avatar for fonzali

well , I just realised that we forgot about our " turtle " so here it is printing " hello world " from turtle import * title("hello world") shape("turtle") speed(2) color("blue") write('hello world',align = 'center', font=('imes New Roman', 36,'bold')) done()

Member Avatar for fonzali
1
125
Member Avatar for fonzali

@Niloofar24 was looking for an Iranian datetime package and last night I found one in the internet so I wrote a simple code which counts the days and hours and seconds to Iranian new year

Member Avatar for fonzali
0
581
Member Avatar for BustACode

to make the code compatable to python 3 , replace xrange with range in line 18 replace line 17 with the line below: for i in ['\u2663', '\u2660', "\u2666", "\u2665"]:

Member Avatar for fonzali
1
2K
Member Avatar for DragonMastur

when I ran the program I found several mistakes : first I commented out line 10 second:line 14 should be StringIO not String10 third:in line 58, with should be width forth: line 65 file.add_command should be filemenu.add_command fifth: line 73 should be : editmenu=Menu(filemenu,tearoff=0) after fixing all that , it …

Member Avatar for DragonMastur
0
445
Member Avatar for Niloofar24

hi @Nillofar24 , try this link http://stackoverflow.com/questions/4327021/python-count-down-to-event-in-days-and-hours

Member Avatar for Niloofar24
0
833
Member Avatar for MustafaScript

I do not want to confuse you by adding more books to your list but al sweigart free books are good books to practice with after you have learned the basics of python

Member Avatar for fonzali
0
422
Member Avatar for fonzali

hi , I am trying to write " hi " in persian using unicodes like this : print('\uFEB3\uFEFC\uFEE1') but it prints from the left side and in reverse order like " ih " ( in persian or farsi language we write from right to left ) how can I fix …

Member Avatar for fonzali
0
795
Member Avatar for fonzali

hi , I am using florence virtual keyboard on my ubuntu 14.04 machine . today I read an article which says scrambled virtual keyboards are safer than regular virtual keyboards . is there any scrambled virtual keyboard for ubuntu ? should I be concerned about using florence or onboard ? …

Member Avatar for fonzali
0
156
Member Avatar for vegaseat

I use one password for all my internet accounts , it is a sentence consisting of 6 words ( english + persian ) which reminds me of my college girlfriend .

Member Avatar for Gribouillis
1
469
Member Avatar for fonzali

hi guys , first of all merry Christmas and happy new year since there have been many discussions about favorite idle for python , al sweigart is trying to improve python's own idle and everyone is invited to help out and since this is the best python forum I thought …

Member Avatar for Gribouillis
2
241
Member Avatar for ali.fayyazi

just double click on the .deb file , ubuntu software center will open , click on install it will ask you for your password , enter the password and that is it

Member Avatar for hardmode
0
346
Member Avatar for tony75

what I have done on my windows 7 is that I have installed both versions on it , then have created short cuts of each idle on the desktop and just use whichever I want . I think vegaseat has posts on this matter too

Member Avatar for tony75
0
447
Member Avatar for fonzali

hi , last night I downloaded pyzo package on my ubuntu 14.04 system , I just do not know how to get it working . any help is appreciated

Member Avatar for fonzali
0
354
Member Avatar for fonzali

hi , I am using ubuntu 14.04 LTS . my question is how can I delete the files in trash can using terminal . I have tried rm ~/.local/share/Trash/* but it says no file or directory thanks

Member Avatar for fonzali
0
257
Member Avatar for TrustyTony

thanks pytony for the code , I have written a program for my own business but it lacked a code like yours . with your permission I will use it .

Member Avatar for fonzali
4
521
Member Avatar for Waseemaburakia

can someone please explain to me how the pytony's count_fives function works ?

Member Avatar for fonzali
0
225
Member Avatar for TrustyTony

hi pytony , I appreciate if you explain to me how the keys in the image corespond to my keyboard keys , eg, if I click on button 3 on the image , 3 will appear , and ,this code is way over my head , more explanation on each …

Member Avatar for fonzali
1
2K
Member Avatar for pythonnewbie16

in line 5 it should be print('ok,'+ MyName+'.........') in line 11 Farenheit = float(degree) in line 12: 'n' missing in convert line 14: print(convert_temperature(Farenheit)) it is a good practice to include your def at the begining of the code

Member Avatar for HiHe
0
952
Member Avatar for pythonnewbie16

I changed your code a little bit ` #this is a multi question quiz intended to #further my python skills. print('welcome everybody to my quiz') print print('Would you like to begin?: ') begin = input() if begin == ('yes'): answer=input('How awesome am I?') print('A- Very') print('B- Extremely') print('C- Off the …

Member Avatar for pythonnewbie16
0
262
Member Avatar for Vusumuzi

hi vegaseat , can you explain why you have direction="" in your function ? thanks

Member Avatar for fonzali
0
248
Member Avatar for nitin1

it seems you are using the new version of python .just use () around your print statements : print(" I am in function 1")and change all your print statements the same way

Member Avatar for nitin1
0
217
Member Avatar for andrew.makkink

I am using wing ide 101 4.1 which is free and I am quite satisfied with it , it is in ubuntu software center , I am not sure about suse's package manager

Member Avatar for andrew.makkink
0
136
Member Avatar for vegaseat

hi , I did exactly as you said but I get this error Traceback (most recent call last): File "<pyshell#0>", line 1, in <module> import wx File "c:\python33\lib\site-packages\wx\__init__.py", line 17, in <module> from wx.core import * File "c:\python33\lib\site-packages\wx\core.py", line 6, in <module> from ._core import * ImportError: DLL load failed: …

Member Avatar for vegaseat
3
1K
Member Avatar for nouth
Member Avatar for fonzali

hi , I just found a site (in chinese) which in python section has daniwebs codes , specifically all of vegaseats codes , is it legal ? www.sharejs.com

Member Avatar for fonzali
0
193
Member Avatar for fonzali

hi , I have found vegaseats codes and tutorials helpful for biginners , how can I collect them in the pdf format?

Member Avatar for fonzali
0
164
Member Avatar for fonzali

hi guys , I rented a gps from the airport and it had no problem giving me the directions , while using it , I kept wondering how it picks the routes , and can python be used to program these devices and how ? a short code would be …

Member Avatar for fonzali
0
104
Member Avatar for fonzali

hi all , I have installed ubuntu 9.04 , dual boot with xp , ubuntu can read the xp files but window xp does not see linux ( ext4) . does any one know of any ext4 driver for windows xp ? thanks

Member Avatar for fonzali
0
197
Member Avatar for fonzali

hi everybody : can any one tell me how to install farsi fonts in ubuntu 7.10 so that I can write texts in farsi thanx

Member Avatar for linux
0
86
Member Avatar for fonzali

hi everybody , I have a program (below) but don't know how to direct the out put to the printer , can anyone help thanks [code=python] from calendar import * setfirstweekday(5) #saturday prcal(2008) raw_input('hit a key') [/code] another question is that I tried writing " saturday " instead of "5" …

Member Avatar for fonzali
0
322
Member Avatar for fonzali

hi guys , I am interested in writing a code to do the soduko ( or sudoku ) , I found this code on the internet which is supposed to be the shortest soduko solver but it is so short that I can not undrestand it . can any one …

Member Avatar for fonzali
0
1K
Member Avatar for fonzali

hi , below is my program which is supposed to accept 3 different numbers , add them up and print the result but what it does is that it takes the first number and mutiplies that by 3 , where have I gone wrong ? [code=python] from Tkinter import * …

Member Avatar for fonzali
0
890
Member Avatar for fonzali

hi all , I like to write a program which I input the dates and amounts of say 10 checks , and print out the total amount of checks and number of days thet are apart from each other on another entry widget . the code I have done sofar …

Member Avatar for fonzali
0
240
Member Avatar for fonzali

hi , thanks for the code , I have changed it a little bit , I have also added two buttons (+,-) I have written the code for (+) but it does not work , can you tell me what the problem is , the last lines which are commented …

Member Avatar for sneekula
0
165
Member Avatar for fonzali

hi everybody , I am new to python and interested in graphics . I like somebody to walk me thru monthly calendar using tkinter . I have already printed 07 calendar using python but I am stuck when it comes to use it with tkinter . it is no homework …

Member Avatar for vegaseat
0
4K

The End.