Re: Python script help

2013-07-30 Thread Denis McMahon
? Just: wget -m url -- Denis McMahon, denismfmcma...@gmail.com -- http://mail.python.org/mailman/listinfo/python-list

Re: Using sudo to write to a file as root from a script

2013-08-08 Thread Denis McMahon
/sudoers you must set the permissions back to 440 -- Denis McMahon, denismfmcma...@gmail.com -- http://mail.python.org/mailman/listinfo/python-list

Re: Am I not seeing the Error?

2013-08-13 Thread Denis McMahon
. -- Denis McMahon, denismfmcma...@gmail.com -- http://mail.python.org/mailman/listinfo/python-list

Re: Tryign to send mail via a python script by using the local MTA

2013-09-16 Thread Denis McMahon
to prove communication works, he might be better off using a message subject of test and a message body of this is a test message. -- Denis McMahon, denismfmcma...@gmail.com -- https://mail.python.org/mailman/listinfo/python-list

Re: Tryign to send mail via a python script by using the local MTA

2013-09-16 Thread Denis McMahon
IN comp.lang.python -- Denis McMahon, denismfmcma...@gmail.com -- https://mail.python.org/mailman/listinfo/python-list

Re: Tryign to send mail via a python script by using the local MTA

2013-09-16 Thread Denis McMahon
to their spf score. -- Denis McMahon, denismfmcma...@gmail.com -- https://mail.python.org/mailman/listinfo/python-list

Re: Tryign to send mail via a python script by using the local MTA

2013-09-17 Thread Denis McMahon
] The ip address that it is sending ack packets to as part of the smtp session, so unless you're using a proxy somewhere, this will be your system's ip address. Can't fake it. If the other system doesn't know your ip address, it can't send acks, and the tcp session fails. -- Denis McMahon

Re: Tryign to send mail via a python script by using the local MTA

2013-09-17 Thread Denis McMahon
until you understand how tcp/ip networks function. This NG is not a networking for dummies course. -- Denis McMahon, denismfmcma...@gmail.com -- https://mail.python.org/mailman/listinfo/python-list

Re: Help with python functions?

2013-09-23 Thread Denis McMahon
value is the input value. Then to compare T1 in u1 and T2 in u2, convert them both to a common scale (which might be u1 or u2 or some other scale) using your temp function, and then compare the resulting values. -- Denis McMahon, denismfmcma...@gmail.com -- https://mail.python.org/mailman

Re: Help with python functions?

2013-09-24 Thread Denis McMahon
which takes the same params as comp do: def f( t1, u1, t2, u2 ): if u1 == u2: return t2 else: return temp( t2, u2, u1 ) -- Denis McMahon, denismfmcma...@gmail.com -- https://mail.python.org/mailman/listinfo/python-list

Re: Help with python functions?

2013-09-24 Thread Denis McMahon
if they're in different units (2 lines), and then do his comparison (5 lines). -- Denis McMahon, denismfmcma...@gmail.com -- https://mail.python.org/mailman/listinfo/python-list

Re: Help with python functions?

2013-09-24 Thread Denis McMahon
On Tue, 24 Sep 2013 14:51:31 +, Denis McMahon wrote: Question, given the original temp function as previously described by yourself, what does the following function f which takes the same params as comp do: def f( t1, u1, t2, u2 ): if u1 == u2: return t2 else

Re: Referrer key missing form os.environ dictionary?

2013-09-25 Thread Denis McMahon
protocols issue that has nothing whatsoever to do with python. -- Denis McMahon, denismfmcma...@gmail.com -- https://mail.python.org/mailman/listinfo/python-list

Re: Handling 3 operands in an expression without raising an exception

2013-09-26 Thread Denis McMahon
( some_value ) if some_value: host = some_function_of( some_value ) else: host = some_value or even: try: host = some_function_of( some_function_of( some_value ) or some_function_of( some_value ) ) except some_error_type [ or some_error_type ]: host = some_value -- Denis McMahon

Re: Handling 3 operands in an expression without raising an exception

