101 Topics
|
|
Hi, I started learning Python 3 around a month ago and I think, I am beginning to get the hang of it. However, I just recently realized that most of the modules I would like to use(wxPython, django,etc) aren't yet ported to Python. SO now, I'm really confused whether I … |
|
Ive got a big problem. I need to read data from the serial port Ive used serialport from the toolbox , but dont know how to use it. I used to do it on a Amiga like this open serial("serial.device".0.2400.0) rem(open port) repeat GW.w=readserial(0) if gw>29 and gw<128 gewicht$=gewicht$+chr$(gw) rem(at … |
|
Hi there, I need to block port 80 (HTTP for internet). Is there a way to block give socket? Thanks! |
|
Hello all, I dont know if this is the right area but anyway Heres my situation: I have a software that updates 2 devices firmware's, the software communicates with the devices via Serial Cable(RS-232) , my problem is: I only have 1 serial(COM) port in my motherboard, and i need … |
|
Hi am i having a acquirement of forward the ip address and port number to some different ip from windows machine. I know there could be many ways through which t can be done at network layer but that requires too much of changes. is it possible to do the … |
|
My web host has closed off port 25 to user code as it was being used by other users to send spam. Unfortunately, I have the following code which I use to validate email addresses: [code=php]function fixed_gethostbyname ($host) { // Try the lookup as normal... $ip = gethostbyname($host); // ...but … |
|
I have a working cpp file, lets just say it performs a+b, the filename is abc.cpp. I want to call up that file, function, in another file without having to rewrite the code and simply call up the function in another cpp file, xyz.cpp and simply map my variables over … |
|
Hi, I am trying to send data over wifi using socket. I am working Ubuntu. The data to be sent is received from a device over serial port. I want to create a virtual serial port which will read data from a file and present it in way serial port … |
|
Hi, I am trying to send data over wifi using socket. I am working Ubuntu. The data to send i receive from a device over serial port. I want to create a virtual terminal which send which act as serial port sending data from a file. Can anyone help me … |
|
Hi, I have C# .net application which reads data from the serial port and launches a new thread to process the data when all data has been read (end of data is determined by timing constraints). I create a new object where the thread will run, copy the data that … |
|
hi I have been looking around for a good file io tutorial and I cant find any. It is simple enough to me the process, mov dx,043h mov al,54 out dx,al etc. but i have no idea which ports go to where or how to write to a hard disk … |
|
Hello, I have used the following code to list my serial ports on my computer, but i am receiving the abnormal portnames as my attachment. The portnames should be as following text: Com3 52 8 11 38 6 13 53 4 My code: [CODE] Dim ports As String() = IO.Ports.SerialPort.GetPortNames() … |
|
I'm trying to create a messenger-like program, which user will enter an IP adress and connect to another user and send messages with a send button, and receive and view messages at a textbox. But my problem: "The target machine actively refused". I'm trying to connect myself for testing using … |
|
|
Hey, before everything, sorry about my english, i will do my best I'm really new at this, i just want to know where i should start learning about security, control of ports, control the sockets already initialized for other program, viruses, spywares, hack, nukes, etc.. I'm just asking for sources(i … |
Hi all, Want ur help to kick start one of my projects, where in I have to read and write data from USB port. If some1 here could help me out about how can i start and go about it would be a good favor, Also some links which contains … |
|
hello, setting up my first home server here. i can access apache server on my local network fine, but port 80 is blocked by my isp, so I cant access it from outside my lan. so i added listen 8080 to port.conf then i forwarded the port in my router. … |
|
I have a Verizon FiOS router. I need to be able to forward port 5900 (VNC) to a specific machine, is there any way to do this over SSH? I can't just use Lynx because the router config page uses JavaScript for [I]everything[/I]. Is there any way I can forward … |
|
Could some one please tell me if my analysis about the FTP pasv and port modes is right. Let there be a dynamic firewall that protects the network 136.142.117.0/24. It blocks most incoming TCP connections but allows incoming FTP requests to port number 21 and destination IP address 136.142.117.11. Identify … |
|
I need to have 4 functions which asks the user how many times to flip the coin and then displays the number of heads and the number of tails as a decimal? [code] def getInputs(): times=input("please enter the number of times the coin should be flipped: ") def simulateFlips(): for … |
|
Hello USB problem solvers, I would like to let you know that I have solved my problem regarding my Flash drive, when I plugged it in to the USB port it was recognised by the system but I could not see what folders it had, so I looked everywhere to … |
|
I need the function to be able to walk in all four directions with equal probabbility and return the distance away from the starting point. The function below only takes steps forwards and backwards? [code] def main(): numWalks, numSteps = getInputs() averageSteps = takeWalks(numWalks, numSteps) printExpectedDistance(averageSteps) def getInputs(): numWalks = … |
|
i have internet connected in all my computers but i have bloced net surfing by blocking port80 from the router. could anyone suggest a way to change the settings of one computer temporarly to access the net. i can only use internet explorer.(no extra program to be installed) thankx |
|
Hello guys, I have a TCP Listener Server which listens to requests and replies them. It is working fine in a particular network. But what if i would need to make it available for everyone (my clients) over internet to connect to it and send receive messages/data? My current code … |
|
i am a bit stuck on this, i need to call the first 2 functions for the output in the 3rd one. The user has to should be able to continue until they want to stop converting and they should be asked on which way the conversion is to be … |
|
how could i double a number when clicked on in the graphics window?... this is for graphics.py and a line separating the two sides in the graphics window and on each click on either side it must go up by 2 until 12? i can only think of using a … |
|
how could i call the above function so that when i input something like 21 for the mark the ouput is "the grade is A", and when the user inputs something more than 25 and less than 0 hes asked to input it again..? [code] def mark2Grade(mark): if mark >=20: … |
|
I need the function to display a set of eyes, so if i call the function Eyes(3,4) a graphics window opens with exact dimesions for 4 coloumns and 2 rows of eyes... [code] from graphics import * def drawCircle(win, centre, radius, colour): circle = Circle(centre, radius) circle.setFill(colour) circle.setWidth(2) circle.draw(win) def … |
|
I need the function to display a square of numbers. This is the actual function. [code] def draw(n): for i in range(n+1): print i*(n) [/code] but if i call the function [code] def drawBlock(3): [/code] then the output should be 333 222 111 but i cant understand how to get … |
|
The function below is supposed to ask the user to enter a choice of rock paper or sciessors and output an error mesage if the user enters an invalid choice and then ouput a message if they won, drew or lost against the computer. [code] def rockPaperScissors(): import random choice=raw_input("please … |
The End.