Member Avatar
The Tkinter module comes with the normal Python installation. It allows you to create Python GUI programs for Windows, Linux or Unix on the Mac. In this snippet we put a GIF image (.gif) onto a form's canvas with just a few lines of code. Most of the lines are …
by vegaseat 1,720 in Software Development ()
Member Avatar
... I am trying to write a python code to verify for the presence of ... and corresponding ... file in the dropbox. ... This gives me the output : ... Which is perfectly fine!!! I need the similar xpath to find the ... text. The one which is below …
by Karthik_4 in Software Development ()
Member Avatar
Another application of Python module base64, this time to embed midi music data in your program. You also need the module pygame to execute this Python code. Enjoy the music!
by vegaseat 1,720 in Software Development ()
Member Avatar
Hi, I'm still practice learning Python. I have a litte homework, make Class method, Class Date and Class Delta without using import. it must be like this... ... ... ... ... ... ... ... ... must be tuple and without import. I'm using python2.7 If i using two init or …
by templar77 in Programming ()
Member Avatar
Hi I have around 20 python files. Each time I run these files in the terminal this form one after another : python a.py python b.py python c.py python d.py python e.py python f.py python g.py . . . (I have provided general file names here) This process takes lot …
by Karthik_4 in Software Development ()
Member Avatar
Assignment Overview1 This assignment focuses on the design, implementation and testing of a Python program which uses file processing, lists and strings to solve the problem described below. Program Specifications: The New York Times newspaper has published “best seller” lists since 1942. Book sales are tracked nationwide, leading to a …
by Aries_Child in Computer Science ()
Member Avatar
I have this point in (x,y) : ([27.266378342786531], [1.9505463431334713]) know I want to use this point(I have many points,I want to know how can I use this point ) to put it in the function below insted of x :(I have tried to make an array put i don't know …
by ALosh99 in Programming ()
Member Avatar
I saw someone getting an assignment to implement the Vigenere Cipher, so I decided, just for the frig of it, to implement the Caesar Cipher. This is what I ended up with: ...
by Mickey_2 9 in Programming ()
Member Avatar
Hello, I would like to create a chess game GUI but I have a problem with my code. When I run my programm, at the beginning, my code is supposed to read a ".lvl" file to place pieces on the chessboard (same method as in Mario Sokoban). However, it doesn't …
by titi157 in Programming ()
Member Avatar
It's a simple script, giving me an error. I'm running it from a command line: And the error is: The relevant portions of the script should be: I'm sure it's a simple error.
by genevish -2 in Software Development ()
Member Avatar
I am trying to plot the picewise function below: ... I am getting this error: The truth value of an array with more than one element is ambiguous. Use a.any() or a.all(). I do not know how can I solve this problem?
by ALosh99 in Programming ()
Member Avatar
Onager Ornery Clicker presents a grid of buttons. One says "Click Me!" and the rest say "Don't Click Me!" Clicking the right button scores a point, while clicking the wrong button costs a point. After each click the buttons reshuffle. There is a timer you can start and stop. You …
by Mickey_2 9 in Software Development ()
Member Avatar
I'm developing a dirt-simple text editor for personal use, customized the way I like it. My biggest difficulty is with grasping how OOP works. Could you kindly review the following code and suggest improvements (or at least link further information)? Much appreciated. ...
by Mickey_2 9 in Software Development ()
Member Avatar
Hi I have some python file.i runs these file one by one as below on unix server. python f4761sk3.py python f4761sk2.py python f4761sk1.py python f4761se3.py python f4761se2.py python f4761se1.py python f4761pl3.py python f4761pl2.py python f4761pl1.py python f4761no3.py python f4761no2.py python f4761no1.py python f4761nl3.py python f4761nl2.py python f4761nl1.py python f4761ie3.py python …
by neerajkumar_86 in Software Development ()
Member Avatar
I'm trying to use a "python loop through list" and execute a command on each line from the list found and in between sleep to give it time to finish that command. Here my script. I know it's the basic, but some one can help me to help me in …
by pirulo64 in Programming ()
Member Avatar
This script is to be a 5x5 grid of buttons, one saying "Click Me" and the rest "Don't Click Me." A correct click scores a point, an incorrect click costs a point. The buttons get shuffled after each click. The player has 60 seconds to maximize his score. The script …
by Mickey_2 9 in Software Development ()
Member Avatar
How to combine two class? so the output can be equal... here's my code.. ... this code will make output... ... Wrong output.. because, the output must be equal, like this... ... Note: This is my homework, not allowed using ... ... python2.7 thanks before :)
by linda777 in Programming ()
Member Avatar
... this is what i have so far but the program won't run due to an indention error or an error related to the break.
by btp06b in Computer Science ()
Member Avatar
question: write in python to take five input values and output: a)the highest value b)the lowest value c)the average (i need help with my homework)
by firdevs in Programming ()
Member Avatar
What software do you recommend for drawing layouts to be implemented in a ttk application? I'm looking for something simple and clutter-free where there aren't 10 zillion options I don't want. All I really need is basic shapes corresponding to the shapes of ttk widgets and a way to place …
by Mickey_2 9 in Software Development ()
Member Avatar
Hello, I'm trying to plot this function with using this values: ... I'm trying to defind r like what i know but this dose not work, I'm getting this error: only length-1 arrays can be converted to Python scalars. may you please help me in this point? Thank you
by ALosh99 in Programming ()
Member Avatar
Hi, I'm working on this problem in my python programming class and need help with part of it. I need to have it display a "F" for anyones grade that is below 60, and also have it display the amount of "F" students, as well as the percentage of students …
by grand_78 in Programming ()
Member Avatar
Help please, im using python 3 and im trying to print the state with maximum and minimum population from a text file...This is what the text file contains. ...
by j.parkerrrr in Software Development ()
Member Avatar
I need help with just one line. I need an "F" to be displayed on the same line the student with 45 points. I keep getting the "F" to display on a new line below the 45. I guess something is wrong with my if statement. I also need to …
by grand_78 in Programming ()
Member Avatar
Am trying to write asimple python programm that harvest data from facebook . like if i type in akey word like "new york" it brings me all events posted on facebook with a connection to newyork.
by Hussein aslam8 in Software Development ()
Member Avatar
I am quite new to python programming and having trouble with this program. This is what my GUI looks like ... . What I am trying to acomplish is by have the two comboboxes select the units and then calculate them. Code: ... I just need someone to help me …
by Regan_1 in Software Development ()
Member Avatar
This is my 2nd question on python/tkinter... I'm experimenting on containers to maximise code reuse but I seem to be stuck at attempting to display the image for the ContainerImage section although at runtime it does set the background to black and displays the text just not the image. Would …
by sureshk75 in Software Development ()
Member Avatar
I am using Python/Pandas. I need to split personal names so that names that end in "Van Dyke", both words end up in the last name. So, if the name is Richard Wayne Van Dyke, Wayne is the middle name and Van Dyke is the last. Complicating matters are names …
by mattrweaver in Software Development ()
Member Avatar
Member Avatar
I am writing an automation test using** python**, where an android app records an audio and stores it in a specific directory within the internal storage (sdcard0) of the android device. I need to check whether the recording (recordingX.mp3) actually exists with the same name within the specific directory or …
by Karthik_4 in Software Development ()