2013-09-26 Thread Denis McMahon
') is false or Άγνωστη Προέλευση )[0] The you try and get the host name from the ip address Άγνωστη Προέλευση, but Άγνωστη Προέλευση is not an ip address, so you get an error. -- Denis McMahon, denismfmcma...@gmail.com -- https://mail.python.org/mailman/listinfo/python-list

Re: Handling 3 operands in an expression without raising an exception

2013-09-26 Thread Denis McMahon
to have. -- Denis McMahon, denismfmcma...@gmail.com -- https://mail.python.org/mailman/listinfo/python-list

Re: Handling 3 operands in an expression without raising an exception

2013-09-26 Thread Denis McMahon
: except socket.gaierror as e: city = host = UnKnown Origin To: except socket.gaierror as e: city = Unknown City host = Unknown Host -- Denis McMahon, denismfmcma...@gmail.com -- https://mail.python.org/mailman/listinfo/python-list

Re: Handling 3 operands in an expression without raising an exception

2013-09-27 Thread Denis McMahon
it a lot easier to maintain in future. -- Denis McMahon, denismfmcma...@gmail.com -- https://mail.python.org/mailman/listinfo/python-list

Re: card dealer

2013-09-27 Thread Denis McMahon
seem to be better on the importing entropy from elsewhere front these days. -- Denis McMahon, denismfmcma...@gmail.com -- https://mail.python.org/mailman/listinfo/python-list

Re: what is wrong in my code?? (python 3.3)

2013-09-27 Thread Denis McMahon
ранее предусматривалась смертная казнь. - This really doesn't look like a python issue (again). -- Denis McMahon, denismfmcma...@gmail.com -- https://mail.python.org/mailman/listinfo/python-list

Re: Handling 3 operands in an expression without raising an exception

2013-09-27 Thread Denis McMahon
such long names. Surely c,h=0,0 is vastly superior? Why not c=h=0 2 characters (28%) shorter! -- Denis McMahon, denismfmcma...@gmail.com -- https://mail.python.org/mailman/listinfo/python-list

Re: Help me with Python please (picture)

2013-09-27 Thread Denis McMahon
, and then print the variable? Or perhaps not, perhaps you were going to do the output some other way? -- Denis McMahon, denismfmcma...@gmail.com -- https://mail.python.org/mailman/listinfo/python-list

Re: Handling 3 operands in an expression without raising an exception

2013-09-29 Thread Denis McMahon
failed to be assigned a value that we can use in order to decide to which variable we will Yes, set the default values first, and overwrite them with the successful values when the values are successfully calculated. This is a very common method used in many programming languages. -- Denis McMahon

Re: Handling 3 operands in an expression without raising an exception

2013-09-29 Thread Denis McMahon
with people who are offering you solutions to your problems solely based on the fact that you don't like their coding styles. You are the one who comes here asking for solutions. Either accept the solutions you are offered, or stop asking for them. -- Denis McMahon, denismfmcma...@gmail.com

Re: UnicodeDecodeError: 'utf-8' codec can't decode byte 0xb6 in position 0: invalid start byte

2013-09-30 Thread Denis McMahon
patches given here being 100% incorrect? I'm sending you the bill for hospital admission. I laughed so hard I fell off of my chair and banged my head! -- Denis McMahon, denismfmcma...@gmail.com -- https://mail.python.org/mailman/listinfo/python-list

Re: Help with python functions?

2013-10-01 Thread Denis McMahon
^ years Finally multiply the compounded interest by the principal Mathematically: principal * ( ( 1 + ( period_interest_% / 100 ) ) ^ periods ) Again, this should be possible as a single line function. All you have to do is turn the math into python code. -- Denis McMahon, denismfmcma

Re: JUST GOT HACKED

2013-10-01 Thread Denis McMahon
-8, basic internet security And this is just based on the last 30 days of your posts! -- Denis McMahon, denismfmcma...@gmail.com -- https://mail.python.org/mailman/listinfo/python-list

Re: I haev fixed it

