Home Upgrade Search Memberlist Extras Hacker Tools Award Goals Help Wiki Contact

Python 

( ★The-Hydra Learning Service ★)--===-- [Who is New to Python and Needs Help]

Glad to know other members are more than willing to help out each other in this section of the forum. I too had a thread like this earlier last year but it wasn't very successful. Hopefully you are more successful than I was. Good luck!
Could you explain me this code? I know it is for Bubblesort, but it looks quite confusing, using lambdas, etc.

Code
class Bubble: bubbleSort = lambda self,l,t: list(list(([[lambda a,b:None,l.insert][t=='d'],[lambda a,b:None,l.insert][t=='a']][(l[n]>l[n+1])](n+2,l[n]),[[lambda a:None,l.pop][(t=='d')],[lambda a:None,l.pop][(t=='a')]][(l[n]>l[n+1])](n))for n in range(len(l)-1))for i in range(len(l)))
If you are looking for a student or someone to share your knowledge with, shoot me a PM.
(Jan 28, 2012 11:00 AM)Hydra_ Wrote:  Are you talking to me or the Guys in HF 😁 ?

Well you said 'Wanna Teacher, Mentor or Guru '
So yeah i am talking to you :)
Ok then here's a question:
I finished reading 3 ebooks, and i looked up some other, but since they had aboslute same content, i chose not to read them. I coded some programs, and i have a few projects but the main problem is how to advance so that i don't have to google every problem. All these books have neccessary information, but from where should i learn advanced programming? For example, i needed to capture a keystroke (Press 'ESC' to exit). I had no idea that i needed to import msvcrt and use getch to do so. Books i read never came close to that problem.
If the mentor is free sure, i would love one im learning via http://www.youtube.com/user/thenewboston atm but if you can help me through skype that would be awesome thanks =).
(Jan 29, 2012 02:09 PM)Needlz Wrote:  Hi, I am making a script that goes to a certain website and clicks the link but uses a proxy list which the user defines.
The list will be in IP:PORT

I have written most the script but I am not sure on how to use each proxy in the list. I am guessing that I might need to use threads but I am not sure on that either. If you could point me in a good direction then please do.

I have done some googling but not been able to find much. Also looked at a few scripts but did not have what I was looking for.

Code
for x in proxy[x]:
    #insert code to be run via each proxy
    #the proxy will be the variable x

was this what you were looking for?
i dabble in python a bit 🙂
I myself have been looking for a mentor for some time now and would appreciate anything you have to offer. I am nearly a complete beginner so if you could inform me on which way you'd prefer me to contact you we could figure something out
Nice this is great. thanks for your service.

aBlackHippy
Get its name from sys.argv

Code
import sys
print sys.argv[0]
Hi Hydra if your willing to take on a student it would be greatly appreciated, just send me a PM and we'll figure out a easier was to communicate.
Hey I need help making a python script into a exe. I have tried py2exe but I can't get it to work :(
(Jan 31, 2012 11:19 PM)Demon #7 Wrote:  Hey I need help making a python script into a exe. I have tried py2exe but I can't get it to work :(

look up cx freeze
it also turns python scripts to exes
definitely interested in this...thank you in advance for the oppertunity :D
Hey hydra i;m new thanks for your service and welcoming us neginners. i'm interested in learning new python im working on it and going through tutorials . I'm really just looking for a starting point and someone to help me....

Please PM me or i can PM you either way your the best....

Dik_In_D_AI


Possibly Related Threads...
Thread / Author Replies Views Last Post
[Python] by rammstein091Feb 8, 2024 11:44 PM 11 277 Feb 8, 2024 11:44 PM
Last Post: peolsolutions
[Python] by Potassium456Aug 20, 2023 02:05 AM 21 581 Aug 20, 2023 02:05 AM
Last Post: Lucky4L
[Python] by Bass_ReevesAug 20, 2023 01:44 AM 9 632 Aug 20, 2023 01:44 AM
Last Post: Lucky4L