473,763 Members | 6,401 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

ssh or other python editor

H!

I'm using a windows machine.
And a FreeBSD server where I run my python scripts.

I'm working/making my python scripts in a windows OS with putty now.
But I really want the python text colors and tab spacing like the
python windows IDE but the problem is that I can't find a good program.

Thanks

Oct 4 '05 #1
10 2510
ma*****@gamecre ators.nl wrote:
H!

I'm using a windows machine.
And a FreeBSD server where I run my python scripts.

I'm working/making my python scripts in a windows OS with putty now.
But I really want the python text colors and tab spacing like the
python windows IDE but the problem is that I can't find a good program.

Thanks


So you're using Putty to telenet/ssh into the FreeBSD server, but what
editor on you using on the FreeBSD server?

I use VIM on my Windows workstation to edit files on a linux server. I
have a network drive mounted to the linux server. Samba needs to be
running on the server. If the FreeBSD server has samba running, you can
mount a drive and use your Python Windows IDE.

If samba isn't available/set-up, you can try using FTP. You can then
use Crimson Editor which does the syntax coloring and can ftp to/from a
server.

Oct 4 '05 #2
>So you're using Putty to telenet/ssh into the FreeBSD server, but what
editor on you using on the FreeBSD server?


I use pico for that.
That Samba isn't available but I can install it.

Or are there other editors for FreeBSD that I can run with putty ?

I'm going googling arround again,
Thanks.

Oct 4 '05 #3
googling arround give me a full list of python editors and other stuff
http://wiki.python.org/moin/PythonEditors

Oct 4 '05 #4
"projecktze ro" wrote:
If samba isn't available/set-up, you can try using FTP. You can then
use Crimson Editor which does the syntax coloring and can ftp to/from a
server.


are you guys for real?

is there any major text editor for Unix that doesn't support Python syntax
coloring and indentation these days?

</F>

Oct 4 '05 #5
- I'm a newbie at freeBSD so I think there is , but I don't know where.
And i'm using putty on a windows OS what don't understand the syntax
coloring.

Oct 4 '05 #6
ma*****@gamecre ators.nl wrote:
- I'm a newbie at freeBSD so I think there is , but I don't know where.
I just complained when someone included the entire message thread in their
replies, but not including anything at all is pretty annoying too.
And i'm using putty on a windows OS what don't understand the syntax
coloring.


Putty isn't doing any syntax coloring; it just draws things in the color specified
by your editor. If you don't get any colors, it's probably because your editor
isn't properly configured. Explicitly setting the TERM variable to "xterm" might
help:

http://www.chiark.greenend.org.uk/~s....html#faq-term

(but I'm pretty sure ssh does this for you, so it's probably an editor configuration
issue. checking the FAQ for your editor might be a good idea)

</F>

Oct 4 '05 #7
On 2005-10-04, ma*****@gamecre ators.nl <ma*****@gamecr eators.nl> wrote:
I'm working/making my python scripts in a windows OS with putty now.
But I really want the python text colors and tab spacing like the
python windows IDE but the problem is that I can't find a good program.


Jed, Emacs, and Vim all have Python modes. I'm sure most
decent programming editors do by now.

--
Grant Edwards grante Yow! Yow! Now we can
at become alcoholics!
visi.com
Oct 4 '05 #8
ma*****@gamecre ators.nl wrote:
So you're using Putty to telenet/ssh into the FreeBSD server, but what
editor on you using on the FreeBSD server?


I use pico for that.
That Samba isn't available but I can install it.

Or are there other editors for FreeBSD that I can run with putty ?


I use Emacs on my win32 workstation to edit files on my Linux servers
via SSH. There are at least two Emacs third-party modules ("modes") --
Tramp and Hobo -- that allow you to edit files over SSH.