2013-10-02 Thread Denis McMahon
legal action, I suggest you run a comprehensive credit check on your target. -- Denis McMahon, denismfmcma...@gmail.com -- https://mail.python.org/mailman/listinfo/python-list

Re: JUST GOT HACKED

2013-10-02 Thread Denis McMahon
line solution. The mocking was because you were failing to recognise that if it doesn't work, it's not a solution, no matter how nice it looks. -- Denis McMahon, denismfmcma...@gmail.com -- https://mail.python.org/mailman/listinfo/python-list

Re: Can arbitrary code run in a server if someone's know just the MySQL password?

2013-10-02 Thread Denis McMahon
, and then wrote the contents of that block of memory to disc as a file. (This explanation may contain some assumptions.) -- Denis McMahon, denismfmcma...@gmail.com -- https://mail.python.org/mailman/listinfo/python-list

Re: I haev fixed it

2013-10-02 Thread Denis McMahon
? You're making the sort of demand for an apology that's usually followed by a comment such as or I will sue you for defamation. Personally I think demanding an apology is a waste of time and ng bandwidth, but *shrugs* whatever. -- Denis McMahon, denismfmcma...@gmail.com -- https://mail.python.org

Re: Select fails when cookie tried to get a numeric value

2013-10-05 Thread Denis McMahon
to help you, ever! -- Denis McMahon, denismfmcma...@gmail.com -- https://mail.python.org/mailman/listinfo/python-list

Re: Select fails when cookie tried to get a numeric value

2013-10-06 Thread Denis McMahon
in several of the languages I knew just to prove I could do it. -- Denis McMahon, denismfmcma...@gmail.com -- https://mail.python.org/mailman/listinfo/python-list

Re: Code golf challenge: XKCD 936 passwords

2013-10-08 Thread Denis McMahon
characters :-) Doesn't matter where it is, a link to it exists at /w now ;) -- Denis McMahon, denismfmcma...@gmail.com -- https://mail.python.org/mailman/listinfo/python-list

Re: Re for Apache log file format

2013-10-08 Thread Denis McMahon
in '' characters, and uses '-' as an empty field. So I think every element should match: (\S+|[^]+|-) and there should be \s+ between elements. -- Denis McMahon, denismfmcma...@gmail.com -- https://mail.python.org/mailman/listinfo/python-list

Re: Cookie gets changed when hit comes from a referrer

2013-10-08 Thread Denis McMahon
to not use cookies, aren't you. Nick, if a user doesn't want to be tracked, you can't track them. The user controls all the data their machine sends to you. This means that they can manipulate it. Nothing you can do will prevent this. -- Denis McMahon, denismfmcma...@gmail.com -- https

Re: Cookie gets changed when hit comes from a referrer

2013-10-08 Thread Denis McMahon
the server thinks it's setting the cooking to, what the browser thinks it received as the cookie, and what the server gets back afterwards to work out where the error is happening. -- Denis McMahon, denismfmcma...@gmail.com -- https://mail.python.org/mailman/listinfo/python-list

Re: Cookie gets changed when hit comes from a referrer

2013-10-09 Thread Denis McMahon
On Wed, 09 Oct 2013 01:52:44 +0300, Νίκος Αλεξόπουλος wrote: Στις 8/10/2013 10:29 μμ, ο/η Denis McMahon έγραψε: Have you checked the cookie jar in the browser to see what value the cookie has? Is that the value you think it should have? Note that checking the cookie jar is a browser topic

Re: Cookie gets changed when hit comes from a referrer

2013-10-09 Thread Denis McMahon
. -- Denis McMahon, denismfmcma...@gmail.com -- https://mail.python.org/mailman/listinfo/python-list

Re: Cookie gets changed when hit comes from a referrer

2013-10-09 Thread Denis McMahon
On Wed, 09 Oct 2013 18:00:28 +0300, Νίκος Αλεξόπουλος wrote: Στις 9/10/2013 5:43 μμ, ο/η Denis McMahon έγραψε: On Wed, 09 Oct 2013 01:52:44 +0300, Νίκος Αλεξόπουλος wrote: Στις 8/10/2013 10:29 μμ, ο/η Denis McMahon έγραψε: Have you checked the cookie jar in the browser to see what value

