- Upvotes Received
- 4
- Posts with Upvotes
- 4
- Upvoting Members
- 4
- Downvotes Received
- 0
- Posts with Downvotes
- 0
- Downvoting Members
- 0
hi im using tkinter and have a scroll bar that works with my text widget but its so small i dont know why ?? [CODE] scroll = tkinter.Scrollbar(content,borderwidth=50) Text = tkinter.Text(content,wrap=CHAR, width=50, height=20) scroll.config(command=Text.yview) Text.config(yscrollcommand=scroll.set) Text.grid(row=2, column=1,columnspan=1, rowspan=3, sticky=(N)) scroll.grid(row=2,column=3) [/CODE] |
|
[CODE] startup = 0 r = rock p = paper s = scissors if startup == 0: weapon = str(input("Please enter your weapon: Rock, Paper, or Scicors") while weapon =! r: print("Incorrect choice, please choose again")[/CODE] Im running python 3.2.2. Im trying to make rock paper scissors. I am trying … |
|
I have to write a program that will decode a Ceasar cypher with any possible rotation length on a long string that will be imported into the program. I'm trying to figure out some pseudo coding on how I want to tackle this problem but there is one key thing … |
|
I got this code, when i compile it it shows this error: Traceback (most recent call last): File "C:\Users\User\Desktop\Server2.py", line 13, in <module> UDPSock.bind(addr) File "C:\Python27\lib\socket.py", line 224, in meth return getattr(self._sock,name)(*args) error: [Errno 10048] Only one usage of each socket address (protocol/network address/port) is normally permitted If you can … |
|
Hello, newbie here to both this forum and Python, so expect silliness! My first project has been to build a GUI front end for some command line utilities I use regularly. One of them is the utility: eac3to which joins mp3 files together. It's command line is: "eac3to.exe infile1+infile2+infile3 outfile" … |
|
i have a given picture and have to create a picture that is twice as wide as the given picture. For each pixel (x, y) in the original picture, the pixels (2 * x, y) and (2 * x + 1, y) in the new picture should be set to … |
|
I'm working on a GUI app with tkinter (which I am fairly new to). It's for comparing the clocks on two computers across a network. It uses callbacks (scheduled using the "after" method of the root window) to update text and canvas widgets in a GUI. The canvas widgets are … |
|
Hello everybody! I'm trying to produce a timestamp (system time) in windows (Python 2.7) with resolution equal to or better than microseconds. Calling time.time() repeatedly in a loop it appears it only updates in approximately 0.01 second increments. Using datetime.datetime.today() seems to show similar results. Anybody have a possible way … |
|
Hiii m final year b.tech student...i want some ideas for 1 yr. project on linux networking,networking and security.... |
|
I need to write a function that takes in an array of integers and an integer, checks if the sum of any of the numbers in the array is equal to the supplied integer. Any ideas would be much appreciated. |
|
Hello... I've been working on a simple server using the sockets module and threads (just for fun btw ;p). I want to be able to connect to it by specifying a "channel" and then anything the client sends is recieved by all clients connected to the same "channel". Now I'm … |
|
Hi everyone.... I was interested in limiting my home network to only a few specific mac addresses, but the ease of spoofing a mac address got me thinking... If I were to make a simple program that sends out a message/probe from each computer and expects a response from others … |
|
i jst came up wid an idea n i dnt knw how to proceed furthr....i'd lyk to encrypt data in such a way dats its decrptd in stages. initial stages when overcome wud show irrelevant dat(nt garbage)xtractd frm d original data...decrption methods wud vary in each stage.... more complicated in … |
|
Hello, sorry if this is a silly question, tried googling but only found an endless number of How-to-setup-your-router pages.... So, the question has to do with the http authentication used to login and view/change settings on your router. I wrote a small application in python to log in to my … |
|
Hello, thanks for reading my post. My troubles have to do with using a python script to gather information from a web page. I'm using the 'IEC' (Internet Explorer Controller) module to handle the 'COM' stuff for me. The script looks like this: [code=python] import IEC from BeautifulSoup import BeautifulSoup … |