I use Hobo (never tried Tramp, I think it's for XEmacs anyway). There
is a bit of setup. You'll need to use "pageant" and authenticate by
RSA/DSA key. See PuTTY's Web site; you may also need to do some
Googling to set up agent-based authentication. Note that pageant will
make PuTTY authenticate automatically as well, so it's easy to test
whether your pageant setup is correct, apart from any Emacs-related
issues.

You might also need to configure Hobo slightly; email me if you want my
configuration details (though I can't help you with the
pageant/authentication stuff, so get that done first :-).

Once you're done, you can load, edit and save files quite
transparently. Not everybody's cup of tea, but there you are. :-)

Graham

Oct 4 '05 #9
"Fredrik Lundh" <fr*****@python ware.com> writes:
ma*****@gamecre ators.nl wrote:
- I'm a newbie at freeBSD so I think there is , but I don't know where.

Putty isn't doing any syntax coloring; it just draws things in the color specified
by your editor. If you don't get any colors, it's probably because your editor
isn't properly configured. Explicitly setting the TERM variable to "xterm" might
help:

http://www.chiark.greenend.org.uk/~s....html#faq-term


According to the FAQ, putty sets it to xterm. I use xter-color on
FreeBSD.

<mike
--
Mike Meyer <mw*@mired.or g> http://www.mired.org/home/mwm/
Independent WWW/Perforce/FreeBSD/Unix consultant, email for more information.
Oct 4 '05 #10

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

2
1783
by: stephenlee | last post by:
I want to develop a simple Python program to edit source code that is persisted in a database (memo fields). The code to be edited is iHTML and SQL and I want syntax colouring and good basic features including tabs for multiple 'files' and searching. It will be a Win32 deployment. My question is can anyone recommend a good Python editor program that I can use as a starting point for customisation? I'd like to base it on Scintilla and...
145
6356
by: David MacQuigg | last post by:
Playing with Prothon today, I am fascinated by the idea of eliminating classes in Python. I'm trying to figure out what fundamental benefit there is to having classes. Is all this complexity unecessary? Here is an example of a Python class with all three types of methods (instance, static, and class methods). # Example from Ch.23, p.381-2 of Learning Python, 2nd ed. class Multi:
1
469
by: Michael Chermside | last post by:
I (Michael Chermside) wrote: > a brace and either way it throws the logic off. I created a > bug in one of > my programs recently just by adding logging. It looked like this: > > if (some_complicated_condition) > log_message("Error has occurred: taking corrective action"); > take_corrective_action(); Tim Williams replies:
147
7777
by: Sateesh | last post by:
Hi, I am a beginner in Python, and am wondering what is it about the indentation in Python, without which python scripts do not work properly. Why can't the indentation not so strict so as to give better freedom to the user? Is there any plausible reason behind this? Cheers! Sateesh
7
8840
by: JAG CHAN | last post by:
Friends, As I had written earlier, I am trying to learn Python. I chose IDLE as an editor to learn Python. Now I find that it is an online editor. It is not possible for me to be always on online while learning. Kindly suggest me a suitable editor (for Windows XP) which does not require me to be on online. Regards.
18
2035
by: W. Watson | last post by:
What do I download to use Python with MX XP Pro on an ASUS 4 year old motherboard? I would guess a good book source for starters would be the O'Reilly book. Wayne T. Watson (Watson Adventures, Prop., Nevada City, CA) (121.015 Deg. W, 39.262 Deg. N) GMT-8 hr std. time) Obz Site: 39° 15' 7" N, 121° 2' 32" W, 2700 feet ""I do not fear death. I had been dead for billions and billions of years before I was born, and had
0
1392
by: Maurice LING | last post by:
"The Python Papers" (http://pythonpapers.org), ISSN 1834-3147, is an online e-journal, covering articles on Python in the community, industry and academia. We were established in the second half of 2006 and launched our first issue in November 2006. Since then, we have released 3 more issues. Recently, we have also initiated a monograph series, which will be known as "The Python Papers Monograph Series"...
9
2449
by: korean_dave | last post by:
From command Prompt, i type in a script, "tryme.py". This, instead, brings up PythonWin editor and Interactive Window. Path variable is "C:\Python24". (I need Python 2.4 installed, not 2.5) How do I make it so that the script runs?
3
14573
by: danesh1354 | last post by:
Hi All, First I need to construct a text editor by python programming and add this code to a biger code that has been written before, and i would like that by my code for this editor have a capability to save it into special file name and format, for instance if i want to save it to a file with XML extention format like A.xml, wondering if anybody kknows how to do that, if you have any idea please guide me through how to reach to these....
0
9563
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
10144
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
1
9937
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
9822
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
1
7366
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
6642
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
5270
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
1
3917
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
3
2793
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.