Re: Cookie gets changed when hit comes from a referrer

2013-10-09 Thread Denis McMahon
On Wed, 09 Oct 2013 18:00:28 +0300, Νίκος Αλεξόπουλος wrote: Στις 9/10/2013 5:43 μμ, ο/η Denis McMahon έγραψε: On Wed, 09 Oct 2013 01:52:44 +0300, Νίκος Αλεξόπουλος wrote: Στις 8/10/2013 10:29 μμ, ο/η Denis McMahon έγραψε: Have you checked the cookie jar in the browser to see what value

Re: Cookie gets changed when hit comes from a referrer

2013-10-09 Thread Denis McMahon
On Wed, 09 Oct 2013 23:48:12 +, Steven D'Aprano wrote: On Wed, 09 Oct 2013 18:06:05 +, Denis McMahon wrote: Find the relevant forums and ask in them. In fairness to Nikos, that may not be an easy thing to do. I for one have *no idea* where to find an appropriate forum to learn

Re: Cookie gets changed when hit comes from a referrer

2013-10-10 Thread Denis McMahon
me to fuck off too? I wonder what you are doing here, if you are so unwilling to share your hard-earned knowledge with others as you seem in this post. This attitude is not the Denis McMahon I'm used to. I'm not unwilling, but this forum is not the place for tcp/ip 101, or http 101, or smtp 101

Re: basic maze problem with turtle

2013-10-13 Thread Denis McMahon
, and hence far superior to any solution more mundane coders might produce. -- Denis McMahon, denismfmcma...@gmail.com -- https://mail.python.org/mailman/listinfo/python-list

Re: basic maze problem with turtle

2013-10-14 Thread Denis McMahon
On Sun, 13 Oct 2013 23:54:34 +, Steven D'Aprano wrote: (and Gary Herron wrote similar) Was that really necessary? Am I still pissed at being told my solution was crap because it had too many lines? -- Denis McMahon, denismfmcma...@gmail.com -- https://mail.python.org/mailman/listinfo

Re: Trying to force turtle back to beginning of maze after collides with wall

2013-10-14 Thread Denis McMahon
that represent walls. Navigating such a maze graphically would require allocating co-ordinates in the same drawing space to the centres of the rooms, and moving between adjacent room centres provided the exit was open. -- Denis McMahon, denismfmcma...@gmail.com -- https://mail.python.org/mailman

Re: Searching for a list of strings in a file with Python

2013-10-14 Thread Denis McMahon
all the search strings into a list while there's data in shakes read a line from shakes for each string in search string list search the line from shakes for the search string -- Denis McMahon, denismfmcma...@gmail.com -- https://mail.python.org/mailman/listinfo/python-list

Re: Cookie aint retrieving when visiting happens from a backlink.

2013-10-25 Thread Denis McMahon
. Oh look, that's almost the same advice I gave you about 10 days ago! So you've spent 10 days ignoring my advice, and then you call Chris lazy. -- Denis McMahon, denismfmcma...@gmail.com -- https://mail.python.org/mailman/listinfo/python-list

Re: Cookie aint retrieving when visiting happens from a backlink.

2013-10-25 Thread Denis McMahon
is wrong and the module cannot be installed? 'ascii' codec can't decode byte 0xe7 in position 2255: ordinal not in range(128) Hmm, let me try and phrase this in a way you might understand: You fed poison to baby. Baby got sick and died. -- Denis McMahon, denismfmcma...@gmail.com -- https

Re: Cookie issue(cant fix it with anyhting)

2013-10-27 Thread Denis McMahon
used twice. So, whatever behaviour you're seeing is not what I'm seeing. -- Denis McMahon, denismfmcma...@gmail.com -- https://mail.python.org/mailman/listinfo/python-list

Re: Error Testing

