Στις 25/6/2013 9:53 μμ, ο/η Joel Goldstick έγραψε:
I haven't tried webpy but I have used django. django has a tutorial
that takes a couple of hours to set up and go through completely. Its
not just reading, its hands on trying out a small website. It gives a
very good understanding of what th
On 06/25/2013 05:05 PM, willlewis...@gmail.com wrote:
thanks man you answered my questions very clear, btw do you know of a place
where I can learn python I know some tutorials but are 2. something and I'm
using 3.3 and I've been told they are different.
One fairly obvious place is on the pyt
On Wednesday, June 26, 2013 5:35:50 AM UTC+5:30, willle...@gmail.com wrote:
> thanks man you answered my questions very clear, btw do you know of a place
> where I can learn python I know some tutorials but are 2. something and I'm
> using 3.3 and I've been told they are different.
If you are a
Hi,
I get an "unresolved externals" error message when building pywin32 for pypy,
as listed below. Both are the latest versions,
amauryfa-pywin32-pypy-2a1da51e8152 and pypy-2.0.2. As per build requirements,
VS2012 and Win 7 SDD are installed.
Not sure what the error msg indicates, but maybe
On 06/25/2013 06:28 PM, miguel olivares varela wrote:
I try to parse a soap/xml answer like:
http://schemas.xmlsoap.org/soap/envelope/";
xmlns:xsd="http://www.w3.org/2001/XMLSchema";
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance";>
http://schemas.xmlsoap.org/soap/encoding/"
On 06/25/2013 04:37 PM, Bryan Britten wrote:
Joel -
I don't want to send it to a text file because it's just meant to serve as a
reference for the user to get an idea of what words are mentioned. The words
being analyzed are responses to a survey questions and the primary function of
this scr
On 06/25/2013 03:38 PM, Stig Sandbeck Mathisen wrote:
jonathan.slend...@gmail.com writes:
Any suggestions for a good name, for a framework that does automatic
server deployments?
Whatever you choose, make sure it is easily searchable. Googling for
"puppet" and "chef" only recently gave releva
On 06/25/2013 12:15 PM, jyoun...@kc.rr.com wrote:
Thank you Rusi and Christian!
Something I don't think was mentioned was that reading a text file in
Python 3, and specifying latin-1, will work simply because every
possible 8-bit byte is a character in Latin-1 That doesn't mean that
those
>>> Combining two integers lets you make a Rational.
>>
>> Ah, but what is going to group them together? You see you've already
>> gotten seduced. Python already uses a set to group them together --
>> it's called a Dict and it's in every Class object.
>
> When you inherit a "set" to make a Ratio
Hello,
I have an issue that has been frustrating me for a while now.
This is an update of a crosspost
(http://stackoverflow.com/questions/16703936/proxy-connection-with-python)
which I made over a month ago.
I have been attempting to connect to URLs from python. I have tried:
urllib2, urlib3, an
I would like to use the Gen3.dll functions from python. I understand
that I can use ctypes to load the dll. I have been able to load the
dll but cannot make any sense of how to use it once I have it loaded.
I have been trying to understand the ctypes tutorial but I just can't
wrap my head around it
Hi all,
thanks to dudes on the net I can release this code :
https://github.com/zork9/pygame-pyZeldaII
Everything is Python/Pygame, you can download it with the following command :
git clone https://github.com/zork9/pygame-pyZeldaII.git
Visit my blog for screenshots : http://thediaryofelvishhea
On Tue, Jun 25, 2013 at 5:19 PM, Mark Janssen wrote:
>>> Combining integers with sets I can make
>>> a Rational class and have infinite-precision arithmetic, for example.
>>
>> Combining two integers lets you make a Rational.
>
> Ah, but what is going to group them together? You see you've alread
thanks man you answered my questions very clear, btw do you know of a place
where I can learn python I know some tutorials but are 2. something and I'm
using 3.3 and I've been told they are different.
--
http://mail.python.org/mailman/listinfo/python-list
On 06/25/2013 04:19 PM, willlewis...@gmail.com wrote:
> I'am starting to learn python reading a book and I have to do some
> exercises but I can't understand this one, when I run it it says EOL
> while scanning string literal and a red shadow next to a line of
> code.
>
> I'm trying to get input
>> Here's how it *should* be made: the most superest, most badassed
>> object should take care of its children. New instances should
>> automatically call up the super chain (and not leave it up to the
>> subclasses), so that the parent classes can take care of the chil'en.
>> When something goe
>> Combining integers with sets I can make
>> a Rational class and have infinite-precision arithmetic, for example.
>
> Combining two integers lets you make a Rational.
Ah, but what is going to group them together? You see you've already
gotten seduced. Python already uses a set to group them to
On Tue, Jun 25, 2013 at 5:07 PM, Ian Kelly wrote:
> On Tue, Jun 25, 2013 at 4:38 PM, Mark Janssen
> wrote:
>> The issue of classes cooperating isn't as big as it seems, because
>> since you're working now from a useful, agreed-upon common base (the
>> non-negotiable, but also non-arbitrary) mach
On Tue, Jun 25, 2013 at 4:38 PM, Mark Janssen wrote:
> Sorry my last message got sent prematurely. Retrying...
>
>> So instead of super(), you would have sub()? It's an interesting
>> concept, but I don't think it changes anything. You still have to
>> design your classes cooperatively if you e
On Wed, Jun 26, 2013 at 9:00 AM, Mark Janssen wrote:
>> 1) That breaks the Liskov Substitution Principle. A subclass of list
>> ought to fulfill the contracts of a basic list.
>
> We don't need LSP. I write about this on the WIkiWikiWeb where there
> were many arguments documented and many hairs
On Wed, Jun 26, 2013 at 8:38 AM, Mark Janssen wrote:
> Combining integers with sets I can make
> a Rational class and have infinite-precision arithmetic, for example.
Combining two integers lets you make a Rational. Python integers are
already infinite-precision. Or are you actually talking of us
On 25/06/2013 23:28, miguel olivares varela wrote:
I try to parse a soap/xml answer like:
http://schemas.xmlsoap.org/soap/envelope/";
xmlns:xsd="http://www.w3.org/2001/XMLSchema";
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance";>
http://schemas.xmlsoap.org/soap/encoding/";
xml
On Wed, Jun 26, 2013 at 8:27 AM, Mark Janssen wrote:
> Here's how it *should* be made: the most superest, most badassed
> object should take care of its children. New instances should
> automatically call up the super chain (and not leave it up to the
> subclasses), so that the parent classes ca
On Tuesday, June 25, 2013 4:19:43 PM UTC-6, willle...@gmail.com wrote:
>[...]
> na=('type first integer n\')##THE RED SHADOW APPEARS HERE##
You want \n at the end of the string, not n\.
A backslash character \ in front of the ' escapes the ' and
causes it to to be considered as a character in the
On Wed, Jun 26, 2013 at 8:25 AM, Ian Kelly wrote:
> On Tue, Jun 25, 2013 at 4:17 PM, Chris Angelico wrote:
>> The main problem is getting to the top/end of the call chain. Classic
>> example is with __init__, but the same problem can also happen with
>> other calls. Just a crazy theory, but would
On 2013.06.25 17:19, willlewis...@gmail.com wrote:
> na=('type first integer n\')##THE RED SHADOW APPEARS HERE##
Here you escape the closing single quote. \n is a line feed, not n\. Also, the
parentheses are unnecessary, and it looks like you are a
assigning a tuple instead of a string.
Syntax err
Sorry my last message got sent prematurely. Retrying...
> So instead of super(), you would have sub()? It's an interesting
> concept, but I don't think it changes anything. You still have to
> design your classes cooperatively if you expect to use them with
> multiple inheritance.
Yes, and let
FORGET ABOUT is_triangle(5,4,3) I POST IT AND DONT KNOW HOW TO EDIT MY QUESTION
--
http://mail.python.org/mailman/listinfo/python-list
> The main problem is getting to the top/end of the call chain. Classic
> example is with __init__, but the same problem can also happen with
> other calls. Just a crazy theory, but would it be possible to
> construct a black-holing object that, for any given method name,
> returns a dummy function
I try to parse a soap/xml answer like:
http://schemas.xmlsoap.org/soap/envelope/";
xmlns:xsd="http://www.w3.org/2001/XMLSchema";
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance";>
http://schemas.xmlsoap.org/soap/encoding/";
xmlns:ns1="http://192.168.2.135:8490/gift-ws/services/S
> So instead of super(), you would have sub()? It's an interesting
> concept, but I don't think it changes anything. You still have to
> design your classes cooperatively if you expect to use them with
> multiple inheritance.
Yes, and let new instances of the child classes automatically ensure
t
On Tue, Jun 25, 2013 at 4:17 PM, Chris Angelico wrote:
> The main problem is getting to the top/end of the call chain. Classic
> example is with __init__, but the same problem can also happen with
> other calls. Just a crazy theory, but would it be possible to
> construct a black-holing object tha
On Tue, Jun 25, 2013 at 3:58 PM, Mark Janssen wrote:
> Ah, and here we see the weakness in the object architecture that has
> evolved in the past decade (not just in Python, note). It hasn't
> really ironed out what end is what. Here's a proposal: the highest,
> most "parental", most general o
I'am starting to learn python reading a book and I have to do some exercises
but I can't understand this one, when I run it it says EOL while scanning
string literal and a red shadow next to a line of code.
I'm trying to get input from user. I have 3 questions:
- Whats does EOL mean and in wha
On Wed, Jun 26, 2013 at 3:44 AM, Ian Kelly wrote:
> On Sun, Jun 23, 2013 at 1:33 PM, Antoon Pardon
> wrote:
>> Op 23-06-13 18:35, Steven D'Aprano schreef:
>>> Please don't. This is false economy. The time you save will be trivial,
>>> the overhead of inheritance is not going to be the bottleneck
> This bothers me as well. If you look at Raymond Hettinger's "super()
> considered super" article, he includes the (correct) advice that
> super() needs to be used at every level of the call chain. At the end
> of the article, he offers this example to show how "easy" multiple
> inheritance can
On Tue, Jun 25, 2013 at 2:31 PM, Joshua Landau
wrote:
> On 25 June 2013 21:22, Bryan Britten wrote:
>> Ah, I always forget to mention my OS on these forums. I'm running Windows.
>
> Supposedly, Windows has "more"
> [http://superuser.com/questions/426226/less-or-more-in-windows],
>
> For Linux+les
Joel -
I don't want to send it to a text file because it's just meant to serve as a
reference for the user to get an idea of what words are mentioned. The words
being analyzed are responses to a survey questions and the primary function of
this script is to serve as a text analytics program. Ex
On Tue, Jun 25, 2013 at 4:22 PM, Bryan Britten wrote:
> Ah, I always forget to mention my OS on these forums. I'm running Windows.
>
> --
> http://mail.python.org/mailman/listinfo/python-list
>
I don't think I fully understand your problem. Why can't you send output
to a text file, then use a te
On 25 June 2013 21:22, Bryan Britten wrote:
> Ah, I always forget to mention my OS on these forums. I'm running Windows.
Supposedly, Windows has "more"
[http://superuser.com/questions/426226/less-or-more-in-windows],
For Linux+less; this works:
from subprocess import Popen, PIPE
less = Popen("l
Ah, I always forget to mention my OS on these forums. I'm running Windows.
--
http://mail.python.org/mailman/listinfo/python-list
Le dimanche 23 juin 2013 18:30:40 UTC+2, Steven D'Aprano a écrit :
> On Sun, 23 Jun 2013 08:51:41 -0700, wxjmfauth wrote:
>
>
>
> > utf-8: how many bytes to hold an "a" in memory? one byte.
>
> >
>
> > flexible string representation: how many bytes to hold an "a" in memory?
>
> > One byte? N
On Tue, Jun 25, 2013 at 4:09 PM, Bryan Britten wrote:
> Hey, group, quick (I hope) question:
>
> I've got a simple script that counts the number of words in a data set
> (it's more complicated than that, but that's one of the functions), but
> there are so many words that the output is too much to
Hey, group, quick (I hope) question:
I've got a simple script that counts the number of words in a data set (it's
more complicated than that, but that's one of the functions), but there are so
many words that the output is too much to see in the command prompt window.
What I'd like to be able t
jonathan.slend...@gmail.com writes:
> Any suggestions for a good name, for a framework that does automatic
> server deployments?
Whatever you choose, make sure it is easily searchable. Googling for
"puppet" and "chef" only recently gave relevant results for something
not, er, doll or food related
jonathan.slend...@gmail.com writes:
> Any suggestions for a good name, for a framework that does automatic
> server deployments?
Whatever you choose, make sure it is easily searchable. Googling for
"puppet" and "chef" only recently gave relevant results for something
not, er, doll or food related
On 23 June 2013 03:49, Gene Heskett wrote:
> On Saturday 22 June 2013 22:46:51 christheco...@gmail.com did opine:
>
> > Writing simple program asking a question with the answer being
> > "yes"...how do I allow the correct answer if user types Yes, yes, or
> > YES?
> >
> > Thanks
>
> AND each char
On Sat, Jun 22, 2013 at 8:49 PM, Gene Heskett wrote:
> On Saturday 22 June 2013 22:46:51 christheco...@gmail.com did opine:
>
>> Writing simple program asking a question with the answer being
>> "yes"...how do I allow the correct answer if user types Yes, yes, or
>> YES?
>>
>> Thanks
>
> AND each
On Tue, Jun 25, 2013 at 2:00 PM, wrote:
> On 06/23/2013 07:44 PM, Νίκος wrote:> Why use mako's approach which
> requires 2 files(an html template and the
> > actual python script rendering the data) when i can have simple print
> > statements inside 1 files(my files.py script) ?
> > After all its
On 06/23/2013 07:44 PM, Νίκος wrote:> Why use mako's approach which requires 2
files(an html template and the
> actual python script rendering the data) when i can have simple print
> statements inside 1 files(my files.py script) ?
> After all its only one html table i wish to display.
Good que
JASMINE PASTUNG TI INVITA
facebook
Clicca "Mi piace" su Love Italy su Facebook
Dal momento che ricevi già gli aggiornamenti e-mail al di fuori di Facebook, Love Italy ti invita a cliccare su "Mi piace" sulla sua Pagina per non perderti neanche una notizia
On Sun, Jun 23, 2013 at 1:33 PM, Antoon Pardon
wrote:
> Op 23-06-13 18:35, Steven D'Aprano schreef:
>> Please don't. This is false economy. The time you save will be trivial,
>> the overhead of inheritance is not going to be the bottleneck in your
>> code, and by ignoring super, you only accomplis
On 25/06/2013 17:15, jyoun...@kc.rr.com wrote:
Thank you Rusi and Christian!
So it sounds like I should read the pdf data in as binary:
import os
pdfPath = '~/Desktop/test.pdf'
colorlistData = ''
with open(os.path.expanduser(pdfPath), 'rb') as f:
for i in f:
I guess the string constant 'XYZ:colorlist' needs to be a byte-string -- use b
prefix?
Dunno for sure. Black hole for me -- unicode!
--
http://mail.python.org/mailman/listinfo/python-list
On Tuesday, June 25, 2013 9:30:54 PM UTC+5:30, Ian wrote:
> In my experience the sorts of people who preach "one exit point" are
> also all about defining preconditions and postconditions and proving
> that the postconditions follow from the preconditions. I think that
> the two are linked, becaus
Thank you Rusi and Christian!
So it sounds like I should read the pdf data in as binary:
import os
pdfPath = '~/Desktop/test.pdf'
colorlistData = ''
with open(os.path.expanduser(pdfPath), 'rb') as f:
for i in f:
if 'XYZ:colorList' in i:
colorlistDat
On Tue, Jun 25, 2013 at 1:21 AM, Chris Angelico wrote:
> On Tue, Jun 25, 2013 at 2:20 PM, Benjamin Kaplan
> wrote:
>> The reason I was given (which I promptly ignored, of course) is that
>> it's "best practice" to only have one exit point for a block of code.
>> Only one way of terminating your l
On Wed, Jun 26, 2013 at 12:17 AM, Dave Angel wrote:
> On 06/25/2013 09:55 AM, Peter Otten wrote:
>>
>> Marco Perniciaro wrote:
>>
>>> Hi,
>>> I've been working with Python for a long time.
>>> Yet, I came across an issue which I cannot explain.
>>>
>>> Recently I have a new PC (Windows 7).
>>> Pre
On 06/24/2013 07:37 AM, Antoon Pardon wrote:
> Op 23-06-13 16:29, ru...@yahoo.com schreef:
>> On 06/21/2013 01:32 PM, Antoon Pardon wrote:
>>> Op 19-06-13 23:13, ru...@yahoo.com schreef:
>[...]
Note: although I clipped the "group volition"
paragraphs, thank you for pointing out that Nikos posts
go
Le 24/06/13 23:43, chrem a écrit :
Le 24/06/13 23:35, chrem a écrit :
Hi,
what is the best way to find out all exceptions for a class?
E.g. I want to find out all exceptions related to the zipfile (I'm
searching for the Bad password exception syntax).
thanks for your help or feedback,
Christop
On Mon, Jun 24, 2013 at 2:33 PM, wrote:
> Ian,
>
> Regarding your first message breaks are anathema (for many) and your other
> alternative is complicated.
>
> Regarding your second post, anding of lists is allowed, but generally
> returns non-utile results, but point taken.
> I guess technically
Thanks everyone. But it still did not work. I instead used a Python wrapper for
Hunspell called Pyhunspell. The actual link in PyPi does not work for Python
2.7 but it has been improved and upgraded in
[here](https://github.com/akshaylb/nepali-spellchecker-v2/tree/master/pyhunspell).
--
http://
On 6/25/2013 7:17 AM, jim...@aol.com wrote:
for i in range(n) while safe(i): ..
Combined for-while and for-if statements have been proposed before and
rejected. We cannot continuously add simple compositions to the langauge.
I disagree. The problem IMO is that python 'for's are a different
On 06/25/2013 09:55 AM, Peter Otten wrote:
Marco Perniciaro wrote:
Hi,
I've been working with Python for a long time.
Yet, I came across an issue which I cannot explain.
Recently I have a new PC (Windows 7).
Previously I could call a Python script with or without the "python" word
at the begin
On 06/25/2013 03:58 AM, akshay.k...@gmail.com wrote:
Thanks Dave.
I'm using Python 2.7 and am working on Linux Mint.
Does it mean that I cant load the functions within the dll whilst on Linux. I
thought that was what ctypes was used for.
Please correct me if I misunderstood what you meant.
c
On 06/25/2013 03:54 AM, Chris “Kwpolska” Warrick wrote:
On Tue, Jun 25, 2013 at 9:45 AM, Dave Angel wrote:
You're on Linux or similar, and dll's are the way a Windows executable is
named.
dll’s are libraries for windows, not executables (/lib not /bin)
Try going back to where you downloaded
Marco Perniciaro wrote:
> Hi,
> I've been working with Python for a long time.
> Yet, I came across an issue which I cannot explain.
>
> Recently I have a new PC (Windows 7).
> Previously I could call a Python script with or without the "python" word
> at the beginning. Now the behavior is differ
Phu Sam wrote:
> I have a method that opens a file, lock it, pickle.load the file into a
> dictionary.
> I then modify the status of a record, then pickle.dump the dictionary back
> to the file.
>
> The problem is that the pickle.dump never works. The file never gets
> updated.
>
> def updateSta
On 06/24/2013 08:20 AM, Lutz Horn wrote:
Hi,
Am 24.06.2013 14:12 schrieb christheco...@gmail.com:
username=raw_input("Please enter your username: ")
password=raw_input("Please enter your password: ")
if username == "john doe" and password == "fopwpo":
print "Login Successful"
else:
pr
On 2013-06-25, MRAB wrote:
> Automating tasks, e.g. controlling other applications and stringing
> together tasks that you would otherwise be doing by hand.
That, IMO, is the definition of "scripting": writing a program to
automate a task that would probably be done by hand if you didn't have
t
Hi,
Am 24.06.2013 14:12 schrieb christheco...@gmail.com:
username=raw_input("Please enter your username: ")
password=raw_input("Please enter your password: ")
if username == "john doe" and password == "fopwpo":
print "Login Successful"
else:
print "Please try again"
while not usernam
Hi,
I've been working with Python for a long time.
Yet, I came across an issue which I cannot explain.
Recently I have a new PC (Windows 7).
Previously I could call a Python script with or without the "python" word at
the beginning.
Now the behavior is different if I use or not use the "python" p
Op 23-06-13 18:35, Steven D'Aprano schreef:
On Sun, 23 Jun 2013 10:15:38 -0600, Ian Kelly wrote:
If you're worried about efficiency, you can also explicitly name the
superclass in order to call the method directly, like:
A.__init__(self, arg)
Please don't. This is false economy. The
Ian,
Regarding your first message breaks are anathema (for many) and your other
alternative is complicated.
Regarding your second post, anding of lists is allowed, but generally returns
non-utile results, but point taken.
I guess technically it could be the last statement, with the condition
I have a method that opens a file, lock it, pickle.load the file into a
dictionary.
I then modify the status of a record, then pickle.dump the dictionary back
to the file.
The problem is that the pickle.dump never works. The file never gets
updated.
def updateStatus(self, fp, stn, status):
>
> The Apathetic Approach:
>
> I could just assume that a programmer is responsible for the
> code he writes. If he passes mutables into a function as
> default arguments, and
On Saturday 22 June 2013 22:46:51 christheco...@gmail.com did opine:
> Writing simple program asking a question with the answer being
> "yes"...how do I allow the correct answer if user types Yes, yes, or
> YES?
>
> Thanks
AND each character coming in from the keyboard with $DF before adding it
On Jun 21, 2013, at 11:17 AM, Rick Johnson wrote:
> On Thursday, June 20, 2013 5:28:06 PM UTC-5, Lefavor, Matthew
> (GSFC-582.0)[MICROTEL LLC] wrote:
>>
>> [snip example showing dummy coder doing something dumb]
>>
>> +1. This is what convinces me that keeping references to
>> keyword arguments
Hi,
I've just uploaded pypiserver 1.1.2 to the python package index.
pypiserver is a minimal PyPI compatible server. It can be used to serve
a set of packages and eggs to easy_install or pip.
pypiserver is easy to install (i.e. just 'pip install pypiserver'). It
doesn't have any external depende
On Sat, Jun 22, 2013 at 8:40 AM, Antoon Pardon
wrote:
> Are you two guys now egging on Rick Johnson?
No. Rick is incorrigible, and I would have been surprised if he
responded to that anyway.
--
http://mail.python.org/mailman/listinfo/python-list
On Tue, Jun 25, 2013 at 9:59 PM, Robert Kern wrote:
> On 2013-06-25 12:48, Chris Angelico wrote:
>>
>> On Tue, Jun 25, 2013 at 9:19 PM, Robert Kern
>> wrote:
>>>
>>> There is quite a bit of Python's lexical analysis that is specified in
>>> places other than the formal notation. That does not mea
On 2013-06-25 12:48, Chris Angelico wrote:
On Tue, Jun 25, 2013 at 9:19 PM, Robert Kern wrote:
There is quite a bit of Python's lexical analysis that is specified in
places other than the formal notation. That does not mean it is undefined.
It is well defined in the lexer code and the documenta
On Mon, Jun 24, 2013 at 11:45:57PM +0100, MRAB wrote:
> On 24/06/2013 23:35, Chris Angelico wrote:
> >On Tue, Jun 25, 2013 at 8:30 AM, Tim Chase
> > wrote:
> >>On 2013-06-25 07:38, Chris Angelico wrote:
> >>>Python has no issues with breaking out of loops, and even has
> >>>syntax specifically to c
On Tue, Jun 25, 2013 at 9:19 PM, Robert Kern wrote:
> There is quite a bit of Python's lexical analysis that is specified in
> places other than the formal notation. That does not mean it is undefined.
> It is well defined in the lexer code and the documentation. You suggest that
> a "rule probabl
On 2013-06-24 13:50, Roy Smith wrote:
Without forming any opinion on the software itself, the best advice I
can offer is that naming puns are very popular. If you're thinking of
this as a fabric replacement, I would go with cloth, textile, material,
gabardine, etc.
brocade
--
Robert Kern
"I
On 2013-06-25 01:22, Mark Janssen wrote:
On Mon, Jun 24, 2013 at 4:48 PM, alex23 wrote:
On 23/06/2013 3:43 AM, Mark Janssen wrote:
There was a recent discussion about this (under "implicit string
concatenation"). It seems this is a part of the python language
specification that was simply un
> Syntax:
> fwhile X in ListY and conditionZ:
There is precedent in Algol 68:
for i from 0 to n while safe(i) do .. od
which would also make a python proposal that needs no new key words:
for i in range(n) while safe(i): ..
The benefit of the syntax would be to concentrate the co
Le mardi 25 juin 2013 06:38:44 UTC+2, Chris Rebert a écrit :
> Er, Salt is likewise written in Python.
You're right. Salt is also Python, excuse me, and it's very powerful as well.
--
http://mail.python.org/mailman/listinfo/python-list
On 24 June 2013 23:50, Chris Angelico wrote:
>
> In more free-form languages, I implement this by simply omitting a line-break:
...
> Python could afford to lose a little rigidity here rather than gain
> actual new syntax:
>
> for i in range(10): if i%3:
> print(i)
>
> And there you are, the f
On Tue, Jun 25, 2013 at 10:04 AM, wrote:
> @Chris
> I understand that. But then I am supposed to create something that works on a
> Windows environment using a Windows Dll.Aaandd Im stuck.
> --
> http://mail.python.org/mailman/listinfo/python-list
Then you need to get your hands on a copy of Wi
On 25 June 2013 00:13, Tim Chase wrote:
> On 2013-06-24 23:39, Fábio Santos wrote:
>> On 24 Jun 2013 23:35, "Tim Chase" wrote:
>> > On 2013-06-25 07:38, Chris Angelico wrote:
>> > > Python has no issues with breaking out of loops, and even has
>> > > syntax specifically to complement it (the 'else
On Tuesday, June 25, 2013 12:08:17 PM UTC+5:45, aksha...@gmail.com wrote:
> Im required to import ha certain dll called 'NHunspell.dll' which is used for
> Spell Checking purposes. I am using Python for the software. Although I
> checked out several websites to properly use ctypes, I have been un
Thanks Dave.
I'm using Python 2.7 and am working on Linux Mint.
Does it mean that I cant load the functions within the dll whilst on Linux. I
thought that was what ctypes was used for.
Please correct me if I misunderstood what you meant.
--
http://mail.python.org/mailman/listinfo/python-list
On Tue, Jun 25, 2013 at 9:45 AM, Dave Angel wrote:
> You're on Linux or similar, and dll's are the way a Windows executable is
> named.
dll’s are libraries for windows, not executables (/lib not /bin)
> Try going back to where you downloaded this file, and see if you can get the
> one for your O
On 06/25/2013 03:32 AM, akshay.k...@gmail.com wrote:
Thanks for the reply Mark. I did what you suggested.
But now I'm getting an error like this.
Traceback (most recent call last):
File "start.py", line 15, in
hunspell = cdll.LoadLibrary('/home/kuro/Desktop/notepad/Hunspellx64.dll')
Thanks for the reply Mark. I did what you suggested.
But now I'm getting an error like this.
Traceback (most recent call last):
File "start.py", line 15, in
hunspell = cdll.LoadLibrary('/home/kuro/Desktop/notepad/Hunspellx64.dll')
File "/usr/lib/python2.7/ctypes/__init__.py", line 443, i
jim...@aol.com:
Syntax:
fwhile X in ListY and conditionZ:
There is precedent in Algol 68:
for i from 0 to n while safe(i) do .. od
which would also make a python proposal that needs no new key words:
for i in range(n) while safe(i): ..
The benefit of the syntax would be to concent
On Tue, Jun 25, 2013 at 2:20 PM, Benjamin Kaplan
wrote:
> On Mon, Jun 24, 2013 at 8:54 PM, Chris Angelico wrote:
>> On Tue, Jun 25, 2013 at 12:01 PM, rusi wrote:
>>> On Tuesday, June 25, 2013 3:08:57 AM UTC+5:30, Chris Angelico wrote:
On Tue, Jun 25, 2013 at 5:52 AM, <> wrote:
>
Am 25.06.13 08:33, schrieb rusi:
On Tuesday, June 25, 2013 9:48:44 AM UTC+5:30, jyou...@kc.rr.com
wrote:
1. Is there another way to get metadata out of a pdf without having
to install another module? 2. Is it safe to assume pdf files should
always be encoded as latin-1 (when trying to read it th
On 25/06/2013 07:23, akshay.k...@gmail.com wrote:
Im required to import ha certain dll called 'NHunspell.dll' which is used for
Spell Checking purposes. I am using Python for the software. Although I checked
out several websites to properly use ctypes, I have been unable to load the dll
prop
100 matches
Mail list logo