Search found 664 matches

by moudy
08 Dec 2017, 06:06
Forum: Coding
Topic: installing kivy issues
Replies: 3
Views: 2752

Re: installing kivy issues

I am using a mac OS Sierra version 10.12.6
I went over many sites and I didn't know how to install it :(
by moudy
07 Dec 2017, 17:21
Forum: Coding
Topic: installing kivy issues
Replies: 3
Views: 2752

installing kivy issues

hello every one, long time Iv been trying to install kivy on Mac they first say that I have to install homebrew, then I installed pip, then installed Cython using pip. Now im trying to install kivy using pip, its simply not working, and giving me this error Command "/usr/bin/python -u -c "...
by moudy
31 Oct 2016, 16:35
Forum: General Discussion/Off topic
Topic: long tine
Replies: 2
Views: 721

long tine

Hello every one, It been a while.
Hope all is okay, miss the forums alot
by moudy
09 Nov 2011, 12:45
Forum: Coding
Topic: [python] sqlite3 newb question
Replies: 4
Views: 921

Re: [python] sqlite3 newb question (solved)

i kept on trying alot, and the answer was very silly, it was right under my nose and i kept overlooking the answer !

Code: Select all

for i in l:
        cursor.execute('INSERT INTO mytable VALUES(?)', (i,))
Any way, ill keep on reading about the topic.
by moudy
27 Oct 2011, 11:56
Forum: Coding
Topic: [python] sqlite3 newb question
Replies: 4
Views: 921

Re: [python] sqlite3 newb question

thanks for the reply mabs, the code didn't work. I got this: ]: SyntaxError: invalid syntax so then i did this: >>> rows = [('email0'),('email1'),('email2')] >>> cursor.executemany('INSERT INTO mytable VALUES(?)', rows) Traceback (most recent call last): File "<pyshell#13>", line 1, in <mo...
by moudy
26 Oct 2011, 17:37
Forum: Coding
Topic: [python] sqlite3 newb question
Replies: 4
Views: 921

[python] sqlite3 newb question

hello every one I was trying few examples related to sqlite3, making a database, table, inserting data. But from the very beginning, I came over this problem, and Im not what is exactly happening: >>> for r in ['email0','email1','email2']: cursor.executemany('INSERT INTO mytable VALUES(?)', r) <sqli...
by moudy
19 Jul 2011, 16:31
Forum: Coding
Topic: [python] scapy for windows
Replies: 7
Views: 1421

Re: [python] scapy for windows

I'm tried to download the link you provided Mabs, this is what I get:

Image

it seems the link is broken, or I dunno what. It seems impossible to get scapy running !
by moudy
17 Jul 2011, 12:34
Forum: Coding
Topic: [python] scapy for windows
Replies: 7
Views: 1421

[python] scapy for windows

I'm having a frustrating time getting to download scapy for windows, it seems there is no download available for windows, and if available the link is either broken, or the zip file is corrupted
by moudy
11 Jul 2011, 11:36
Forum: suck-o
Topic: how about a chess tournament?
Replies: 11
Views: 1592

Re: how about a chess tournament?

Thanks BB.
I hope every thing is fine over your side. Hopefully I'm here to stay this time, I was just busy alot.
by moudy
11 Jul 2011, 08:17
Forum: suck-o
Topic: how about a chess tournament?
Replies: 11
Views: 1592

Re: how about a chess tournament?

Really long time guys, I haven't came here.
Count me in, I love chess, even if there are no prizes, the mere fact of playing chess is a rewarding ;)
by moudy
06 Feb 2011, 16:29
Forum: Coding
Topic: [python] socket programming
Replies: 3
Views: 746

[python] socket programming

Can any one explain to me more about sockets (python module socket). I'm not being able to grasp the main concept. I've never worked with socket module before. And one more thing, when entering the router interface via browser, what are the connection types ? how is the connection established ? It s...
by moudy
04 Feb 2011, 21:08
Forum: Other
Topic: Tactical .22 GSG 5
Replies: 18
Views: 2582

Re: Tactical .22 GSG 5

In my country its illegal to have weapons, unfortunately. I wish I can have a weapon, and practice shooting.
by moudy
28 Jan 2011, 18:28
Forum: Coding
Topic: [python] raw input
Replies: 1
Views: 610

Re: [python] raw input

Never mind, I figured it out.

Code: Select all

input([prompt]) -> value

solved my problem
by moudy
26 Jan 2011, 20:21
Forum: Coding
Topic: [python] raw input
Replies: 1
Views: 610

[python] raw input

I wrote this code, nothing special, it simply manipulates every pixel in a photo according to a certain algorithm. import Image def max_num(x): for i in x: if i != max(x): x[x.index(i)] = 0 return x def min_num(x): for i in x: if i != min(x): x[x.index(i)] = 0 return x im = Image.open('1.jpg') width...