2013-10-31 Thread Denis McMahon
] language [was] hacked together haphazardly. That's like me saying that when your uncle flies, he just pulls and pushes levers and knobs randomly hoping he doesn't crash - and that would be disrespecting your uncle. -- Denis McMahon, denismfmcma...@gmail.com -- https://mail.python.org/mailman

Re: Error Testing

2013-10-31 Thread Denis McMahon
On Thu, 31 Oct 2013 10:56:12 -0700, rusi wrote: On Thursday, October 31, 2013 11:20:52 PM UTC+5:30, Denis McMahon wrote: On Thu, 31 Oct 2013 09:05:04 -0700, rusi wrote: If I say: My uncle knows more about flying planes than the Wright brothers am I disrespecting the Wright brothers

Re: Retrieving possible list for use in a subsequent INSERT

2013-11-01 Thread Denis McMahon
suspect the issue is that, as a list type, the pysql interface expects to map downloads to either multiple columns, or one column in multiple rows, ie it is expecting the list to deliver multiple data items to the database, but the database is looking for a single data item. -- Denis McMahon

Re: Retrieving possible list for use in a subsequent INSERT

2013-11-02 Thread Denis McMahon
needed. As an observation, if you are simply providing a torrent search engine, you do not need to log or record anything at all. -- Denis McMahon, denismfmcma...@gmail.com -- https://mail.python.org/mailman/listinfo/python-list

Re: How to add a current string into an already existing list

2013-11-02 Thread Denis McMahon
with the mysql designers. -- Denis McMahon, denismfmcma...@gmail.com -- https://mail.python.org/mailman/listinfo/python-list

Re: Automation

2013-11-03 Thread Denis McMahon
write excel to do the calculations? Assuming PV, MV and SP are in columns, you simply need to write your equations for Kp, Ki and Kd so that they reference the relevant columns, and then past them down the whole spreadsheet. Seems to me like you're using a sledgehammer to shell a peanut. -- Denis

Re: Automation

2013-11-04 Thread Denis McMahon
On Sun, 03 Nov 2013 23:32:46 +, Denis McMahon wrote: On Sun, 03 Nov 2013 14:19:48 -0200, Renato Barbosa Pim Pereira wrote: I have one .xls file with the values of PV MV and SP, I wanna to calculate Kp Ki Kd with python from this file, can anyone give me any suggestion about how can I do

Re: How to add a current string into an already existing list

2013-11-04 Thread Denis McMahon
, because mysql does not have a collection record type. -- Denis McMahon, denismfmcma...@gmail.com -- https://mail.python.org/mailman/listinfo/python-list

Re: How to add a current string into an already existing list

2013-11-05 Thread Denis McMahon
many other people do you see repeatedly posting I don't understand the error, help messages here that have been caused by such simple coding mistakes? Most of us can decipher these error messages ourselves and would be embarrassed to post asking for help. -- Denis McMahon, denismfmcma

Re: Help me with this code PLEASE

2013-11-05 Thread Denis McMahon
, and display the list contents, then do the same for list 2, then retrieve all the data from the db and reproduce each list in turn. Then you might be ready to try coding what you're trying to code. -- Denis McMahon, denismfmcma...@gmail.com -- https://mail.python.org/mailman/listinfo/python-list

Re: Help me with this code PLEASE

2013-11-05 Thread Denis McMahon
downloads in his list that the converted list doesn't fit in the declared string column width in your database? -- Denis McMahon, denismfmcma...@gmail.com -- https://mail.python.org/mailman/listinfo/python-list

Re: Help me with this code PLEASE

2013-11-05 Thread Denis McMahon
and to the database. Holy smoke batman, that's a lot of data. Or you could use the database properly, and just write the 40 byte torrent file name to the database with a pointer to the user's record every time a user downloads another torrent. -- Denis McMahon, denismfmcma...@gmail.com -- https

Re: Adding 'download' column to existing 'visitors' table (as requested)

2013-11-06 Thread Denis McMahon
enough. You refuse to learn the right way to do it. You won't listen to the opinions and suggestions of people with a great deal more experience than you have in such matters. It's not going to work properly in the end. I refuse to be associated with it any further. -- Denis McMahon, denismfmcma

