Babel i18n package has new maintainers

2013-07-09 Thread Stefan Behnel
Hi, I've been looking for a Python package for formatting international dates, numbers and monetary values in a web context for a couple of days now, but the only thing that I could find that looked suitable at first sight was the Babel package, of which the last release dates back two years, with

Re: Best Scripting Language for Embedded Work?

2013-07-09 Thread Alain Ketterlin
David T. Ashley writes: > We develop embedded software for 32-bit micros using Windows as the > development platform. I'll mostly ignore the "Windows" qualifier. If you're stuck with Windows CE or similar, then ask them what they suggest. If you're developing on Windows and deploy on something e

Re: Default scope of variables

2013-07-09 Thread Frank Millman
"Ian Kelly" wrote in message news:calwzidnf3obe0enf3xthlj5a40k8hxvthveipecq8+34zxy...@mail.gmail.com... > On Tue, Jul 9, 2013 at 10:07 AM, Ethan Furman wrote: >> You could also do it like this: >> >> def updating(self): >> self.transaction_active = True >> return self > > Ye

Re: the general development using Python

2013-07-09 Thread Joshua Landau
On 10 July 2013 05:49, CM wrote: > On Wednesday, July 10, 2013 12:12:16 AM UTC-4, Joshua Landau wrote: >> On , CM wrote: >> >> > What I was thinking of was that if you are going to sell software, you >> > want to make it as easy as possible, and that includes not making the >> > potential custo

Re: Beginner - GUI devlopment in Tkinter - Any IDE with drag and drop feature like Visual Studio?

2013-07-09 Thread CM
On Tuesday, July 9, 2013 4:33:17 AM UTC-4, Aseem Bansal wrote: > Thanks @Dave Cook. > > > > I'll try wxPython. If so, the hoary but working Boa Constructor 0.7 is a drag and drop GUI builder for wxPython applications. Well, more like click and then click again, then drag around. It's also a

Re: the general development using Python

2013-07-09 Thread CM
On Wednesday, July 10, 2013 12:12:16 AM UTC-4, Joshua Landau wrote: > On , CM wrote: > > > What I was thinking of was that if you are going to sell software, you want > > to make it as easy as possible, and that includes not making the potential > > customer have to install anything, or even ag

Re: the general development using Python

2013-07-09 Thread Joshua Landau
On , CM wrote: > What I was thinking of was that if you are going to sell software, you want > to make it as easy as possible, and that includes not making the potential > customer have to install anything, or even agree to allow you to "explicitly" > install a runtime on their computer. If th

Re: crack a router passcode

2013-07-09 Thread alex23
On 10/07/2013 6:59 AM, Dave Angel wrote: On 07/09/2013 12:06 PM, Ferrous Cranus wrote: What is the reason of a spambot? Spam a usenet forum to gain what? All I know is it was obvious that there were about 8 spam messages, and so I ignored them. They were from one email address (then two), and

Re: the general development using Python

2013-07-09 Thread Chris Angelico
On Wed, Jul 10, 2013 at 12:16 PM, CM wrote: > On Tuesday, July 9, 2013 8:14:44 PM UTC-4, Joshua Landau wrote: >> Yeah, but not for Python :P. For Python .exe files are a rarity and >> should be kept that way. > > That there is a significant interest in creating exe files suggest that not > everyo

Re: looking for a new router

2013-07-09 Thread Skip Montanaro
> But hey, the plunge router recommendations are great! Yeah, based on Grant's research, I found a used PC 690-series base on eBay for my wife for her birthday. I think she will be psyched. Lots easier to make keyhole slots with a plunge base. :-) Skip -- http://mail.python.org/mailman/listin

Re: the general development using Python

2013-07-09 Thread CM
On Tuesday, July 9, 2013 8:14:44 PM UTC-4, Joshua Landau wrote: > > I still think you are overstating it somewhat. Have a website on which you > > distribute your software to end users (and maybe even--gasp--charge them > > for it)? *That's* a good reason. > Not really. It'd be a good reason

Re: Best Scripting Language for Embedded Work?

