Peter Otten wrote:
> chandan kumar wrote:
>
>> Hi ,
>>
>> I'm new to python ,please correct me if there is any thing wrong with the
>> way accessing class attributes.
>>
>> Please see the below code .I have inherited confid in ExpectId class,
>> changed self.print_msg to Hello. Now inherited
On 12 September 2013 00:44, Ben Finney wrote:
> mnish1...@gmail.com writes:
>
> My main advice: Avoid non-free (that is, proprietary) software for your
> development tools. Learning a set of development tools is a significant
> investment, and you should not tie that investment to a single vendor;
Joshua Landau writes:
> On 12 September 2013 00:44, Ben Finney wrote:
> > mnish1...@gmail.com writes:
> >
> > My main advice: Avoid non-free (that is, proprietary) software for your
> > development tools. Learning a set of development tools is a significant
> > investment, and you should not tie
More likely, JP Morgan's mail system added that footer to the message
on the way out the virtual door. My recommendation would be to not
post using your company email address. Get a free email address.
Skip
--
https://mail.python.org/mailman/listinfo/python-list
On 12 September 2013 07:04, William Bryant wrote:
> Thanks everyone for helping but I did listen to you :3 Sorry. This is my
> code, it works, I know it's not the best way to do it and it's the long way
> round but it is one of my first programs ever and I'm happy with it:
Hi William, I'm glad
On 12 September 2013 10:27, Skip Montanaro wrote:
>
> More likely, JP Morgan's mail system added that footer to the message
> on the way out the virtual door. My recommendation would be to not
> post using your company email address. Get a free email address.
It wouldn't surprise me if JPMorgan w
Hi all,
I am new to python. Please give information about Pep8 style checker plugin for
VS2012.
Thanks in Advance,
Chandru
CAUTION - Disclaimer *
This e-mail contains PRIVILEGED AND CONFIDENTIAL INFORMATION intended solely
for the use of the addressee(s). If you
On 12 September 2013 09:04, Ben Finney wrote:
> Joshua Landau writes:
>
>> On 12 September 2013 00:44, Ben Finney wrote:
>> > mnish1...@gmail.com writes:
>> >
>> > My main advice: Avoid non-free (that is, proprietary) software for your
>> > development tools. Learning a set of development tools
On 12/9/2013 02:15, chandan kumar wrote:
> Hi ,
>
> I'm new to python
Welcome. I hope you enjoy your time here, and that the language treats
you as well as it's treated me.
> ,please correct me if there is any thing wrong with the way accessing
class attributes.
None of the following uses class
On 11/9/2013 23:03, Cory Mottice wrote:
> I am using line.rfind to parse a particular line of html code. For example,
> this is the line of html code I am parsing:
>
> 79° class="low">Lo 56°
>
> and this is the code I use to split the line to (in this case) pull out the
> '79'.
>
> position0 = l
On Wednesday, September 11, 2013 5:14:04 PM UTC+3, mnishpsyched wrote:
> Hey i am a programmer but new to python. Can anyone guide me in knowing which
> is a better IDE used to develop web related apps that connect to DB using
> python?
If you are a programmer in the sense that you are a profici
Hi,
We have python programmers requirement with an experience of 2 -3 yrs. Job
location shall be bangalore.
Interested candidates can send their resume to h...@mobiesprits.com
Please do not forget to mention the experience in the subject line.
Best Regards,
Mobi Esprtis Software Technologies
Hello,
I am trying to program a robot which will allow me to test whether a default
password has been changed on my intranet servers .
And I 'm stuck since 2 days ...
HTML structure of the page:
I try to go to fill the username
You'll probably get way too many answers (everyone has its own personal
favorite).
I suggest you check:
http://stackoverflow.com/questions/81584/what-ide-to-use-for-python and
https://wiki.python.org/moin/IntegratedDevelopmentEnvironments, grab the
ones you think are worth it, experiment with them
Hi,
Wingware has released version 4.1.14 of Wing IDE, our integrated development
environment designed specifically for the Python programming language.
Wing IDE provides a professional quality code editor with vi, emacs, and
other
key bindings, auto-completion, call tips, refactoring, context-a
On Wednesday, September 11, 2013 4:23:57 PM UTC-4, Dave Angel wrote:
> On 11/9/2013 10:26, Wanderer wrote:
>
>
>
> > How do I send the command 'Alt+D' to subprocess.PIPE?
>
>
>
> That's not a command, it's a keystroke combination. And without knowing
>
> what RSConfig.exe is looking to get
On Thu, 12 Sep 2013, Ben Finney wrote:
Better to learn these once, in a single powerful tool that can be
maintained independent of any one vendor for as long as its community is
interested.
And if you're a developer, even a community of one is enough ;)
-W
--
https://mail.python.org/mailman/li
On Fri, Sep 13, 2013 at 12:06 AM, Wanderer wrote:
> Thanks, I didn't know that. I thought there would be some \n \t kind of
> combination or a unicode string for all the key combinations on my keyboard.
Unicode identifies every character, but keystrokes aren't characters.
Consider, for instance,
On Wed, 11 Sep 2013 00:53:53 +, Steven D'Aprano wrote:
> and most routines that handle file names accept either text strings or
> bytes strings:
I was going to say "that just leaves environ and argv". But I see that
os.environb was added in 3.2. Which just leaves argv.
--
https://mail.pyth
On 10.09.2013 08:09, Steven D'Aprano wrote:
> What design mistakes, traps or gotchas do you think Python has? Gotchas
> are not necessarily a bad thing, there may be good reasons for it, but
> they're surprising.
I have one more:
Dictionaries should iterate over their items instead of their key
On 09/12/2013 10:51 AM, Markus Rother wrote:
On 11.09.2013 23:15, Ethan Furman wrote:
On 09/11/2013 01:41 PM, Markus Rother wrote:
>>> () == []
False
But:
>>> bool(().__eq__([]))
True
This is not a trap, this is simply the wrong way to do it. The magic
methods
On 2013-09-12, Michael Torrie wrote:
> Not me. wxWidgets' event model is way too MFC-esque for me. Does it
> still use event numbers that you define? Shudder.
You don't have to define IDs explicitly. That's been the case for a
long time.
> Gtk and Qt's method of signals and slots is by far t
On Wed, Sep 11, 2013, at 07:36 AM, Wayne Werner wrote:
> On Sat, 31 Aug 2013, candide wrote:
> > # -
> > for i in range(5):
> >print(i, end=' ') # <- The last ' ' is unwanted
> > print()
> > # -
>
> Then why not define end='' instead?
On Wed, Sep 11, 2013 at 4:55 PM, wrote:
> Have you got anything to say on what one I should be using(excluding PyQT
> because it has a D&D designer >:( )? Is Tkinter really dead? Should I stick
> with wxPython?
If that's a reason for excluding a GUI toolkit, you're in trouble.
Drag and drop la
In
altugozger...@gmail.com writes:
> Hey guys ! its my first topic and I'm gonna start with a problem :) Im
> totally beginner in Python and each time I try to run this program it
> gives me the error down below:
> http://imgur.com/ufUAMTs
That error involves the previous program line, which y
On Fri, Sep 13, 2013 at 1:43 AM, wrote:
> Hey guys ! its my first topic and I'm gonna start with a problem :) Im
> totally beginner in Python and each time I try to run this program it gives
> me the error down below:
>
> http://imgur.com/ufUAMTs
>
> I'm using Sublime Text, same problems occure
On 2013-09-12, Markus Rother wrote:
> On 10.09.2013 08:09, Steven D'Aprano wrote:
>> What design mistakes, traps or gotchas do you think Python has? Gotchas
>> are not necessarily a bad thing, there may be good reasons for it, but
>> they're surprising.
>
> I have one more:
>
> Dictionaries shou
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
On 11/09/13 21:55, eamonn...@gmail.com wrote:
> There are a few known GUI toolkits out there, and the main ones
> from what I can tell are:
>
> Tkinter -- Simple to use, but limited PyQT -- You have a GUI
> designer, so I'm not going to count that PyG
On Sep 12, 2013 9:06 AM, wrote:
>
> On Thursday, September 12, 2013 6:05:14 AM UTC+1, Michael Torrie wrote:
> > On 09/11/2013 02:55 PM, eamonn...@gmail.com wrote:
> >
> > > PyQT -- You have a GUI designer, so I'm not going to count that
> >
> > What do you mean? Gtk has a GUI designer too. what
On 2013-09-11, Ben Finney wrote:
> "Prasad, Ramit" writes:
>
>> This email is confidential and subject to important disclaimers and
>> conditions including on offers for the purchase or sale of securities,
>> accuracy and completeness of information, viruses, confidentiality,
>> legal privilege,
Hey guys ! its my first topic and I'm gonna start with a problem :) Im totally
beginner in Python and each time I try to run this program it gives me the
error down below:
http://imgur.com/ufUAMTs
I'm using Sublime Text, same problems occured in TextWrangler and in Vim too. I
tried python3 pyt
On 2013-09-12, Markus Rother wrote:
> On 11.09.2013 23:15, Ethan Furman wrote:
>> On 09/11/2013 01:41 PM, Markus Rother wrote:
>>> >>> () == []
>>> False
>>>
>>> But:
>>>
>>> >>> bool(().__eq__([]))
>>> True
>>
>> This is not a trap, this is simply the wrong way to do it.
Joshua Landau writes:
> If the time learning a set of tools is enough to make the choice
> between tools, I suggest avoiding, say, Vim.
That's a big if.
If you expect to spend a lot of time editing text, code, etc. over the
next few years then it's definitely learning at least one of vim or
em
El miércoles, 11 de septiembre de 2013 16:14:04 UTC+2, mnishpsyched escribió:
> Hey i am a programmer but new to python. Can anyone guide me in knowing which
> is a better IDE used to develop web related apps that connect to DB using
> python?
Hi and welcome.
I suggest you to use IntelliJ IDE
On 11.09.2013 23:15, Ethan Furman wrote:
> On 09/11/2013 01:41 PM, Markus Rother wrote:
>> >>> () == []
>> False
>>
>> But:
>>
>> >>> bool(().__eq__([]))
>> True
>
> This is not a trap, this is simply the wrong way to do it. The magic
> methods (aka dunder methods) are th
On 2013-09-12, Dave Cook wrote:
> There's also a markup language available, enaml:
>
> http://docs.enthought.com/enaml/
I should have mentioned that it's *Python*-based markup, not an XML
horrorshow.
http://pyvideo.org/video/1231/enaml-a-framework-for-building-declarative-user
Dave Cook
--
htt
On 9/12/2013 2:24 PM, Markus Rother wrote:
Dictionaries should iterate over their items instead of their keys.
Dictionaries *can* iterate by keys, values, or items. You would prefer
that the default iteration be by items rather than keys.
Looking forward to contrary opinions.
When the is
On Fri, Sep 13, 2013 at 4:13 AM, Markus Rother wrote:
> On 12.09.2013 01:27, Chris Angelico wrote:
>> On Thu, Sep 12, 2013 at 6:41 AM, Markus Rother
>> wrote:
>>> 3. The default return value of methods is None instead of self.
>>> If it was self, it would be possible to chain method call
On 2013-09-12, Robert Kern wrote:
> There is nothing forcing you to use the GUI designers if you don't want to.
There's also a markup language available, enaml:
http://docs.enthought.com/enaml/
Dave Cook
--
https://mail.python.org/mailman/listinfo/python-list
On 9/12/13 2:24 PM, Markus Rother wrote:
On 10.09.2013 08:09, Steven D'Aprano wrote:
What design mistakes, traps or gotchas do you think Python has? Gotchas
are not necessarily a bad thing, there may be good reasons for it, but
they're surprising.
I have one more:
Dictionaries should iterate o
On 2013-09-12 17:03, eamonn...@gmail.com wrote:
On Thursday, September 12, 2013 6:05:14 AM UTC+1, Michael Torrie wrote:
On 09/11/2013 02:55 PM, eamonn...@gmail.com wrote:
Possibly. I know Qt and Gtk both can flip the button orders, etc to
look more native. And all good toolkits give you lay
Dear Python.org,
Recently, I have been studying OpenCV to detect and recognize faces using
C++. In order to execute source code demonstration from the OpenCV website
I need to run Python to crop image first. Unfortunately, the message error
is 'ImportError: No module named Image' when I run the Py
I have an excel file. When I select cells, copy from excel, and then use
win32clipboard to get the contents of the clipboard, I have a 131071 character
string.
When I save the file as a text file, and use the python 3.3 open command to
read its contents, I only have 80684 characters.
Excel (an
On Thu, 12 Sep 2013 16:01:20 -0700, stephen.boulet wrote:
> I have an excel file. When I select cells, copy from excel, and then use
> win32clipboard to get the contents of the clipboard, I have a 131071
> character string.
How exactly are you using win32clipboard, and what exact result are you
Is this thread going to evolve into your classic vim vs. emacs, sweet!
Also, Paul is completely right.
V.I.
On 09/12/2013 11:47 AM, Paul Rudin wrote:
Joshua Landau writes:
If the time learning a set of tools is enough to make the choice
between tools, I suggest avoiding, say, Vim.
That's a
Hello,
I'm pleased to announce the first release of Obelus, a MIT-licensed
library to interact with Asterisk using the AMI and AGI protocols.
This is version 0.1, and as such some APIs are a bit draftish and not
guaranteed to be stable accross future releases. Also, documentation is
far from ex
On Fri, 13 Sep 2013 01:27:53 +1000, Chris Angelico wrote:
> That said, though: These sorts of keystrokes often can be represented
> with escape sequences (I just tried it in xterm and Alt-D came out as
> "\e[d"),
Technically, that would be Meta-D (even if your Meta key has "Alt" printed
on it).
On Wednesday, September 11, 2013 7:14:04 AM UTC-7, mnishpsyched wrote:
> Hey i am a programmer but new to python. Can anyone guide me in knowing which
> is a better IDE used to develop web related apps that connect to DB using
> python?
I use vim and idle.
--
https://mail.python.org/mailman/lis
Dear all,
QtCore.QObject.connect(self.checkBox,
QtCore.SIGNAL(_fromUtf8("clicked(bool)")), lambda:
self.interfaceCodesConstructor.setFilterList(self,"name",self.lineEdit.text()))
I code pyqt, I have the following code:
///
QtCore.QObject.connect(self.checkBox,
QtCore.SIGNAL(_f
Hi Steven. Here is my code:
import win32clipboard, win32con
def getclipboard():
win32clipboard.OpenClipboard()
s = win32clipboard.GetClipboardData(win32con.CF_TEXT)
win32clipboard.CloseClipboard()
return s
I use this helper function to grab the text on the clipboard and do useful
On 09/13/2013 12:31 AM, Trandang Bao wrote:
Dear Python.org,
I installed
python-2.7.amd64 and downloaded PIL-1.1.7.win32-py2.7 to install Image
library. However, the message error is 'Python version 2.7 required,
which was not found in the registry'.
One is a 32 bit installer, the other is a
On Thursday, September 12, 2013 6:05:14 AM UTC+1, Michael Torrie wrote:
> On 09/11/2013 02:55 PM, eamonn...@gmail.com wrote:
>
> > PyQT -- You have a GUI designer, so I'm not going to count that
>
>
>
> What do you mean? Gtk has a GUI designer too. what of it?
>
>
>
> > I, personally, real
On 13/09/2013 01:58, stephen.bou...@gmail.com wrote:
Hi Steven. Here is my code:
import win32clipboard, win32con
def getclipboard():
win32clipboard.OpenClipboard()
s = win32clipboard.GetClipboardData(win32con.CF_TEXT)
win32clipboard.CloseClipboard()
return s
I use this help
Hey everyone,
As time progresses, so does my Redis object mapper.
The "rom" package is a Redis object mapper for Python. It sports an
interface similar to Django's ORM, SQLAlchemy + Elixir, or Appengine's
datastore.
The changelog for recent releases can be seen below my signature.
You can find
On 12 September 2013 13:00, Veritatem Ignotam
wrote:
> Is this thread going to evolve into your classic vim vs. emacs, sweet!
Who doesn't love those? ;-)
On 09/12/2013 11:47 AM, Paul Rudin wrote:
>
> Joshua Landau writes:
>
>> If the time learning a set of tools is enough to make the choice
>>
On 12.09.2013 01:27, Chris Angelico wrote:
> On Thu, Sep 12, 2013 at 6:41 AM, Markus Rother wrote:
>> 3. The default return value of methods is None instead of self.
>> If it was self, it would be possible to chain method calls (which
>> is called a cascade in smalltalk).
>>
>>
>>
On 09/12/2013 10:03 AM, eamonn...@gmail.com wrote:
> I didn't realise GTK has a GUI designer too :(
>
> I don't like it when you can D&D to position things. I don't
> understand why someone wouldn't want to write the positioning code,
> and have fun with the debugging. That's the best part about w
On 09/12/2013 09:02 PM, Michael Torrie wrote:
> In any event I think you should give both Glade-3 and Qt Designer a
> serious look. I think your hate of gui designers is about 10 years out
> of date now, even if you still prefer not to use them.
This is a bit old but still how Qt works:
http://t
>> Really? Are you saying you (and the community at-large) always derive
>> from Object as your base class?
>
> Not directly, that would be silly.
Silly? "Explicit is better than implicit"... right?
>> But wait is it the "base" (at the bottom of the hierarchy) or is it the
>> "parent" at the to
I stuck with Tkinter combined with PMW for a very long time, but the lack of
extra widgets finally drove me to look elsewhere.
I tried PyQT but didn't have a good experience. I can't remember details, but
things just seemed to have little "gotchas" - which the mailing list were very
helpful wit
Stephen Boulet:
From the clipboard contents copied from the spreadsheet, the characters s[:80684] were
the visible cell contents, and s[80684:] all started with "b'\x0" and lack any
useful info for what I'm trying to accomplish.
Looks like Excel is rounding up its clipboard allocation to
On 09/12/2013 09:39 PM, Peter wrote:
> I stuck with Tkinter combined with PMW for a very long time, but the
> lack of extra widgets finally drove me to look elsewhere.
>
> I tried PyQT but didn't have a good experience. I can't remember
> details, but things just seemed to have little "gotchas" -
On Thu, 12 Sep 2013 20:23:21 -0700, Mark Janssen wrote:
>>> Really? Are you saying you (and the community at-large) always derive
>>> from Object as your base class?
>>
>> Not directly, that would be silly.
>
> Silly? "Explicit is better than implicit"... right?
If I'm inheriting from str, I i
> Tkinter -- Simple to use, but limited
>
> PyQT -- You have a GUI designer, so I'm not going to count that
As others have pointed out, that's nonsensical. If you don't like the GUI
designer, just don't use it.
> wxPython -- Very nice, very professional, approved by Python creator, but
> a
Mobi Esprits writes:
> We have python programmers requirement with an experience of 2 -3 yrs.
Please do not use this discussion forum for job advertisements.
Instead, please use the Python Job Board which is designed for this
purpose http://www.python.org/community/jobs/>.
--
\ “Fait
I am very new to COM programming, Our project requires the Python script to
make communication with a COM dll which is written in C#.
The generated COM signature in Python is as below
COMMETHOD([dispid(1610743820)], HRESULT, 'test',
( ['in', 'out'], POINTER(_midlSAFEARRAY(c_double)), '
66 matches
Mail list logo