Re: Help with my programming homework (python, and raptor)

2013-11-06 Thread Denis McMahon
receiving = similar for minimum I might have missed something from the original spec, but as I recall, you just wanted min, max and avg salaries, and to know who was getting the min and max, yes? -- Denis McMahon, denismfmcma...@gmail.com -- https://mail.python.org/mailman/listinfo/python

Re: To whoever hacked into my Database

2013-11-07 Thread Denis McMahon
On Wed, 06 Nov 2013 10:34:34 -0500, Joel Goldstick wrote: Okey let the hacker try again to mess with my database!!! Nothing like a good challenge. I think the hacker is a figment of Nick's imagination, or rather a consequence of his broken python code corrupting his data. -- Denis McMahon

Re: To whoever hacked into my Database

2013-11-07 Thread Denis McMahon
using a hand crafted get or post request that exploited some vulnerability that you have carelessly posted in an internet forum and then ignored advice to make secure. -- Denis McMahon, denismfmcma...@gmail.com -- https://mail.python.org/mailman/listinfo/python-list

Re: To whoever hacked into my Database

2013-11-08 Thread Denis McMahon
On Fri, 08 Nov 2013 01:28:19 +0200, Νίκος Αλεξόπουλος wrote: If i was completely incompetent i wouldn't had a working website and i wasn't able to design my customers' webpages. If your website is working, why do you keep posting here asking us how to fix it? -- Denis McMahon, denismfmcma

Re: To whoever hacked into my Database

2013-11-08 Thread Denis McMahon
On Fri, 08 Nov 2013 01:10:37 +, Steve Simmons wrote: I must say that I kinda like the idea of Nick's computer gagging on his code and sending him messages pleading that he educated himself. It's a more likely scenario that Nick learning to code properly. -- Denis McMahon, denismfmcma

Re: datetime question

2013-11-08 Thread Denis McMahon
On Sat, 09 Nov 2013 00:01:37 +0200, Νίκος Αλεξόπουλος wrote: I saw the link and i'm wondering if it can be written in 1-liner. Yes, but you have to rewrite all your code in perl to do this. -- Denis McMahon, denismfmcma...@gmail.com -- https://mail.python.org/mailman/listinfo/python-list

Re: datetime question

2013-11-11 Thread Denis McMahon
, but the scarcity of universal whitespace is preventing me from posting it. -- Denis McMahon, denismfmcma...@gmail.com -- https://mail.python.org/mailman/listinfo/python-list

Re: datetime question

2013-11-12 Thread Denis McMahon
On Tue, 12 Nov 2013 12:47:58 +, Andy Lawton wrote: (I think Europe/Kiev is Greece but I don't know) I suspect Nick is really in a coding sweatshop in Asia/Mumbai -- Denis McMahon, denismfmcma...@gmail.com -- https://mail.python.org/mailman/listinfo/python-list

Re: datetime question

2013-11-12 Thread Denis McMahon
to a different site (eg disaster recovery) UTC is still UTC. -- Denis McMahon, denismfmcma...@gmail.com -- https://mail.python.org/mailman/listinfo/python-list

Re: Chinese Zodiac - python project

2013-11-12 Thread Denis McMahon
the yearname from the thing return constipated program (this is obviously not written as python code, you have to do that bit yourself) -- Denis McMahon, denismfmcma...@gmail.com -- https://mail.python.org/mailman/listinfo/python-list

Re: Some python newb help please?

2013-11-12 Thread Denis McMahon
a corrected version next week. -- Denis McMahon, denismfmcma...@gmail.com -- https://mail.python.org/mailman/listinfo/python-list

Re: Chinese Zodiac - python project

2013-11-13 Thread Denis McMahon
On Wed, 13 Nov 2013 16:44:03 -0800, edmundicon wrote: Den tisdagen den 12:e november 2013 kl. 23:50:03 UTC+1 skrev Denis McMahon: On Tue, 12 Nov 2013 14:04:08 -0800, edmundicon wrote: Greetings everyone! This is my first post on this forum :) TL;DR: I want to convert