2013-07-09 Thread Dave Angel
On 07/09/2013 09:29 PM, David T. Ashley wrote: We develop embedded software for 32-bit micros using Windows as the development platform. We are seeking a general purpose scripting language to automate certain tasks, like cleaning out certain directories of certain types of files in preparation f

Best Scripting Language for Embedded Work?

2013-07-09 Thread David T . Ashley
We develop embedded software for 32-bit micros using Windows as the development platform. We are seeking a general purpose scripting language to automate certain tasks, like cleaning out certain directories of certain types of files in preparation for ZIP'ing, generating certain source files autom

Re: the general development using Python

2013-07-09 Thread Joshua Landau
On 10 July 2013 00:35, CM wrote: > On Tuesday, July 9, 2013 5:13:17 PM UTC-4, Joshua Landau wrote: >> On 9 July 2013 03:08, Adam Evanovich wrote: >> > Can you wrap source code/libs/apps into an EXE and just >> > send that to the end user? Or is it more complicated for them? > >> Urm.. yes. But d

Re: A small question about PEP 8

2013-07-09 Thread llanitedave
I definitely prefer the 'fool' style. -- http://mail.python.org/mailman/listinfo/python-list

Re: the general development using Python

2013-07-09 Thread CM
On Tuesday, July 9, 2013 5:21:22 PM UTC-4, Joshua Landau wrote: > On 9 July 2013 05:46, CM wrote: > > Maybe 5-20 MB. That's a lot bigger than a few hundred K, but it's not that > > important to keep size down, really. > Fair enough. It's not something I'd EMail to a friend, though. Again, a

Re: the general development using Python

2013-07-09 Thread CM
On Tuesday, July 9, 2013 5:13:17 PM UTC-4, Joshua Landau wrote: > On 9 July 2013 03:08, Adam Evanovich wrote: > > Can you wrap source code/libs/apps into an EXE and just > > send that to the end user? Or is it more complicated for them? > > Urm.. yes. But don't. That's the "nuclear" option and

Re: looking for a new router

2013-07-09 Thread llanitedave
On Tuesday, July 9, 2013 2:14:36 PM UTC-7, Dave Angel wrote: > On 07/09/2013 01:29 AM, Kumita Bruce wrote: > > > Agree. > > > > > > Sir, this mailing list is for Python discussion. :) > > > > > > > Save your breath. saadharana and saishreemathi are spambots, and are > > undoubtedly not "l

Re: the general development using Python

2013-07-09 Thread CM
On Tuesday, July 9, 2013 1:03:14 AM UTC-4, Chris Angelico wrote: > On Tue, Jul 9, 2013 at 2:46 PM, CM wrote: > > >> Target the three most popular desktop platforms all at once, no > > >> Linux/Windows/Mac OS versioning. > > > Ehhh... There are differences, in, e.g., wxPython between the three

Re: Recursive class | can you modify self directly?

2013-07-09 Thread Ethan Furman
On 07/09/2013 03:01 PM, Russel Walker wrote: This is a simplified example of what I want to do: # THIS DOESN'T WORK from random import choice class Expr(object): """ Expr(expr, op, val) -> an expression object. """ def __init__(self, expr, op='', val=''): self.ex

Re: Recursive class | can you modify self directly?

2013-07-09 Thread Dave Angel
On 07/09/2013 06:01 PM, Russel Walker wrote: Sorry for the vague title. Probably best to just show you the code that explains it better. This is a simplified example of what I want to do: # THIS DOESN'T WORK from random import choice class Expr(object): """ Expr(expr, op, val) -> a

Re: Recursive class | can you modify self directly?

2013-07-09 Thread Ian Kelly
On Tue, Jul 9, 2013 at 4:18 PM, Ian Kelly wrote: > If you actually want to modify the current object, you would need to > do something like: > > def expand(self): > import copy > self.expr = Expr(self.expr, self.op, self.val) > self.op = choice('+-*/') > self.va

Re: Recursive class | can you modify self directly?

