On Saturday, 24 November 2012 17:06:57 UTC+5:30, bakie wrote:
> in the last question I try how to run py script with pycharm .
>
> thank dear bro ...
>
>
>
> and then I wanna have that program with .exe ( standalone installer ) . How
> can i do that ?
>
>
>
> I tried with two ways
>
> 1
On 25Nov2012 04:06, Steven D'Aprano
wrote:
| On Sat, 24 Nov 2012 14:32:19 -0800, Michael Herrmann wrote:
| > how about "write" instead of "type"? Just came to me in a flash of
| > inspiration. I know it's also pretty general but at least it's not a
| > built-in!
|
| "write" is an extremely commo
On Sat, 24 Nov 2012 14:32:19 -0800, Michael Herrmann wrote:
> Hi,
>
> how about "write" instead of "type"? Just came to me in a flash of
> inspiration. I know it's also pretty general but at least it's not a
> built-in!
"write" is an extremely common operation with a signature very similar to
t
(This comes from my experience writing interactive fiction with the TADS
workbench; YMMV) As a rule, it's generally unwise to modify built-in variables
without thoroughly documenting your changes. Your modifications might not hold
up if the built-in definitions are revised (which would break y
On 24Nov2012 14:32, Michael Herrmann wrote:
| how about "write" instead of "type"? Just came to me in a flash of
inspiration. I know it's also pretty general but at least it's not a built-in!
+1
--
Cameron Simpson
Cars making a sudden U-turn are the most dangerous. They may cut you off
entir
Hi,
how about "write" instead of "type"? Just came to me in a flash of inspiration.
I know it's also pretty general but at least it's not a built-in!
Thanks!
Michael
On Friday, November 23, 2012 11:30:18 PM UTC+1, Cameron Simpson wrote:
> On 23Nov2012 10:41, Michael Herrmann <> wrote:
>
> [...
Hey,
how about 'write' instead of 'enter'?
write("Hello World!")
write("Brick Lane", into="Street")
This avoids the ambiguity of whether 'enter' ends by pressing ENTER or not.
Thanks,
Michael
On Tuesday, November 20, 2012 1:18:38 PM UTC+1, Michael Herrmann wrote:
> Hi,
>
>
This is my current project setup:
.
├── README.md
├── build
│ ├── bdist.macosx-10.8-intel
│ └── lib
├── dist
│ └── giordano-0.1-py2.7.egg
├── giordano.egg-info
│ ├── PKG-INFO
│ ├── SOURCES.txt
│ ├── dependency_links.txt
│ ├── not-zip-safe
│ └── top_level.txt
├── requirements.txt
├─
Thanks for your reply Dennis,
the commands sounding like they should be commands to a user is the whole point
of the exercise: In doing so, we hope to make the API accessible also to users
from a less technical background. You are perfectly right that system events
are being generated and passe
Hi Steven,
press('s') is allowed. So is press('S') - it presses shift for you and is thus
equivalent to press(SHIFT + 's'). You can write press('f', 's'). You cannot
write press('fs') because that's what enter(...) is for. If you try - or, as I
would deem more likely, happen do to it by mistake
Just a quick update: after enlisting some help from a friend, we managed to get
things working :) Thanks for all the help. In the area of items and monsters,
they're both chosen from lists, based on some simple selection criteria (number
per room, total per level, chance of appearance). Now,
Steve Petrie wrote:
> On Thursday, November 22, 2012 1:42:42 AM UTC-5, Kev Dwyer wrote:
>> Steve Petrie wrote:
>>
>>
>>
>> > On Wednesday, November 21, 2012 2:32:40 AM UTC-5, Kev Dwyer wrote:
>>
>> >> Hello List,
>>
>> >>
>>
>> >>
>>
>> >>
>>
>> >> I have to build a simple web service w
On Thursday, November 22, 2012 1:42:42 AM UTC-5, Kev Dwyer wrote:
> Steve Petrie wrote:
>
>
>
> > On Wednesday, November 21, 2012 2:32:40 AM UTC-5, Kev Dwyer wrote:
>
> >> Hello List,
>
> >>
>
> >>
>
> >>
>
> >> I have to build a simple web service which will:
>
> >>
>
> >>
>
> >>
Thank you for your speedy response! And yes, I was too hasty in firing off a
request without the necessary details.
And in fact the resize from the PIL Image module does work:
f = Image.open('bird-of-paradise-flower-1.jpg')
r,c = f.size
f2 = f.resize((r//2,c//2))
f2.show()
shape(f) # returns(7
On Sat, Nov 24, 2012 at 4:14 AM, Alasdair McAndrew wrote:
> I can resize a 2d image "im" with a command something like:
>
> r,c = shape(im)
> im2 = resize(im,(r//2,c//2))
>
> However, resize doesn't seem to work with an RGB image:
>
> r,c,n = shape(im) # returns, say 500 600 3
>
> I then need to
Am 24.11.12 12:36, schrieb bakie:
in the last question I try how to run py script with pycharm .
thank dear bro ...
and then I wanna have that program with .exe ( standalone installer ) . How
can i do that ?
I tried with two ways
1) py2exe
2) cx_freeze
but I don't like that It has many file
On 11/24/2012 06:37 AM, Dave Angel wrote:
Oops, I sent before I was done editing. Corrections below.
> On 11/24/2012 06:14 AM, Alasdair McAndrew wrote:
>> I can resize a 2d image "im" with a command something like:
>>
>> r,c = shape(im)
>> im2 = resize(im,(r//2,c//2))
> You're missing at least on
in the last question I try how to run py script with pycharm .
thank dear bro ...
and then I wanna have that program with .exe ( standalone installer ) . How
can i do that ?
I tried with two ways
1) py2exe
2) cx_freeze
but I don't like that It has many file when i complie my script .
which wa
On 11/24/2012 06:14 AM, Alasdair McAndrew wrote:
> I can resize a 2d image "im" with a command something like:
>
> r,c = shape(im)
> im2 = resize(im,(r//2,c//2))
You're missing at least one import there.
So how about you start by telling us what non-standard libraries you're
using, what version o
I got it , Ur anser is right .
use that links http://www.lfd.uci.edu/~gohlke/pythonlibs/ ( unofficial
libriares )
--
http://mail.python.org/mailman/listinfo/python-list
I can resize a 2d image "im" with a command something like:
r,c = shape(im)
im2 = resize(im,(r//2,c//2))
However, resize doesn't seem to work with an RGB image:
r,c,n = shape(im) # returns, say 500 600 3
I then need to take each band separately, resize it, and put them all back
together with
i used window 7 , 64 bits
--
http://mail.python.org/mailman/listinfo/python-list
which version can i install /
http://qt-project.org/downloads
--
http://mail.python.org/mailman/listinfo/python-list
Le 24/11/12 11:20, bakie a écrit :
> when I run py script in pycharm for UI
>
>
> Code:
> import from PySide.QtCore import * from PySide.QtGui import * import urllib2
> class Form(QDialog): def __init__(self, parent=None): super(Form,
> self).__init__(parent) date = self.getdata() rates =
> sor
when I run py script in pycharm for UI
Code:
import from PySide.QtCore import * from PySide.QtGui import * import urllib2
class Form(QDialog): def __init__(self, parent=None): super(Form,
self).__init__(parent) date = self.getdata() rates = sorted(self.rates.keys())
dateLabel = QLabel(date) s
25 matches
Mail list logo