Re: Trying tcompile an use the Python 3.4a

2013-11-13 Thread Denis McMahon
the public internet upon which python code is executed in response to inputs from the public internet. -- Denis McMahon, denismfmcma...@gmail.com -- https://mail.python.org/mailman/listinfo/python-list

Re: understanding someone else's program

2013-11-15 Thread Denis McMahon
fahrenheit to centigrade. As you do this add relevant comments to the code. Eventually you'll have code with sensible variable names and comments that hopefully describe what it does. -- Denis McMahon, denismfmcma...@gmail.com -- https://mail.python.org/mailman/listinfo/python-list

Re: Question regarding 2 modules installed via 'pip'

2013-11-16 Thread Denis McMahon
just get too much abuse because (in his opinion) your answer includes excessive whitespace. -- Denis McMahon, denismfmcma...@gmail.com -- https://mail.python.org/mailman/listinfo/python-list

Re: Newbie - Trying to Help a Friend

2013-11-19 Thread Denis McMahon
; ] display new x to the user; } -- Denis McMahon, denismfmcma...@gmail.com -- https://mail.python.org/mailman/listinfo/python-list

Re: Got a Doubt ! Wanting for your Help ! Plz make it ASAP !

2013-11-22 Thread Denis McMahon
for the asked queries) ? The codes are: 1) 7373a28109a7c4473a475b2137aa92d5 2) f2fae9a4ad5ded75e4d8ac34b90d5c9c 3) 935544894ca6ad7239e0df048b9ec3e5 4) b1bc9942d029a4a67e4b368a1ff8d883 Please contact your local government eavesdropping agency for assistance on decoding the codes. -- Denis

Re: Newbie - Trying to Help a Friend

2013-11-22 Thread Denis McMahon
On Wed, 20 Nov 2013 11:38:14 +, Duncan Booth wrote: Denis McMahon denismfmcma...@gmail.com wrote: 1) Find all the numbers less than n that are not divisible by a, b, or c. ask the user for x; assign the value 0 to some other variable i; while i is not greater than than x do

Re: Got a Doubt ! Wanting for your Help ! Plz make it ASAP !

2013-11-23 Thread Denis McMahon
On Sat, 23 Nov 2013 02:18:03 +, Steven D'Aprano wrote: On Sat, 23 Nov 2013 01:55:44 +, Denis McMahon wrote: On Fri, 22 Nov 2013 18:22:29 +0530, Bharath Kummar wrote: Could you PLEASE provide me with the codes (codes only for the asked queries) ? The codes are: 1

Re: Cracking hashes with Python

2013-11-26 Thread Denis McMahon
some code goes here ... print original string was:, result Algorithms for cracking md5 hashes is not a python topic, but rather a cryptography topic. When you find an algorithm to use, then if you have trouble converting it into code we may be able to help with that bit. -- Denis

Re: Cracking hashes with Python