2013-07-09 Thread Ian Kelly
On Tue, Jul 9, 2013 at 4:01 PM, Russel Walker wrote: > Sorry for the vague title. Probably best to just show you the code that > explains it better. > > This is a simplified example of what I want to do: > > > # THIS DOESN'T WORK > from random import choice > > class Expr(object): > """ >

Recursive class | can you modify self directly?

2013-07-09 Thread Russel Walker
Sorry for the vague title. Probably best to just show you the code that explains it better. This is a simplified example of what I want to do: # THIS DOESN'T WORK from random import choice class Expr(object): """ Expr(expr, op, val) -> an expression object. """ def __init__(se

Re: the general development using Python

2013-07-09 Thread Joshua Landau
On 9 July 2013 05:46, CM wrote: *I said*: >> There are projects that "bundle" the CPython interpreter with your >> project, but this makes those files really big. > > Maybe 5-20 MB. That's a lot bigger than a few hundred K, but it's not that > important to keep size down, really. Fair enough. I

Re: looking for a new router

2013-07-09 Thread Dave Angel
On 07/09/2013 01:29 AM, Kumita Bruce wrote: Agree. Sir, this mailing list is for Python discussion. :) Save your breath. saadharana and saishreemathi are spambots, and are undoubtedly not "listening." -- DaveA -- http://mail.python.org/mailman/listinfo/python-list

Re: the general development using Python

2013-07-09 Thread Joshua Landau
On 9 July 2013 03:08, Adam Evanovich wrote: > Joshua, > > Why did you send me an email reply instead of replying in the google groups? Apologies, although it's not quite that simple. I access this list the way it was originally intended -- through EMail. I replied "to all", which default to both

Re: Editor Ergonomics [was: Important features for editors]

2013-07-09 Thread Terry Reedy
On 7/9/2013 8:12 AM, Neil Cerutti wrote: On 2013-07-09, Jason Friedman wrote: I am right-handed and use a lefty-mouse about 50% of the time. It was difficult at first, now I'm almost as fast lefty as righty. As has been stated by others, changing the muscles being used reduces the impact on any

Re: crack a router passcode

2013-07-09 Thread Dave Angel
On 07/09/2013 12:06 PM, Ferrous Cranus wrote: What is the reason of a spambot? Spam a usenet forum to gain what? Spam is unsolicited advertising. A bot is a robot, or other automated device. So Spambots on a usenet newsgroup send apparently innocent questions that also contain lin

Re: Default scope of variables

2013-07-09 Thread Ethan Furman
On 07/09/2013 11:41 AM, Ian Kelly wrote: On Tue, Jul 9, 2013 at 11:23 AM, Ethan Furman wrote: On 07/09/2013 09:44 AM, Ian Kelly wrote: On Tue, Jul 9, 2013 at 10:07 AM, Ethan Furman wrote: You could also do it like this: def updating(self): self.transaction_active = True

Re: multiprocessing

2013-07-09 Thread Ian Kelly
On Tue, Jul 9, 2013 at 12:09 PM, wrote: > I am a beginner with Python, coming from R, and I am having problems with > parallelization with the multiprocessing module. I know that other people > have asked similar questions but the answers were mostly over my head. > > Here is my problem: I trie

Re: Default scope of variables

2013-07-09 Thread Ian Kelly
On Tue, Jul 9, 2013 at 11:23 AM, Ethan Furman wrote: > On 07/09/2013 09:44 AM, Ian Kelly wrote: >> >> On Tue, Jul 9, 2013 at 10:07 AM, Ethan Furman wrote: >>> >>> You could also do it like this: >>> >>> def updating(self): >>> self.transaction_active = True >>> return self

multiprocessing

2013-07-09 Thread fsaldan1
I am a beginner with Python, coming from R, and I am having problems with parallelization with the multiprocessing module. I know that other people have asked similar questions but the answers were mostly over my head. Here is my problem: I tried to execute code in parallel in two ways: 1) In

Re: Default scope of variables

2013-07-09 Thread Ethan Furman
On 07/09/2013 09:44 AM, Ian Kelly wrote: On Tue, Jul 9, 2013 at 10:07 AM, Ethan Furman wrote: You could also do it like this: def updating(self): self.transaction_active = True return self Yes, that would be simpler. I was all set to point out why this doesn't work, a

