On 5/30/20 1:42 AM, Preetha M wrote:
> Hello. Thank you for responding to my previous mail. Can someone tell me
> how to connect python to sublime text 3. Whenever I select python and type
> the code, it does not work when I press ctrl+B. Please tell.
>
Try Corey Schaefer's video on setup:
(sear
On 30/05/20 7:42 PM, Preetha M wrote:
Hello. Thank you for responding to my previous mail. Can someone tell me
how to connect python to sublime text 3. Whenever I select python and type
the code, it does not work when I press ctrl+B. Please tell.
ST is an editor/IDE which is not Python-specifi
Sorry, it was a glitch on the template when moved to another folder (just
fixed).
On Mon, Feb 19, 2018 at 10:08 AM, ElChino wrote:
> Fabio Zadrozny wrote:
>
> See: http://www.pydev.org/vscode/ for more information!
>>
>
> That page includes so many dead links that it looks
> like a joke.
> --
>
Fabio Zadrozny wrote:
See: http://www.pydev.org/vscode/ for more information!
That page includes so many dead links that it looks
like a joke.
--
https://mail.python.org/mailman/listinfo/python-list
On 2014-01-26 02:46, ngangsia akumbo wrote:
> Is it possible to write cartoon with 3D images using python?
>
> If yes , please locate me some resources. thank
Check out Blender which can be scripted using Python.
-tkc
--
https://mail.python.org/mailman/listinfo/python-list
On Sunday, January 26, 2014 11:55:34 AM UTC+1, Mark Lawrence wrote:
> On 26/01/2014 10:46, ngangsia akumbo wrote:
>
>
>
> What have you done to locate resources for yourself?
I have searched but not found something very clear. That is why i asked.
--
https://mail.python.org/mailman/listinfo/p
On 26/01/2014 10:46, ngangsia akumbo wrote:
Is it possible to write cartoon with 3D images using python?
If yes , please locate me some resources. thank
What have you done to locate resources for yourself?
--
My fellow Pythonistas, ask not what our language can do for you, ask
what you can
On 16/04/2013 03:02, Renato Barbosa Pim Pereira wrote:
I am trying to execute cgi101.py:
#!/usr/bin/python
import cgi
form = cgi.FieldStorage() # parse form data
print('Content-type: text/html\n')# hdr plus blank line
print('Reply Page')# html reply page
if not
Le 11/06/2012 16:12, chebrian a écrit :
Hi,
How to append the list of data in individual column of XL file, every
time from python script .
In standard lib => module csv (ascii comma separated values)
In non standard => binary xl => module xlrd for reading and module xlwt
for writing (http:/
Steven D'Aprano wrote:
On Thu, 12 Nov 2009 19:30:01 +, MRAB wrote:
I don't understand that. Exit status codes on all systems I'm familiar
with are limited to 0 through 255. What operating system are you using?
Assuming your system allows two-byte exit statuses, you should check
the documen
On Thu, 12 Nov 2009 19:30:01 +, MRAB wrote:
>> I don't understand that. Exit status codes on all systems I'm familiar
>> with are limited to 0 through 255. What operating system are you using?
>>
>> Assuming your system allows two-byte exit statuses, you should check
>> the documentation for
Diez B. Roggisch wrote:
> with open("/sys/class/net/wlan1/device/tx_power", "w") as f:
> f.write("%i" % POWER)
IIRC the sys and proc virtual file system requires new line at the end
of a modifier. At least echo appends \n unless it's told otherwise.
Christian
--
http://mail.python.org/mail
Steven D'Aprano wrote:
On Wed, 11 Nov 2009 17:24:37 -0800, hong zhang wrote:
List,
I have a question of python using echo.
POWER = 14
return_value = os.system('echo 14 >
/sys/class/net/wlan1/device/tx_power')
can assign 14 to tx_power
But
return_value = os.system('echo $POWER >
/sys/class/n
Steven D'Aprano wrote:
On Wed, 11 Nov 2009 17:24:37 -0800, hong zhang wrote:
List,
I have a question of python using echo.
POWER = 14
return_value = os.system('echo 14 >
/sys/class/net/wlan1/device/tx_power')
can assign 14 to tx_power
But
return_value = os.system('echo $POWER >
/sys/class/n
hong zhang schrieb:
List,
I have a question of python using echo.
POWER = 14
return_value = os.system('echo 14 > /sys/class/net/wlan1/device/tx_power')
can assign 14 to tx_power
But
return_value = os.system('echo $POWER > /sys/class/net/wlan1/device/tx_power')
return_value is 256 not 0. It
On Wed, 11 Nov 2009 17:24:37 -0800, hong zhang wrote:
> List,
>
> I have a question of python using echo.
>
> POWER = 14
> return_value = os.system('echo 14 >
> /sys/class/net/wlan1/device/tx_power')
>
> can assign 14 to tx_power
>
> But
> return_value = os.system('echo $POWER >
> /sys/class/n
hong zhang wrote:
List,
I have a question of python using echo.
POWER = 14
return_value = os.system('echo 14 > /sys/class/net/wlan1/device/tx_power')
can assign 14 to tx_power
But
return_value = os.system('echo $POWER > /sys/class/net/wlan1/device/tx_power')
return_value is 256 not 0. It c
2009/11/12 hong zhang :
> List,
>
> I have a question of python using echo.
>
> POWER = 14
> return_value = os.system('echo 14 > /sys/class/net/wlan1/device/tx_power')
>
> can assign 14 to tx_power
>
> But
> return_value = os.system('echo $POWER > /sys/class/net/wlan1/device/tx_power')
>
> return_v
and merry christmas :)
--
http://mail.python.org/mailman/listinfo/python-list
>>>NJSModule?
>>>http://en.wikipedia.org/wiki/NJS
>
>> This seems to be very good indeed. Just downloaded njs but the only
>> njsmodule version I could find was for python 2.1. Does anyone have a
>> recent copy?
>
> 1. You might ask here:
> http://lists.njs-javascript.org/cgi-bin/mailman/listinfo/u
NJSModule?
http://en.wikipedia.org/wiki/NJS
Daniel Fetchinson wrote:
This seems to be very good indeed. Just downloaded njs but the only
njsmodule version I could find was for python 2.1. Does anyone have a
recent copy?
1. You might ask here:
http://lists.njs-javascript.org/cgi-bin/mailman/
>> Is there a way to do similar things on linux?
>
> NJSModule?
> http://en.wikipedia.org/wiki/NJS
This seems to be very good indeed. Just downloaded njs but the only
njsmodule version I could find was for python 2.1. Does anyone have a
recent copy?
Cheers,
Daniel
--
Psss, psss, put it down! - h
Daniel Fetchinson wrote:
Is there a way to do similar things on linux?
NJSModule?
http://en.wikipedia.org/wiki/NJS
Alan Isaac
--
http://mail.python.org/mailman/listinfo/python-list
On Jul 7, 9:23Â am, "[EMAIL PROTECTED]" <[EMAIL PROTECTED]>
wrote:
> On 7 Ãec, 08:21, alex23 <[EMAIL PROTECTED]> wrote:
>
> > On Jul 7, 12:31 am, "[EMAIL PROTECTED]"
>
> > <[EMAIL PROTECTED]> wrote:
> > > I personally does not like COM solution. I prefer some simple library
> > > but may be it is
On 7 Äec, 08:21, alex23 <[EMAIL PROTECTED]> wrote:
> On Jul 7, 12:31 am, "[EMAIL PROTECTED]"
>
> <[EMAIL PROTECTED]> wrote:
> > I personally does not like COM solution. I prefer some simple library
> > but may be it is just a hope.
>
> Have you looked at the module 'python-spidermonkey'? It appare
On Jul 7, 12:31Â am, "[EMAIL PROTECTED]"
<[EMAIL PROTECTED]> wrote:
> I personally does not like COM solution. I prefer some simple library
> but may be it is just a hope.
Have you looked at the module 'python-spidermonkey'? It apparently
"allows for the implementation of Javascript classes, objec
On 6 Äec, 07:02, Tim Roberts <[EMAIL PROTECTED]> wrote:
> "[EMAIL PROTECTED]" <[EMAIL PROTECTED]> wrote:
>
> >for my Python application (Windows platform) to be standards
> >compliant, I need to embbed Ecmascript(Javascript) interpreter - I
> >need to execute plugins written in this language.
>
>
>> Is there a way to do similar things on linux?
>
> I think no. Because these tech use COM. And COM don't exist under xxnux.
> But:
> - look if XPCOM, or dBus) can help you
> - search with the word "MOZLAB", who work a solution (plugin) for
> drive Firefox, from an external software.
Wow, moz
Hi!
Is there a way to do similar things on linux?
I think no. Because these tech use COM. And COM don't exist under xxnux.
But:
- look if XPCOM, or dBus) can help you
- search with the word "MOZLAB", who work a solution (plugin) for
drive Firefox, from an external software.
Good luck!
--
"[EMAIL PROTECTED]" <[EMAIL PROTECTED]> wrote:
>
>for my Python application (Windows platform) to be standards
>compliant, I need to embbed Ecmascript(Javascript) interpreter - I
>need to execute plugins written in this language.
What standard are you hoping to comply with? I mean, what kind of a
> Ecmascript (Jscript) is Active-Scripting compliant.
> With PyWin32, you can :
> - call JScript functions (with parameters)
> - define pieces of code (& run it)
>
> Another way, is to drive Internet-Explorer (via COM). You can set the
> IE-Windows as invisible, and connect the motor of exe
Hi!
Ecmascript (Jscript) is Active-Scripting compliant.
With PyWin32, you can :
- call JScript functions (with parameters)
- define pieces of code (& run it)
Another way, is to drive Internet-Explorer (via COM). You can set the
IE-Windows as invisible, and connect the motor of execution (
On Sat, 5 Jul 2008 06:28:42 -0700 (PDT), "[EMAIL PROTECTED]"
<[EMAIL PROTECTED]> wrote:
> Hello,
>
> for my Python application (Windows platform) to be standards
> compliant, I need to embbed Ecmascript(Javascript) interpreter - I
> need to execute plugins written in this language. Which engine is
Le Mon, 22 Oct 2007 05:00:02 -0700, Ant a écrit :
> On Oct 22, 10:58 am, Paul Brauner <[EMAIL PROTECTED]> wrote:
>> I'll look at that. Thanks a lot !
>
> I've just had a look, it's the pindent.py script in Tools/Scripts (at
> least it is on Windows). It takes code of the following form:
>
> def
On Mon, 22 Oct 2007 09:44:27 + (UTC), Paul Brauner <[EMAIL PROTECTED]>
wrote:
> [snip]
> I thought that it must exists because everyone generating python code will
>encounter more or less the same problem, but I didn't find any 'official'
>thing on the subject.
I expect many projects which em
On Oct 22, 10:58 am, Paul Brauner <[EMAIL PROTECTED]> wrote:
> I'll look at that. Thanks a lot !
I've just had a look, it's the pindent.py script in Tools/Scripts (at
least it is on Windows). It takes code of the following form:
def foobar(a, b):
if a == b:
a = a+1
elif a < b:
On Mon, 22 Oct 2007 09:44:27 +, Paul Brauner wrote:
> Hi, I'm working on a project that outputs several languages including
> (hopefully) python. My problem is that the generic backend architecture
> has not been designed to output correctly indented code, and that would
> be helpful if the
I'll look at that. Thanks a lot !
--
http://mail.python.org/mailman/listinfo/python-list
On Oct 22, 10:44 am, Paul Brauner <[EMAIL PROTECTED]> wrote:
> Hi, I'm working on a project that outputs several languages including
> (hopefully) python. My problem is that the generic backend architecture
> has not been designed to output correctly indented code, and that would
> be helpful if th
On Tue, 18 Sep 2007 00:26, Grant Edwards wrote in comp.lang.python
<<[EMAIL PROTECTED]>>:
> On 2007-09-17, Laurent Pointal <[EMAIL PROTECTED]> wrote:
>
>> Note3: Its funny to see how Python users tries to change the
language,
>> does this occure with C, C++, Java, C# ?
>
> Yes. I remember some
Ivan Voras wrote:
> Hi,
>
> I'm looking for a construct that's similar to (Turbo) Pascal's "with"
> statement. I read about the Python's new "with" statement, but I was
> dissapointed to learn that it does something different (I still don't
> see how it's better than try..except..finally, but that
Laurent Pointal a écrit :
(snip)
> Note3: Its funny to see how Python users tries to change the language,
s/Python users/some new Python users/, IMHO.
--
http://mail.python.org/mailman/listinfo/python-list
Grant Edwards a écrit :
> On 2007-09-17, Laurent Pointal <[EMAIL PROTECTED]> wrote:
>
>> Note3: Its funny to see how Python users tries to change the language,
>> does this occure with C, C++, Java, C# ?
>
> Yes. I remember somebody I worked with once who write a C
> program using a whole pile
On 2007-09-17, Laurent Pointal <[EMAIL PROTECTED]> wrote:
> Note3: Its funny to see how Python users tries to change the language,
> does this occure with C, C++, Java, C# ?
Yes. I remember somebody I worked with once who write a C
program using a whole pile of macros to make it look like BASIC
Ivan Voras a écrit :
> Laurent Pointal wrote:
>
>> The ugly part is the 'tmp' name, try to choose a name with a proper
>> meaning about what it is really, and it become clean and readable:
>>
>> filerefs = some.big.structure.or.nested.object.with.file.references
>> filerefs.encoding = "utf-8"
>>
Ivan Voras wrote:
> Well, no, but this might be due to personal tastes. At least, I don't
> think it's better then some other alternatives. For example, in C99 you
> can do:
>
> static struct option_s foo_option = {
> .name = "foo",
> .type = O_STRING,
> .def_value = "default"
> };
Ivan Voras wrote:
> Laurent Pointal wrote:
>
>> The ugly part is the 'tmp' name, try to choose a name with a proper
>> meaning about what it is really, and it become clean and readable:
>>
>> filerefs = some.big.structure.or.nested.object.with.file.references
>> filerefs.encoding = "utf-8"
>> filer
Laurent Pointal wrote:
The ugly part is the 'tmp' name, try to choose a name with a proper
meaning about what it is really, and it become clean and readable:
filerefs = some.big.structure.or.nested.object.with.file.references
filerefs.encoding = "utf-8"
filerefs.name = "MyFileName.txt"
fileref
Ivan Voras a écrit :
> I know it can be almost always done by using a temporary variable:
>
> tmp = some.big.structure.or.nested.objects.element
> tmp.member1 = something
> tmp.member2 = something
>
> but this looks ugly to me.)
The ugly part is the 'tmp' name, try to choose a name with a prope
On Sep 16, 3:07 pm, Ivan Voras <[EMAIL PROTECTED]> wrote:
> Hi,
>
> I'm looking for a construct that's similar to (Turbo) Pascal's "with"
> statement. I read about the Python's new "with" statement, but I was
> dissapointed to learn that it does something different (I still don't
> see how it's bet
Ivan Voras <[EMAIL PROTECTED]> writes:
> I know it can be almost always done by using a temporary variable:
>
> tmp = some.big.structure.or.nested.objects.element
> tmp.member1 = something
> tmp.member2 = something
>
> but this looks ugly to me.)
To me, it looks explicit. Python programmers val
Ivan Voras wrote:
> I'm looking for a construct that's similar to (Turbo) Pascal's
> "with" statement.
Please have a look at the archives -- this is discussed here from
time to time. I think last time it was a Visual BASIC fan that
asked a similar question.
> I know it can be almost always done
Ivan Voras wrote:
> Hi,
>
> I'm looking for a construct that's similar to (Turbo) Pascal's "with"
> statement. I read about the Python's new "with" statement, but I was
> dissapointed to learn that it does something different (I still don't
> see how it's better than try..except..finally, but that'
Mitko,
Thank you for your response.
You understand the problem correctly. The Python module uses MPI calls
in its implementation. The idea of the project is to create an
abstraction for a distributed memory computer. In doing so, the user is
mostly isolated from a need to understand and use MPI c
On 19 Oct 2006 06:51:00 -0700
"[EMAIL PROTECTED]" <[EMAIL PROTECTED]> wrote:
> 1) Would setting up an environment like this require modifying the
> Python interpreter or the C++ module that is being wrapped? What I'm
> hoping is that the C++ module can go on happily doing MPI operations
> despite
Asem Eltaher wrote:
> Dear users,
> I use Python version 2.4.3 and DyBase Object Oriented Database. These
> are the first three lines in my program:
>
> import os
> import sys
> import dybase
>
> I usually get the error message: ImportError: DLL load failed. Kindly
> be informed that I have in t
Dennis Benzinger wrote:
> Philippe Martin wrote:
>> Dennis Benzinger wrote:
>>
>>> Stan Cook wrote:
I've been trying to use Eclipse with Python on Linux for a while and
have noticed something odd. After running the code or debugging a few
times, its responsiveness gets really bad.
Jason wrote:
> PyDev Eclipse keeps around the python interpreter unless it gets
> removed. I think part of the point is to keep around failed runs so
> the user can investigate the stack. Eclipse doesn't keep this around
> if you Run you script, but it will keep the interpreter alive if you
> Deb
PyDev Eclipse keeps around the python interpreter unless it gets
removed. I think part of the point is to keep around failed runs so
the user can investigate the stack. Eclipse doesn't keep this around
if you Run you script, but it will keep the interpreter alive if you
Debug your script, regardl
Philippe Martin wrote:
> Dennis Benzinger wrote:
>
>> Stan Cook wrote:
>>> I've been trying to use Eclipse with Python on Linux for a while and
>>> have noticed something odd. After running the code or debugging a few
>>> times, its responsiveness gets really bad. Upon checking the equivalent
>>
On 6/19/06, Philippe Martin <[EMAIL PROTECTED]> wrote:
Dennis Benzinger wrote:> Stan Cook wrote:>> I've been trying to use Eclipse with Python on Linux for a while and>> have noticed something odd. After running the code or debugging a few>> times, its responsiveness gets really bad. Upon checkin
Dennis Benzinger wrote:
> Stan Cook wrote:
>> I've been trying to use Eclipse with Python on Linux for a while and
>> have noticed something odd. After running the code or debugging a few
>> times, its responsiveness gets really bad. Upon checking the equivalent
>> of the task manager, I find se
On 6/18/06, Stan Cook <[EMAIL PROTECTED]> wrote:
I've been trying to use Eclipse with Python on Linux for awhile and have noticed something odd. After running thecode or debugging a few times, its responsiveness getsreally bad. Upon checking the equivalent of the task
manager, I find several inst
Stan Cook wrote:
> I've been trying to use Eclipse with Python on Linux for a while and
> have noticed something odd. After running the code or debugging a few
> times, its responsiveness gets really bad. Upon checking the equivalent
> of the task manager, I find several instances of Python ru
On Wed, 26 Jan 2005 11:31:18 +0800, mep wrote:
> Hi,all
> Is there anybody trying to release a modification version to current
> python source code with no significant whitespace, say replacing whitespace
> by {}
> like C or java. I do *NOT* mean whitespace is good or bad, just
> want to know.
Just though I'd point out that Logix *does* use whitespace for
delimiting blocks. Or rather, it can use whitespace, and the languages
that come as standard do.
With Logix you could quite easily make a version of Python with, e.g.,
braces instead of whitespace for delimiting blocks. That's probably
On Wed, 26 Jan 2005 11:31:18 +0800, mep <[EMAIL PROTECTED]> wrote:
> Hi,all
> Is there anybody trying to release a modification version to current
> python source code with no significant whitespace, say replacing whitespace
> by {}
> like C or java. I do *NOT* mean whitespace is good or bad, j
67 matches
Mail list logo