2013-11-26 Thread Denis McMahon
solved this hash! load_dictionary( dictionary file name ) get_hashes( http://www.website.tld/path/file.ext; ) brute_force() -- Denis McMahon, denismfmcma...@gmail.com -- https://mail.python.org/mailman/listinfo/python-list

Re: Cracking hashes with Python

2013-11-27 Thread Denis McMahon
to get the hash strings from the web url, it is nuts to output them to the screen and then type them back in to the cracking program when you can just add the code to get them from the web to the cracking program. -- Denis McMahon, denismfmcma...@gmail.com -- https://mail.python.org/mailman

Re: The input and output is as wanted, but why error?

2013-12-03 Thread Denis McMahon
not source code, it's a url. Please, I need help. As my newsreader isn't a web browser, I can't help. Sorry. -- Denis McMahon, denismfmcma...@gmail.com -- https://mail.python.org/mailman/listinfo/python-list

Re: interactive help on the base object

2013-12-08 Thread Denis McMahon
methods are inherited by all classes unless overriden. -- Denis McMahon, denismfmcma...@gmail.com -- https://mail.python.org/mailman/listinfo/python-list

Re: Experiences/guidance on teaching Python as a first programming language

2013-12-10 Thread Denis McMahon
. And yes, I can dovetail, mortise and tenon, dowel etc etc etc. -- Denis McMahon, denismfmcma...@gmail.com -- https://mail.python.org/mailman/listinfo/python-list

Re: min max from tuples in list

2013-12-12 Thread Denis McMahon
b[x[0]] eists than trapping keyError. -- Denis McMahon, denismfmcma...@gmail.com -- https://mail.python.org/mailman/listinfo/python-list

Re: accessing a page which request an openID authentication

2013-12-13 Thread Denis McMahon
On Fri, 13 Dec 2013 02:32:49 -0800, uni.mail.2014 wrote: I have a page that request an openID authentication And your Python question is? -- Denis McMahon, denismfmcma...@gmail.com -- https://mail.python.org/mailman/listinfo/python-list

Re: want to run proxy in python

2013-12-13 Thread Denis McMahon
On Fri, 13 Dec 2013 03:39:44 -0800, Jai wrote: hey , will u guide me how to run proxies from python http://lmgtfy.com/?q=ip+address+spoofing -- Denis McMahon, denismfmcma...@gmail.com -- https://mail.python.org/mailman/listinfo/python-list

Re: New to Python, Help to get script working?

2013-12-15 Thread Denis McMahon
) -- Denis McMahon, denismfmcma...@gmail.com -- https://mail.python.org/mailman/listinfo/python-list

Re: Want guidance to set proxy please help

2013-12-16 Thread Denis McMahon
. -- Denis McMahon, denismfmcma...@gmail.com -- https://mail.python.org/mailman/listinfo/python-list

Re: Wrapping around a list in Python.

2013-12-16 Thread Denis McMahon
: q.pop() q.appendleft( item ) def get_next( q ): if len( q ) 0: return q.pop() return None To move from position 3 to position 0 (right to left), swap pop and appendleft for popleft and append. -- Denis McMahon, denismfmcma...@gmail.com -- https

Re: Web Server for Python

2013-12-16 Thread Denis McMahon
On Mon, 16 Dec 2013 19:20:20 -0800, Mura Zalukhu wrote: Could you give me the best tutorial / web for python. For example how to make a connection with database. Which database? Which version of Python? Google may help. So will the Python on-line documentation. -- Denis McMahon, denismfmcma

Struggling for inspiration with lists

2013-12-17 Thread Denis McMahon
if o max_len: max_len = 0 max_start_a = i max_start_b = j j += 1 i += 1 print d[max_start_a][0], d[max_start_b][0], max_len Is there a better way to do this? -- Denis McMahon, denismfmcma...@gmail.com -- https://mail.python.org/mailman/listinfo/python-list

Re: HOW TO HANDLE CAPTCHA WHILE PARSING A WEB SITE

2013-12-18 Thread Denis McMahon
-- Denis McMahon, denismfmcma...@gmail.com -- https://mail.python.org/mailman/listinfo/python-list

Re: how to handle captcha through machanize module or any module

2013-12-18 Thread Denis McMahon
you bypass them. -- Denis McMahon, denismfmcma...@gmail.com -- https://mail.python.org/mailman/listinfo/python-list

Re: Variables in a loop, Newby question

2013-12-24 Thread Denis McMahon
(to the program unit) variable. If you want this process to provide data to other processes, you might want to look at using a socket so they can request it as needed. -- Denis McMahon, denismfmcma...@gmail.com -- https://mail.python.org/mailman/listinfo/python-list

Re: Variables in a loop, Newby question

2013-12-25 Thread Denis McMahon
On Wed, 25 Dec 2013 16:42:47 +1100, Cameron Simpson wrote: On 25Dec2013 02:54, Denis McMahon denismfmcma...@gmail.com wrote: On Tue, 24 Dec 2013 10:27:13 -0800, vanommen.robert wrote: In this script i want to read the temperatures and make them available to other scripts. [...] If you want

  1   2   3   4   5   >