Re: Help with 'self' and 'set_usage'

2013-07-09 Thread Andrew Berg
On 2013.07.09 12:03, L O'Shea wrote: > Could anyone shed some light on this? I can't find mention of this anywhere > in any Python documentation or anywhere else in the code where usage_str > might be defined. In Python, you don't declare or initialize variables before using them. In the example

Re: Help with 'self' and 'set_usage'

2013-07-09 Thread Antoon Pardon
Op 09-07-13 19:03, L O'Shea schreef: Hi all, I'm interning and have been given the job of extending a program that has been written by someone else. I've never used Python before so it's a bit of a struggle but I've got to say I'm loving the language so far. In on of the scripts there is def se

Re: Help with 'self' and 'set_usage'

2013-07-09 Thread Ethan Furman
On 07/09/2013 10:03 AM, L O'Shea wrote: Hi all, Howdy! I'm interning and have been given the job of extending a program that has been written by someone else. I've never used Python before so it's a bit of a struggle but I've got to say I'm loving the language so far. Excellent way to st

Help with 'self' and 'set_usage'

2013-07-09 Thread L O'Shea
Hi all, I'm interning and have been given the job of extending a program that has been written by someone else. I've never used Python before so it's a bit of a struggle but I've got to say I'm loving the language so far. In on of the scripts there is def set_usage(self,s): self.usage_str = s

Re: Default scope of variables

2013-07-09 Thread Ian Kelly
On Tue, Jul 9, 2013 at 10:07 AM, Ethan Furman wrote: > You could also do it like this: > > def updating(self): > self.transaction_active = True > return self Yes, that would be simpler. I was all set to point out why this doesn't work, and then I noticed that the location of

Re: hex dump w/ or w/out utf-8 chars

2013-07-09 Thread Steven D'Aprano
On Tue, 09 Jul 2013 12:15:29 +0200, Chris “Kwpolska” Warrick wrote: > On Tue, Jul 9, 2013 at 11:34 AM, wrote: >> Note the difference between SS and ẞ 'FRANZ-JOSEF-STRAUSS-STRAẞE' > > This is a capital Eszett. Which just happens not to exist in German. > Germans do not use this character, it is

Re: Default scope of variables

2013-07-09 Thread Ethan Furman
On 07/09/2013 01:38 AM, Frank Millman wrote: "Ian Kelly" wrote in message news:CALwzid=fzgjpebifx1stdbkh8iwltwggwwptphz1ykyg+05...@mail.gmail.com... On Tue, Jul 9, 2013 at 1:35 AM, Frank Millman wrote: When any of them need any database access, whether for reading or for updating, they execu

Re: crack a router passcode

2013-07-09 Thread Ferrous Cranus
Στις 9/7/2013 5:46 μμ, ο/η Dave Angel έγραψε: On 07/09/2013 10:26 AM, Ferrous Cranus wrote: Στις 9/7/2013 4:32 μμ, ο/η Chris Angelico έγραψε: On Tue, Jul 9, 2013 at 11:23 PM, Ferrous Cranus wrote: Could python somehow brute force http://192.168.1.1/login.php giving user and pass trying to gue

Re: hex dump w/ or w/out utf-8 chars

2013-07-09 Thread Chris “Kwpolska” Warrick
On Tue, Jul 9, 2013 at 11:34 AM, wrote: > Note the difference between SS and ẞ > 'FRANZ-JOSEF-STRAUSS-STRAẞE' This is a capital Eszett. Which just happens not to exist in German. Germans do not use this character, it is not available on German keyboards, and the German spelling rules have you r

Re: Reading File Into 2D List

2013-07-09 Thread alex . hanga
> Replace te **start line with something like: > > > > object_data.append([]) > > i += 1 > > > > This assumes a few missing lines, which must have been there or you > > would have already had runtime errors. For example, you'll need i=0 > > before the loop. > >

Re: A small question about PEP 8

