Python Forum
Search Results
Post Author Forum Replies Views Posted [asc]
    Thread: IndexEroor : index out of range
Post: RE: IndexEroor : index out of range

(May-17-2017, 09:38 PM)buran Wrote: and where is the full Traceback? in error tags...Traceback ( most recent call last):       File "New_Program.py", line 89, in <module>         if (file_dict...
adithyakrish Data Science 7 6,864 May-19-2017, 02:29 PM
    Thread: IndexEroor : index out of range
Post: RE: IndexEroor : index out of range

Sorry for the trouble! This is the code! import numpy as np import matplotlib.pyplot as plt import operator import glob import pylab from matplotlib.ticker import MultipleLocator files = sorted(glob...
adithyakrish Data Science 7 6,864 May-17-2017, 09:20 PM
    Thread: IndexEroor : index out of range
Post: IndexEroor : index out of range

This is the error I get when I try running a certain program. The fun part is the program runs successfully in Windows but displays this error in Ubuntu. I even tried updating the python from 2.7 to 3...
adithyakrish Data Science 7 6,864 May-16-2017, 04:55 PM
    Thread: Network Programming
Post: RE: Network Programming

(May-11-2017, 05:13 PM)nilamo Wrote: Did you try it? Is that your ip, or the ip of a different computer?  You can't bind to a port of an ip that isn't your computer, that's not how networks work.I'...
adithyakrish General Coding Help 13 64,994 May-11-2017, 05:16 PM
    Thread: Network Programming
Post: RE: Network Programming

(May-11-2017, 05:03 PM)nilamo Wrote: If that data is being passed on port 8888, sure. It's not going to get data on any other port.  But that's probably fine, you wouldn't want to consume all ports ...
adithyakrish General Coding Help 13 64,994 May-11-2017, 05:11 PM
    Thread: Network Programming
Post: RE: Network Programming

(Mar-31-2017, 11:56 AM)wavic Wrote: import asyncio import socket host = '0.0.0.0' port = 8888 loop = asyncio.get_event_loop() s = socket.socket(socket.AF_INET, socket.SOCK_STREAM, 0) s.setsockopt(...
adithyakrish General Coding Help 13 64,994 May-11-2017, 04:58 PM
    Thread: matplotlib : Raster Plot
Post: matplotlib : Raster Plot

Hey Everyone, I am stuck at a point whee I need a simple python code generate a raster plot based on the values that is generated as the output of the dictionary. The code for the dictionary is: f ...
adithyakrish Homework 1 3,704 Apr-24-2017, 10:46 AM
    Thread: Network Programming
Post: RE: Network Programming

Hey, Thank you so much for your reply. I tried the program. The program contains no errors, unlike my previous programs. But it does not display the result at all. As in, its either not listening, or...
adithyakrish General Coding Help 13 64,994 Mar-31-2017, 10:49 AM
    Thread: Network Programming
Post: RE: Network Programming

Forget all that. My Board is connected to the System. It's IP address is "192.168.1.10" and port number 7. I know this because thats how I echoed the data from the system to the board using telnet. ...
adithyakrish General Coding Help 13 64,994 Mar-30-2017, 04:47 PM
    Thread: Network Programming
Post: Network Programming

Hello All, I would like to start of by saying that I am new to Python. I have a Zynq board connected to my system and I would like to transmit and receive messages (echo) between my computer and boa...
adithyakrish General Coding Help 13 64,994 Mar-30-2017, 01:18 PM

User Panel Messages

Announcements
Announcement #1 8/1/2020
Announcement #2 8/2/2020
Announcement #3 8/6/2020