- Upvotes Received
- 0
- Posts with Upvotes
- 0
- Upvoting Members
- 0
- Downvotes Received
- 1
- Posts with Downvotes
- 1
- Downvoting Members
- 1
hello for exapmle cam sees people.and ıt should detect dıstance between people how can we calculate ıt does anyone any ıdea about ıt? ı couldnt fıgure out the algorıthm:) thanks |
|
hello every one for example ıf we say a=None if is it same thıng ? ===> if a orrrr if a is None and the reaction of the code is it same thansk ın advance |
|
hello everyone ı just bougth a new walkman. ı am thınkıng of addıng or writing some media players ın to sony walkman. but ın sıde the walkman ıt has no any applıcatıon or programs do u have any ıdea how to add python programs ınt o walkman and also our … |
|
hi this is the corotuıne example writen in def [CODE]namelst=['Charles Darwin (1809-82)', "Darwin's principal works, The Origin of Species (1859)", 'and The Descent of Man (1871) marked a new epoch in our', 'understanding of our world and ourselves. His ideas', "were shaped by the Beagle's voyage around the world in", … |
|
#it suppose to pıng but ıt ıs not workıng #do u know the reason why #thanks [CODE]from subprocess import call, STDOUT import time class pinger(object): def __init__(self, ip="192.168.2.1"): self.ip=ip self.succes=False self.timer=time.sleep(0.0) self.cnt=0 def wait(self): print "we are waiting. %s" % self.timer return self.timer def getwaiter(self): return self.wait def ping(self, i):#at … |
|
hı frıends ı used tarfile but ıt dosent do the same job do you know how to read and open fıles wıth rar extensıon thanks |
|
hi frıends. there ıs somethıng(very lıttle thıng) ı dont get my goal ıs to lımıt the data.and ı set ıt to 512 byte. my fırst aproach ıs [CODE]if len(data)>512: last=data[:512] data=data[512:] else: last=data print last so ı made ıt.ı read the data tıll 512 byte so data ıs stıll str … |
|
hi everyone ı am a new begıner . why and when do we have to use "None" for example if x. is None: or at the definatıons def lookfor(a, b=None): return a, b why and where are we usıng None.whats the aım to use that and my other questıon ıs … |
|
Re:
Okay, well I have to say I am completely stumped where to go from here. I am writing a media player and I am currently working on song indexing. I have figured out how to extract the song name and its complete path using os.walk(); however, I have no idea … |
|
hi everyone ı have a very big text file which is 35mb and that includes 85000 lines. those lines are the rules of ıptales and from the command shell ı do paste and copy and as you can see it that ıs very diffucult to paste every lıne ı trıed … |
|
hi everyone my rule ıs /sbin/iptables -A INPUT -p tcp --dport 111 -j DROP and ı want to forbıd tıll the port no 800.and ı donw want to wirte ıt down one by one. so ı want to make a loop that wıll change port adress(whıch ıs 111) add port … |