2013-07-09 Thread Xue Fuqiao
On Mon, Jul 8, 2013 at 6:39 PM, Joshua Landau wrote: > On 8 July 2013 00:32, Xue Fuqiao wrote: >> I'm a Python newbie and just started reading PEP 8. PEP 8 says: >> >> --- >> |The closing brace/bracket/parenthesis on multi-line

Re: looking for a new router

2013-07-09 Thread Kumita Bruce
Agree. Sir, this mailing list is for Python discussion. :) On Tue, Jul 9, 2013 at 12:57 PM, Chris Angelico wrote: > On Tue, Jul 9, 2013 at 2:52 PM, saadharana wrote: > > Hey i'm looking for a new router. I have no set budget. Only US stores. I > > have cable internet and few laptops connected

Re: crack a router passcode

2013-07-09 Thread William Ray Wing
On Jul 9, 2013, at 12:55 AM, saadharana wrote: > I need to crack my router passcode to see what firmware it's running. There's > a passcode set but I don't remember it and it's not written down anywhere. > > > This question really isn't appropriate for a python-list, BUT - every router I'm f

Re: looking for a new router

2013-07-09 Thread Grant Edwards
On 2013-07-09, Skip Montanaro wrote: > As long as we are wandering off-topic. (What defines "on-topic" for spam?) > >> I just got a Bosch combo model (both plunge and fixed base), and I'm >> very happy with it: >> >> http://www.boschtools.com/Products/Tools/Pages/BoschProductDetail.aspx?pid=1617E

Re: crack a router passcode

2013-07-09 Thread Dave Angel
On 07/09/2013 10:26 AM, Ferrous Cranus wrote: Στις 9/7/2013 4:32 μμ, ο/η Chris Angelico έγραψε: On Tue, Jul 9, 2013 at 11:23 PM, Ferrous Cranus wrote: Could python somehow brute force http://192.168.1.1/login.php giving user and pass trying to guess the password? Could it be able to pass valu

Re: looking for a new router

2013-07-09 Thread Skip Montanaro
As long as we are wandering off-topic. (What defines "on-topic" for spam?) > I just got a Bosch combo model (both plunge and fixed base), and I'm > very happy with it: > > http://www.boschtools.com/Products/Tools/Pages/BoschProductDetail.aspx?pid=1617EVSPK I have a 1604. Any idea if the plunge

Re: Reading File Into 2D List

2013-07-09 Thread Dave Angel
On 07/09/2013 09:30 AM, alex.ha...@gmail.com wrote: Hello! I'm new here and fairly new to Python. I am attempting to read a data file into python and adding it to a 2D list to make it easy to use further down the line. My data file is just 7 numbers in a row seperated by commas and each bulk o

Re: crack a router passcode

2013-07-09 Thread Ferrous Cranus
Στις 9/7/2013 4:32 μμ, ο/η Chris Angelico έγραψε: On Tue, Jul 9, 2013 at 11:23 PM, Ferrous Cranus wrote: Could python somehow brute force http://192.168.1.1/login.php giving user and pass trying to guess the password? Could it be able to pass values to the input boxes of router's web login int

Re: looking for a new router

2013-07-09 Thread Grant Edwards
On 2013-07-09, Steven D'Aprano wrote: > On Mon, 08 Jul 2013 21:52:19 -0700, saadharana wrote: > >> Hey i'm looking for a new router. > > I recommend this one: > > http://www.bunnings.com.au/products_product_1350w-aeg-12-router-rt1350e_P6230066.aspx I just got a Bosch combo model (both plunge and

Re: crack a router passcode

2013-07-09 Thread Neil Cerutti
On 2013-07-09, Chris Angelico wrote: > On Tue, Jul 9, 2013 at 11:23 PM, Ferrous Cranus wrote: >> Could python somehow brute force http://192.168.1.1/login.php giving user >> and pass trying to guess the password? >> >> Could it be able to pass values to the input boxes of router's web login >> in

Re: How to clean up socket connection to printer

