emember it was associated only with svn -- cvs didn't have that
problem -- but it was something like trying to make undo on a file
that didn't have anything changed and then it would go to the svn and
remove another file).
Cheers,
Fabio
On Fri, Apr 4, 2008 at 12:38 PM, Nebur <[EMAIL
anted to point out that eclipse saves your file history
(even if you do not have a vcs)... that operation can be selected by
right clicking a parent folder and selecting 'restore from local
history'.
Cheers,
Fabio
--
http://mail.python.org/mailman/listinfo/python-list
---
PyDev is a plugin that enables users to use Eclipse for Python and
Jython development -- making Eclipse a first class Python IDE -- It
comes with many goodies such as code completion, syntax highlighting,
syntax analysis, refactor, debug and many others.
et/ for more details).
Aside from that, which 'funky' things started happening?
Cheers,
Fabio
--
http://mail.python.org/mailman/listinfo/python-list
nalysis, refactor, debug and many others.
Cheers,
--
Fabio Zadrozny
--
Software Developer
ESSS - Engineering Simulation and Scientific Software
http://www.esss.com.br
Pydev Extensions
http://www.fabioz.com/pydev
Pydev - Python Developme
use Eclipse for Python and Jython
development -- making Eclipse a first class Python IDE -- It comes with many
goodies such as code completion, syntax highlighting, syntax analysis,
refactor, debug and many others.
Cheers,
--
Fabio Zadrozny
--
Sof
hon development -- making Eclipse a first class Python IDE -- It
comes with many goodies such as code completion, syntax highlighting,
syntax analysis, refactor, debug and many others.
Cheers,
--
Fabio Zadrozny
--
Software Developer
ESSS - E
(menu: run > external tools >
external tools). You can also add a keybinding to the last external tool
launched.
Cheers,
Fabio
--
Fabio Zadrozny
--
Software Developer
ESSS - Engineering Simulation and Scientific Software
www.esss.com.b
s below that folder --
recursively), and then we pass that script in the external tool
(actually as a parameter, as the tool will be python itself). It is not
only easier within Eclipse, but in the command line too.
Cheers,
Fabio
--
Fa
k on template images
Cheers,
-- Fabio Zadrozny
--
Software Developer
ESSS - Engineering Simulation and Scientific Software
http://www.esss.com.br
Pydev Extensions
http://www.fabioz.com/pydev
Pydev - Python Development Enviroment for Ecli
Hi Sullivan,Just to let you know, pydev does all that you asked for (and if there's something you're missing you might want to add a feature request to it:
http://sourceforge.net/tracker/?group_id=85796&atid=577332)Some notes:To change the indentation in 'blocks', just select the lines you want an
Hi All,Does someone know if there is some way to supress the '>>>' and '...' in the python prompt (while actually forcing prompts with -i)?-- and all that in a non-platform dependent way ;-)
Thanks,Fabio
--
http://mail.python.org/mailman/listinfo/python-list
Hi... Found out (sys.ps1 and sys.ps2 control that).Cheers,FabioOn 3/18/06, Fabio Zadrozny <[EMAIL PROTECTED]
> wrote:Hi All,Does someone know if there is some way to supress the '>>>' and '...' in the python prompt (while actually forcing prompts with -i)
ev for Eclipse.Good moderately priced: Komodo.You forgot excellent and moderately priced: Pydev Extensions ;-P (it is an extension to Pydev that adds many nice features... check it at
http://www.fabioz.com/pydev). Cheers,Fabio
--
http://mail.python.org/mailman/listinfo/python-list
On 31 Mar 2006 06:46:35 -0800, kbperry <[EMAIL PROTECTED]> wrote:
I have recently been trying out NewEdit, and it is a pretty good "IDE"for Python.The reason that I have it in quotes is because I haven't really found atrue IDE (like the way Eclipse behaves for Java) for python. (I
realize that Ecl
Well, in pydev you surely can have code-completion on 'math.'
I think you got some wrong configuration... Have you read the
getting started manual?
(http://www.fabioz.com/pydev/manual_101_root.html)
On 31 Mar 2006 07:44:38 -0800, kbperry <[EMAIL PROTECTED]> wrote:
To me, it just doesn't behave t
On 3/31/06, Keith B. Perry <[EMAIL PROTECTED]> wrote:
You are probably right, and I will
definitely take a look at the starter manual. Hopefully it also
works well on classes that I create? You got some nice docs there.
Surely does ;-)
Cheers,
Fabio
Thanks for the tip!
On 3/31/06,
Jython development -- making Eclipse a first class Python IDE -- It
comes with many goodies such as code completion, syntax highlighting,
syntax analysis, refactor, debug and many others.
Cheers,
--
Fabio Zadrozny
--
Software Developer
ESSS - E
x analysis, refactor, debug and many others.
Cheers,
--
Fabio Zadrozny
--
Software Developer
ESSS - Engineering Simulation and Scientific Software
http://www.esss.com.br
Pydev Extensions
http://www.fabioz.com/pydev
Pydev - Python D
steeper, although that road will
certainly be more work than adding support in notepad++ ).
Cheers,
Fabio
--
http://mail.python.org/mailman/listinfo/python-list
users to use Eclipse for Python, Jython
and IronPython development -- making Eclipse a first class Python IDE
-- It comes with many goodies such as code completion, syntax
highlighting, syntax analysis, refactor, debug and many others.
Cheers,
--
Fabio Zadrozny
DEV_CONSOLE_ENCODING' in the environment or let it try to find a
default on) -- should be compatible with python 2 or 3.
Cheers,
Fabio
--
http://mail.python.org/mailman/listinfo/python-list
On Sat, Dec 19, 2009 at 8:36 AM, Fabio Zadrozny wrote:
> On Fri, Dec 18, 2009 at 1:38 PM, Steve Holden wrote:
>> I've written a Python 3 course that uses an Eclipse-based teaching
>> system. The school is telling me that their version of Eclipse/pydev
>> appears to hav
development -- making Eclipse a first class Python IDE -- It
comes with many goodies such as code completion, syntax highlighting, syntax
analysis, refactor, debug and many others.
Cheers,
--
Fabio Zadrozny
--
Software Developer
Aptana
http://a
nterpreter can't know about
> these things at compile time, but I thought I'd ask.
>
Pydev has a code-analysis feature which works analyzing the code while
you're typing. See: http://pydev.org/manual_adv_code_analysis.html
Cheers,
Fabio
--
http://mail.python.org/mailman/listinfo/python-list
yntax
highlighting, syntax analysis, refactor, debug and many others.
Cheers,
--
Fabio Zadrozny
--
Software Developer
Aptana
http://aptana.com/python
Pydev - Python Development Environment for Eclipse
http://pydev.org
http://pydev.blogspot.com
such as code completion, syntax
highlighting, syntax analysis, refactor, debug and many others.
Cheers,
--
Fabio Zadrozny
--
Software Developer
Aptana
http://aptana.com/python
Pydev - Python Development Environment for Eclipse
http://pydev.org
ociations: add
the *.extension and bind it to the Python Editor (see how the *.py
association is done).
2. window > preferences > Pydev > editor > code style > file types:
add your custom extension there (and you may want to change the
default python extension if you'll keep cre
IronPython development -- making Eclipse a first class Python IDE
-- It comes with many goodies such as code completion, syntax
highlighting, syntax analysis, refactor, debug and many others.
Cheers,
--
Fabio Zadrozny
--
Software Developer
Apta
ly maintained, which takes a lot
of effort, so, I'm not sure it'd be worth reproducing all that just to
have it 100% Python code -- I say 100% because Pydev does have a
number of things that are in Python, such as the debugger and Jython
for the scripting engine, although the major portion is really in
java.
Another important aspect is that it's much better if you can get an
experience that can later be replicated to other languages (which
Eclipse provides).
Cheers,
Fabio
--
http://mail.python.org/mailman/listinfo/python-list
x analysis, refactor, debug and many others.
Cheers,
--
Fabio Zadrozny
--
Software Developer
Aptana
http://aptana.com/
Pydev - Python Development Environment for Eclipse
http://pydev.org
http://pydev.blogspot.com
--
http://mail.python.org/mai
pyuic when a .ui file is changed, so you don't
have to go to the console to ask pyuic to be rerun every time you change the
file.
Cheers,
Fabio
--
http://mail.python.org/mailman/listinfo/python-list
Python, Jython
and IronPython development -- making Eclipse a first class Python IDE
-- It comes with many goodies such as code completion, syntax
highlighting, syntax analysis, refactor, debug and many others.
Cheers,
--
Fabio Zadrozny
--
Sof
Europython is coming back around! Europython will be held in Florence,
Italy from the 20th to the 25th of june.
EuroPython is a conference for the Python programming language
community. It is aimed at everyone in the Python community, of all
skill levels, both users and programmers. It's one of t
rompt?
>
Yes. See: http://pydev.org/manual_adv_interactive_console.html
Cheers,
Fabio
--
http://mail.python.org/mailman/listinfo/python-list
om the c++ ide, the python debugger should connect to it remotely).
What I usually use is the pydev remote debugger
(http://pydev.org/manual_adv_remote_debugger.html) and msvc (through
tools > attach to process).
Cheers,
Fabio
--
http://mail.python.org/mailman/listinfo/python-list
nd the contents
of the related modules).
Cheers,
Fabio
--
http://mail.python.org/mailman/listinfo/python-list
is not None:
stream = open(file, encoding=encoding)
else:
stream = open(file)
try:
contents = stream.read()
finally:
stream.close()
exec(compile(contents+"\n", file, 'exec'), globals, locals)
#execute the script
Cheers,
Fabio
--
http://mail.python.org/mailman/listinfo/python-list
linux
What is PyDev?
---
PyDev is a plugin that enables users to use Eclipse for Python, Jython
and IronPython development -- making Eclipse a first class Python IDE
-- It comes with many goodies such as code completion, syntax
highlighting, syntax analysis, r
ives in mind that would improve that support
greatly, some things could never be really fixed, such as changing the
value of an int constant that's been already assigned to somewhere
else -- anyways, I've got my hands on some other things right now, so,
there's currently no pla
ample.__module__ to '__main__'
>>
>>>>> import sys; print('%s %s' % (sys.executable or sys.platform,
>>>>> sys.version))
>> C:\Python31\python.exe 3.1.2 (r312:79149, Mar 21 2010, 00:41:52) [MSC
>> v.1500 32 bit (Intel)]
>>>>> import pickle
>>>>> class Example:
>> ... pass
>> ...
>>>>> Example.__module__
>> 'builtins'
>>>>> Example.__module__ = '__main__'
>>>>> obj = Example()
>>>>> obj
>> <__main__.Example object at 0x029E8FD0>
>>>>> f = open('testpickle.pkl','wb')
>>>>> pickle.dump(obj, f)
>> Traceback (most recent call last):
>> File "", line 1, in
>> File "C:\Python31\lib\pickle.py", line 1354, in dump
>> Pickler(file, protocol, fix_imports=fix_imports).dump(obj)
>> _pickle.PicklingError: Can't pickle :
>> attribute lookup __main__.Example failed
>>>>>
>>
>> Dang.
>>
>> Any insights?
>
> Sorry, no. Consider a bug report to the pydev project.
>
I've taken a look at the pydev code and the issue seems to be in
python itself. See: http://bugs.python.org/issue8943
Cheers,
Fabio
--
http://mail.python.org/mailman/listinfo/python-list
uot;license" for more
information.
>>> import locale;locale.nl_langinfo
Traceback (most recent call last):
File "", line 1, in
AttributeError: 'module' object has no attribute 'nl_langinfo'
Is that what I should be using? Is there any other way for get
onPython development -- making Eclipse a first class Python IDE
-- It comes with many goodies such as code completion, syntax
highlighting, syntax analysis, refactor, debug and many others.
Cheers,
--
Fabio Zadrozny
--
Software Developer
Aptana
http:
une 24th
is not totally backward compatible -- and unfortunately no one saw
that issue with the nightly build before the release either :(
Cheers,
Fabio
--
http://mail.python.org/mailman/listinfo/python-list
many others.
Cheers,
--
Fabio Zadrozny
--
Software Developer
Aptana
http://aptana.com/
Pydev - Python Development Environment for Eclipse
http://pydev.org
http://pydev.blogspot.com
--
http://mail.python.org/mailman/listinfo/python-list
gt;
> Pressing Ctrl-Alt-Enter, a interactive console opens but my class
> defined in the editor window is not available.
The first time Ctrl-Alt-Enter is used, it should open the console, if
you want to make the execfile, you have to do Ctrl-Alt-Enter with a
console already open.
Cheers,
Fabio
enables users to use Eclipse for Python, Jython
and IronPython development -- making Eclipse a first class Python IDE
-- It comes with many goodies such as code completion, syntax
highlighting, syntax analysis, refactor, debug and many others.
Cheers,
--
Fabio Zadrozny
be pretty quick unless you have some
firewall that's preventing the communication or the spawn didn't go
well -- check your error log to see if you have any errors... In linux
I've seen some problems when connecting to 127.0.0.1 while having ipv6
enabled or in a network card miscon
retor?
Please follow the getting started tutorial for that:
http://fabioz.com/pydev/manual_101_root.html
Cheers,
Fabio
>
> Thanks
>
> James
>
> On Fri, Jun 19, 2009 at 9:32 AM, Fabio Zadrozny wrote:
>>
>> > yes, the same problem even on an empty program. every fil
ydev extensions adds to that a remote debugger (
http://fabioz.com/pydev/manual_adv_remote_debugger.html ) and a
console ( http://fabioz.com/pydev/manual_adv_debug_console.html ).
Cheers,
Fabio
--
http://mail.python.org/mailman/listinfo/python-list
hon development -- making Eclipse a first class Python IDE
-- It comes with many goodies such as code completion, syntax
highlighting, syntax analysis, refactor, debug and many others.
Cheers,
--
Fabio Zadrozny
--
Software Developer
Aptana
Yes.
On Thu, Jul 9, 2009 at 3:32 AM, Morten Nygaard
Aasnes wrote:
> On 2009-07-08, Fabio Zadrozny wrote:
>> Hi All,
>>
>> Pydev and Pydev Extensions 1.4.7 have been released
>>
>> Details on Pydev Extensions: http://www.fabioz.com/pydev
>> Details on Pydev
e/1.4.7.2843
>
This usually happens if there was some connection error during the
update. You can try other mirrors (see:
http://pydev.blogspot.com/2009/07/pydev-147-released.html for the new
added mirrors).
Cheers,
Fabio
--
http://mail.python.org/mailman/listinfo/python-list
; that?
> Perhaps of there is some thing like C# List
> cfgAutomata such that the list wont accept items unless they are
> AutomataBranch will be good.
Hello,
Unfortunately, right now there is no way to gather that specific code
completion in pydev -- because of the dynamic nature of p
se Eclipse for Python, Jython
and Iron Python development -- making Eclipse a first class Python IDE
-- It comes with many goodies such as code completion, syntax
highlighting, syntax analysis, refactor, debug and many others.
Cheers,
--
Fabi
ously used
subversion will be disabled. Instructions on getting the source code
from the new location is available at:
http://www.pydev.org/developers.html
Best Regards,
--
Fabio Zadrozny
Aptana
http://aptana.com
Pydev - Python Development Environment for Eclipse
http://pydev.org
ronPython development -- making Eclipse a first class Python IDE
-- It comes with many goodies such as code completion, syntax
highlighting, syntax analysis, refactor, debug and many others.
Cheers,
--
Fabio Zadrozny
--
Software Devel
ode completion, syntax
highlighting, syntax analysis, refactor, debug and many others.
Cheers,
--
Fabio Zadrozny
--
Software Developer
Aptana
http://aptana.com/
Pydev - Python Development Environment for Eclipse
http://pydev.org
http://pydev.blog
d, but you can grab the nightly build with that fix already
incorporated (it should be pretty stable at this point).
See http://pydev.org/download.html for details on getting the nightly.
Cheers,
Fabio
--
http://mail.python.org/mailman/listinfo/python-list
o Templates, Html, Javascript,
etc.
It's also a commercial counterpart which helps supporting the development
of PyDev.
Details on LiClipse: http://www.liclipse.com/
Cheers,
--
Fabio Zadrozny
--
Software Developer
LiClipse
http://www.liclipse.com
PyDev - Python D
hich helps supporting the development
of PyDev.
Details on LiClipse: http://www.liclipse.com/
Cheers,
--
Fabio Zadrozny
--
Software Developer
LiClipse
http://www.liclipse.com
PyDev - Python Development Environment for Eclipse
http://pyde
ipse: http://www.liclipse.com/
Cheers,
--
Fabio Zadrozny
--
Software Developer
LiClipse
http://www.liclipse.com
PyDev - Python Development Environment for Eclipse
http://pydev.org
http://pydev.blogspot.com
PyVmMonitor - Python Profiler
http://www.pyvmmonitor.com/
tails on LiClipse: http://www.liclipse.com/
Cheers,
--
Fabio Zadrozny
--
Software Developer
LiClipse
http://www.liclipse.com
PyDev - Python Development Environment for Eclipse
http://pydev.org
http://pydev.blogspot.com
PyVmMonitor - Python Profiler
er.py", line 1348, in __call__
return self.func(*args)
File "/home/fabio/Desktop/prova.py", line 5, in reply
showinfo(title='ciao', message='hello')
File "lib-tk/tkMessageBox.py", line 84, in showinfo
return _show(title, message, INFO, OK, *
Il Tue, 31 Jul 2007 19:12:48 +, kyosohma ha scritto:
>
> I'm not sure, but I don't think you need the "win" variable at all. I
> can get it to work as follows:
>
>
>
> from Tkinter import *
> from tkMessageBox import showinfo
>
> def reply():
> showinfo(title='ciao', message='hell
Il Tue, 31 Jul 2007 15:37:26 -0400, Delgado, Edgardo CIV NAVAIR 4.1.4.3
ha scritto:
> Is there a way to create a shared object in python?
>
> Thx,
>
> Edgar
Usually object are shared in Python. i.e.
# a list
l = [ 1 , 2 , 3 ]
# a list containing l
m = [ l, 4, 5 ] # now m is [ [1,2,3]
Il Tue, 31 Jul 2007 18:45:57 -0400, jim-on-linux ha scritto:
> Try This:
>
> def reply():
> showinfo('ciao','hello')
>
I've tried without success ... thanks
I've also discovered that when I (or some other prog using tkinter)
display menu, the underscore is an ugly little black box.
Il Thu, 02 Aug 2007 13:54:46 +1000, John McMonagle ha scritto:
> What window manager are you using ?
Hi John,
I'm using gnome, with gdm. Do you think the problem is this? I'm going to
try with another one ...
bye
--
http://mail.python.org/mailman/listinfo/python-list
I've tried to use Twm and SURPRISE! it works!!!
Can you say why? How can I fix the prob with Gnome?
Thanks
--
http://mail.python.org/mailman/listinfo/python-list
Il Fri, 03 Aug 2007 12:38:09 +1000, John McMonagle ha scritto:
> Fabio Z Tessitore wrote:
>> I've tried to use Twm and SURPRISE! it works!!!
>>
>> Can you say why? How can I fix the prob with Gnome?
>>
>> Thanks
>
> I don't know why it doesn
Heve you tried to do something like:
# module configure.py
value1 = 10
value2 = 20
...
# other module
from configure import *
# now I'm able to use value1 value2 etc.
var = value1 * value2
bye
--
http://mail.python.org/mailman/listinfo/python-list
aven't read all the post, sorry!
Only for knowing more about modules: is there a way to dinamically reload
an already imported module?
bye
Fabio
--
http://mail.python.org/mailman/listinfo/python-list
Win replace
downloaded '\n' with a local '\r\n' and the file isn't readable. If you
use 'wb' you say that you want a binary copy ('b' option) and Win doesn't
replace anything.
Hope it is useful,
bye
Fabio
--
http://mail.python.org/mailman/listinfo/python-list
' in myurl):
# myurl is the complete address you want
print myurl
#
about re, I'm waiting for someone enlightening all us,
bye
Fabio
--
http://mail.python.org/mailman/listinfo/python-list
except ImportError:
getpass = default_getpass
thanks,
Fabio
--
http://mail.python.org/mailman/listinfo/python-list
Il Sun, 12 Aug 2007 17:21:02 +, linnewbie ha scritto:
> Fairly new to this regex thing, so this might be very juvenile but
> important.
>
> I cannot understand and why 'c' constitutes a group here without being
> surrounded by "(" ,")" ?
>
import re
m = re.match("([abc])+", "abc")
>
ce than me. maybe this example is too trivial for that ... ;-)
> If you were to propose such a patch on the python-dev list,
Oh no, I didn't think that
thanks,
bye
Fabio
--
http://mail.python.org/mailman/listinfo/python-list
a problem for the simple code
> at hand but is definitely a bad habit to get into.
>
thanks Peter, that's the kind of opinion I'm interesting to.
bye
Fabio
--
http://mail.python.org/mailman/listinfo/python-list
Il Wed, 15 Aug 2007 19:01:17 +0200, Lawrence Oluyede ha scritto:
> Torsten Bronger <[EMAIL PROTECTED]> wrote:
>> How can I get a list with all classes defined in the current module?
>> Thank you!
>
> [EMAIL PROTECTED] ~ % cat > t.py
> class A: pass
>
> [EMAIL PROTECTED] ~ % python
> Python 2.5.1
Il Mon, 20 Aug 2007 18:44:39 -0700, Ron Garret ha scritto:
> Is there a way to change the default string encoding ...
Dive Into Python. Section 9 on http://diveintopython.org/xml_processing/
unicode.html
That will help.
Bye
Fabio
--
http://mail.python.org/mailman/listinfo/python-list
lhost working you need a web server (like
apache). maybe you have it at your home.
bye
Fabio
--
http://mail.python.org/mailman/listinfo/python-list
Il Wed, 29 Aug 2007 19:24:54 +0200, Gigs_ ha scritto:
> i have simple page and form that ask for name and color and cgi script
> that print that name in another page and background in chosen color
>
> all the time this error pop:
> Error response
>
> Error code 501.
>
> Message: Can only POST t
Are you sure your script is in the right dir?
On my home computer, php script will work in /var/www but my python
script need an other dir to work properly (i don't remember which now ;-))
bye
--
http://mail.python.org/mailman/listinfo/python-list
Il Wed, 29 Aug 2007 23:11:53 +0200, Gigs_ ha scritto:
> Gigs_ wrote:
>> Fabio Z Tessitore wrote:
>>> Are you sure your script is in the right dir?
>>>
>>> On my home computer, php script will work in /var/www but my python
>>> script need an other dir
Il Mon, 03 Sep 2007 07:56:10 -0700, Andrea ha scritto:
> [cut]
>
> I want to call factorial(2)//binomial(1024,2) for example, in this way
> trivially I obtain 0 as probability, how can I obtain the probability
> forcing this division to output extremely small real numbers
int to float will h
> [cut]
> But this code ends up waiting 5 minutes for **each** thread. that is
> not what I want. I just want to wait for 5 minutes for all threads. how
> can I do that?
I've written a little code for you using threading. Hope it will help you:
#! /usr/bin/env python
# -*- coding: utf8 -*-
impo
Hi,
I'm trying to execute some operations based on a file's time. The
file's time is actually the file's name (e.g. FILE1_20080326170558).
So I do this:
fileTimeInSecs = time.mktime(time.strptime(timeString,
"%Y%m%d%H%M"))
timeString contains the date part of the file's name. Fun
Hi,
I'm recreating a date-time based on a string and I have a problem
when daylight savings time is set (I'm off by 1). So today I forced
my computer into daylight savings time and debugged it again, but
this time I noticed something strange.
This is the documentation from python libr
Hello again! Full of problems today!
This one is about signal treatment. I made a daemon and set it to
treat 2 signals: SIGALRM and SIGTERM.
It goes like this:
signal.signal(signal.SIGTERM, daemon.signalHandler)
signal.signal(signal.SIGALRM, aFilter.alarmHandler)
On daemon.py I
http://pydev.org
PyDev Blog: http://pydev.blogspot.com
PyDev on VSCode: http://pydev.org/vscode
LiClipse: http://www.liclipse.com
PyVmMonitor - Python Profiler: http://www.pyvmmonitor.com/
Cheers,
Fabio Zadrozny
--
https://mail.python.org/mailman/listinfo/python-list
inja2, Html, JavaScript, etc.
Links:
PyDev: http://pydev.org
PyDev Blog: http://pydev.blogspot.com
PyDev on VSCode: http://pydev.org/vscode
LiClipse: http://www.liclipse.com
PyVmMonitor - Python Profiler: http://www.pyvmmonitor.com/
Cheers,
Fabio Zadrozny
--
https://mail.python.org/mailman/listinfo/python-list
301 - 391 of 391 matches
Mail list logo