2013-07-09 Thread Ulrich Eckhardt
Am 09.07.2013 11:39, schrieb loial: I have a socket application that is connecting to a HP printer via port 9100. Occassionally I get a "Connection reset by peer" error which I am trapping and exiting the script with an error message. Strange. Why does the remote terminate the connection? T

Re: the general development using Python

2013-07-09 Thread Chris Angelico
On Tue, Jul 9, 2013 at 6:41 PM, Ian Kelly wrote: > On Mon, Jul 8, 2013 at 10:46 PM, CM wrote: >>> There are projects that "bundle" the CPython interpreter with your >>> project, but this makes those files really big. >> >> Maybe 5-20 MB. That's a lot bigger than a few hundred K, but it's not tha

Reading File Into 2D List

2013-07-09 Thread alex . hanga
Hello! I'm new here and fairly new to Python. I am attempting to read a data file into python and adding it to a 2D list to make it easy to use further down the line. My data file is just 7 numbers in a row seperated by commas and each bulk of data is seperated by the sign @ to indicate that th

Re: crack a router passcode

2013-07-09 Thread Chris Angelico
On Tue, Jul 9, 2013 at 11:23 PM, Ferrous Cranus wrote: > Could python somehow brute force http://192.168.1.1/login.php giving user > and pass trying to guess the password? > > Could it be able to pass values to the input boxes of router's web login > interface? It certainly could. It's just simpl

Re: crack a router passcode

2013-07-09 Thread Ferrous Cranus
Στις 9/7/2013 3:08 μμ, ο/η Neil Cerutti έγραψε: On 2013-07-09, saadharana wrote: I need to crack my router passcode to see what firmware it's running. There's a passcode set but I don't remember it and it's not written down anywhere. No you don't. If it's your router and you forgot the passwo

Re: hex dump w/ or w/out utf-8 chars

2013-07-09 Thread Dave Angel
On 07/09/2013 09:00 AM, Neil Cerutti wrote: Interestingly similar scheme. It wonder if 5-bit chars was a common compression scheme. The Z-machine spec was never officially published either. I believe a "task force" reverse engineered it sometime in the 90's. Baudot was 5 bits. It used s

Re: hex dump w/ or w/out utf-8 chars

2013-07-09 Thread Skip Montanaro
> It wonder if 5-bit chars was a > common compression scheme. http://en.wikipedia.org/wiki/List_of_binary_codes Baudot was pretty common, as I recall, though ASCII and EBCDIC ruled by the time I started punching cards. Skip -- http://mail.python.org/mailman/listinfo/python-list

Re: hex dump w/ or w/out utf-8 chars

2013-07-09 Thread Neil Cerutti
On 2013-07-09, Dave Angel wrote: >> One of the first Python project I undertook was a program to >> dump the ZSCII strings from Infocom game files. They are >> mostly packed one character per 5 bits, with escapes to (I had >> to recheck the Z-machine spec) latin-1. Oh, those clever >> implementors

Re: hex dump w/ or w/out utf-8 chars

2013-07-09 Thread Dave Angel
On 07/09/2013 08:22 AM, Neil Cerutti wrote: On 2013-07-08, Dave Angel wrote: I appreciate you've been around a long time, and worked in a lot of languages. I've programmed professionally in at least 35 languages since 1967. But we've come a long way from the 6bit characters I used in 1968. A

Re: hex dump w/ or w/out utf-8 chars

2013-07-09 Thread Neil Cerutti
On 2013-07-08, Dave Angel wrote: > I appreciate you've been around a long time, and worked in a > lot of languages. I've programmed professionally in at least > 35 languages since 1967. But we've come a long way from the > 6bit characters I used in 1968. At that time, we packed them > 10 charac

Re: Editor Ergonomics [was: Important features for editors]

2013-07-09 Thread Neil Cerutti
On 2013-07-09, Jason Friedman wrote: > I am right-handed and use a lefty-mouse about 50% of the time. > It was difficult at first, now I'm almost as fast lefty as > righty. As has been stated by others, changing the muscles > being used reduces the impact on any one of them. That's the system I'v

Re: ssl handshake operation timed out on Python 3.3.2

2013-07-09 Thread Benedict Verheyen
Op Tue, 09 Jul 2013 10:08:01 +, schreef Antoine Pitrou: > This may be a IIS-specific problem. > Take a look at > http://stackoverflow.com/questions/16365483/iis-7-5-mercurial-setup- ignoring-maxallowedcontentlength > http://bz.selenic.com/show_bug.cgi?id=3905 > http://bugs.python.org/issue179

Re: crack a router passcode

2013-07-09 Thread Neil Cerutti
On 2013-07-09, saadharana wrote: > I need to crack my router passcode to see what firmware it's > running. There's a passcode set but I don't remember it and > it's not written down anywhere. No you don't. If it's your router and you forgot the password just reset it to factory defaults and recon

iPhone 4s: legal unlock, but was still SIM-locked?

2013-07-09 Thread saishreemathi
I have a 4s that we used while in Germany. It was Tmobile, and the policy was that once we'd had it for 2 years it would be eligible to be "unlocked" for use elsewhere. I brought it back to the states and am finally attempting to unlock it. (It's unusable to us as a phone right now, we use Verizon,

iPhone 4 USB problem

2013-07-09 Thread saishreemathi
Hello everybody ! I have a problem with my iphone 4. When I connect it to my pc it does not connect as a usb. I mean I can still open it with itunes but not read the files in my computer. So I cant download my photos and videos ! I've tried almost everything I've found by googling but it doesnt wor

iPhone 5 bluetooth pairing problem

2013-07-09 Thread saishreemathi
My problem is basically that my iPhone 5 wont pair with any bluetooth devices at all. It won't even see other bluetooth devices and when it actually does, well, it ONLY sees my iMac, it wont pair at all. - no credit check mobile phone contracts -- View this message in context: http://pytho

Re: ssl handshake operation timed out on Python 3.3.2

2013-07-09 Thread Antoine Pitrou
Benedict Verheyen gmail.com> writes: > > Hi, > > for a project, I need to post data to some aspx pages. > The aspx pages are hosted by another company. > I develop on a virtual Debian Wheezy (Virtual box) running on Windows. > I couldn't get the code to run either on Windows nor Linux. > > On m

How to clean up socket connection to printer

2013-07-09 Thread loial
I have a socket application that is connecting to a HP printer via port 9100. Occassionally I get a "Connection reset by peer" error which I am trapping and exiting the script with an error message. That works Ok, the issue I have is that the next time I run the script I get "Connection refused"

Re: hex dump w/ or w/out utf-8 chars

2013-07-09 Thread wxjmfauth
Le mardi 9 juillet 2013 09:00:02 UTC+2, Steven D'Aprano a écrit : > On Mon, 08 Jul 2013 10:53:18 -0700, ferdy.blatsco wrote: > > > > > Not using python 3, for me (a programmer which was present at the > > > beginning of computer science, badly interacting with many languages > > > from assembl

Re: the general development using Python

2013-07-09 Thread Ian Kelly
On Mon, Jul 8, 2013 at 10:46 PM, CM wrote: >> There are projects that "bundle" the CPython interpreter with your >> project, but this makes those files really big. > > Maybe 5-20 MB. That's a lot bigger than a few hundred K, but it's not that > important to keep size down, really. Funny story:

Re: Default scope of variables

2013-07-09 Thread Frank Millman
"Ian Kelly" wrote in message news:CALwzid=fzgjpebifx1stdbkh8iwltwggwwptphz1ykyg+05...@mail.gmail.com... > On Tue, Jul 9, 2013 at 1:35 AM, Frank Millman wrote: >> When any of them need any database access, whether for reading or for >> updating, they execute the following - >> >> with db_ses

Re: Beginner - GUI devlopment in Tkinter - Any IDE with drag and drop feature like Visual Studio?

2013-07-09 Thread Aseem Bansal
Thanks @Dave Cook. I'll try wxPython. -- http://mail.python.org/mailman/listinfo/python-list

Re: Default scope of variables

2013-07-09 Thread Frank Millman
"Chris Angelico" wrote in message news:captjjmr4mr0qcgwqxwyvdcz55nuav79vbtt8bjndsdvhrkq...@mail.gmail.com... > On Tue, Jul 9, 2013 at 5:35 PM, Frank Millman wrote: >> I have been following this sub-thread with interest, as it resonates with >> what I am doing in my project. > > Just FYI, none o

Re: Default scope of variables

2013-07-09 Thread Ian Kelly
On Tue, Jul 9, 2013 at 1:35 AM, Frank Millman wrote: > When any of them need any database access, whether for reading or for > updating, they execute the following - > > with db_session as conn: > conn.transaction_active = True # this line must be added if > updating > conn.cu

Re: Default scope of variables

2013-07-09 Thread Chris Angelico
On Tue, Jul 9, 2013 at 5:35 PM, Frank Millman wrote: > I have been following this sub-thread with interest, as it resonates with > what I am doing in my project. Just FYI, none of my own code will help you as it's all using libpqxx, but the docs for the library itself are around if you want them

Re: Default scope of variables

2013-07-09 Thread Frank Millman
"Chris Angelico" wrote in message news:captjjmqkmfd4-jpugr-vubub6ribv6k_mwnxc_u3cvabr_w...@mail.gmail.com... > On Tue, Jul 9, 2013 at 4:08 PM, alex23 wrote: >> On 9/07/2013 3:07 PM, Chris Angelico wrote: >>> >>> The subtransactions are NOT concepted as separate transactions. They >>> are effect

Re: ipython

2013-07-09 Thread davide . dalmasso
I did not see the massage when installation finisched. Sorry! Many Thanks!!! > > The IPython installer actually mentions this when it finishes > > installing: > > > > "Distribute (setuptools) is required to create Start Menu items. > > Re-run this installer after installing distribute to g

Re: UnpicklingError: NEWOBJ class argument isn't a type object

2013-07-09 Thread Peter Otten
skunkwerk wrote: > On Monday, July 8, 2013 12:45:55 AM UTC-7, Peter Otten wrote: >> skunkwerk wrote: >> >> >> >> > Hi, >> >> > I'm using a custom pickler that replaces any un-pickleable objects >> > (such >> >> > as sockets or files) with a string representation of them, based on >> >

Re: RAM slots problem

2013-07-09 Thread Chris Angelico
On Tue, Jul 9, 2013 at 4:59 PM, Gary Herron wrote: > On 07/08/2013 10:06 PM, saadharana wrote: >> >> I've got some annoying problem with RAM. I was depth cleaning my case, >> everything regular, it wasn't my first time. And when I put it all >> together >> and powered it on, it wasn't working, jus

Re: looking for a new router

2013-07-09 Thread Chris Angelico
On Tue, Jul 9, 2013 at 4:49 PM, Steven D'Aprano wrote: > On Mon, 08 Jul 2013 21:52:19 -0700, saadharana wrote: > >> Hey i'm looking for a new router. > > I recommend this one: > > http://www.bunnings.com.au/products_product_1350w-aeg-12-router-rt1350e_P6230066.aspx > > > Helpfully-as-ever-ly yrs,

Re: RAM slots problem

2013-07-09 Thread Gary Herron
On 07/08/2013 10:06 PM, saadharana wrote: I've got some annoying problem with RAM. I was depth cleaning my case, everything regular, it wasn't my first time. And when I put it all together and powered it on, it wasn't working, just beeps fast. But how that happend when I put all back in like it w

Re: AMQP listening and user-facing daemon

2013-07-09 Thread dieter
Justin Chiu writes: > What is the best approach to writing a concurrent daemon that can > execute callbacks for different types of events (AMQP messages, parsed > output of a subprocess, HTTP requests)? I fear your question is too specific (which means you must investigate yourself). First of a

Re: hex dump w/ or w/out utf-8 chars

2013-07-09 Thread Steven D'Aprano
On Mon, 08 Jul 2013 10:53:18 -0700, ferdy.blatsco wrote: > Not using python 3, for me (a programmer which was present at the > beginning of computer science, badly interacting with many languages > from assembler to Fortran and from c to Pascal and so on) it was an hard > job to arrange the abrupt