Programming :: Perl Vs Python Which Is Easier To Learn

Jan 21, 2011

i want to learn a scripting language,which one should i go for ,among perl and python.

View 14 Replies


ADVERTISEMENT

Programming :: Easier Way To Color Text In Perl Like BASH?

Apr 8, 2010

I've been trying to figure out a way to more easily color text in Perl like I do on Bash on a Linux box. In bash, what I'll do is set color variables up to equal the escape sequence, then echo out with escape seqeunces to print it exactly how I want it. Typically I'll want a character or a word in a different color, not the whole line. For example

echo -n -e "My face is turning ${RED}red${UNCOLOR} like a lobster." In Perl with the term::ANSIColor module, it seems to just do a line. Am I being dense? Is there a way that I can do it like I do it in BASH that's fairly easy to read after the fact?

View 11 Replies View Related

Ubuntu :: SPE - Learn Programming In Python, But Can't Type Anything?

May 15, 2011

ubuntu terminal mingling made me want to learn programming, i started with python, using idle workspace (is this the right term?)i got to the stage when i need and want to use SPE workspace.i have downloaded it, but can't type in it - when i type, nothing happens at all.where have i been wrong please ?

View 3 Replies View Related

Programming :: Converting Perl Script To Python?

Jul 21, 2011

#!/usr/bin/perl
print "Input File Name: ";
$filename = <>;
$filename =~ s/s+$//;mkdir "$filename";

[code]....

View 3 Replies View Related

Programming :: Access A Perl Script Behind A Firewall From Python?

Nov 23, 2010

I have a Perl script behind a firewall. I want to access this script from Python on Google App Engine. I have access to the server running the Perl script via the following methods: SSH VPN What are the ways I can do this with Python on GAE? Can I use something like wget, login through ssh and run the script using perl interpreter?

Currently it is a CGI script that I can access through a web browser if I'm inside the firewall. My only other option is to turn the process around, i.e. have perl send data outside the firewall to google app engine. But I want to know if this is possible as it is now without changing the perl script.

View 8 Replies View Related

Programming :: Python's Thread & Fork Support Is Compared To Perl?

Mar 24, 2011

I'm wondering how python's thread & fork support is compared to perl? Which one is best option among Perl and Python

View 1 Replies View Related

Programming :: Python Script - Add A Perl Script ?

Aug 18, 2010

I have a python script (which I know nothing about python) that runs a third party binary called "report". What I would like to do is add a perl script I wrote to be executed at the end of this python script. My perl script runs the cpulimit command on the PID that's created from running the python script.

View 5 Replies View Related

Programming :: Your Opinions Of The Best Combination Of Programming Languages To Learn

Jun 10, 2010

I want to know your opinions on the best combination of programming languages to learn if you want to learn more than one. An explanation of your choices would be real nice. I've included a multiple-choice poll that has the langauges from the Member's Choice Awards 2009 list of best programming languages on it. Please vote for your choice of languages also. It should be interesting to see what the numbers are like when people can vote this way, and choose more than one language.I'm voting for Python/C just as an "overall" opinion. It's what I'm going to learn. I've done quite a bit of reading and experimenting and this is what I've personally settled on. My opinion is just a personal "overall" opinion. You can also pick just a single language, and vote for just a single language if you think it's better to learn just one.

View 14 Replies View Related

Programming :: How To Learn ASM

Mar 4, 2010

I wanted to try learning Assembler, I wonder if you know of any good tutorials or hints? I have an x86_64 CPU running (obviously) Linux.

View 14 Replies View Related

Programming :: Book To Learn Programming In C ANSI?

Jul 11, 2011

What book you recommend to learn programming in C ANSI ?

View 1 Replies View Related

Programming :: Make Python Programs Run Without Entering The Command Python?

Mar 22, 2009

I want to be able to do

sudo ./program.py

instead of always having to do

sudo python program.py

What do I need to change?

View 5 Replies View Related

Programming :: Python - Get Text File Data Into An Array On Python?

Nov 30, 2009

I've already used line split stuff to transform my data into something like this in a text file:

Code:

['1', '1', '3', '20.7505207']
['2', '1', '3', '23.0488319']
['3', '1', '3', '-1.5768747']
['4', '1', '3', '-26.4772491']

[code]....

How can I get this on a python program so I can manipulate it as an array?

View 3 Replies View Related

Ubuntu :: Programming Languages For Projects \ Which Ones The Best To Learn

Mar 25, 2010

have a previous background in internet programming languages such as XHTML, DHTML, CSS and javacsript. I would like to start programming and managing my linux system (like an expert) and starting on linux projects also. My question is which is the best programming language to learn: C, C++ (may b even C+), python, Perl etc... I'm learning BASH right now cause I know its a necessity for linux systems. but what would you guys suggest after that I learn.

View 2 Replies View Related

General :: Which Programming Languages Do Need To Learn For Career?

May 4, 2011

I am just starting to learn Linux and am interested in a career in Linux. Actually I wanna go for RHCE, which is the first step for Sys Admin..right?? Basically I do NOT want to go into programming/developing as I don't feel it's my cup of tea (and also may be it sort of boggles me). Still, from what I gather I am having confusions regarding whether I should learn any programming language for a career in Linux.

Here I am avoiding programming..and now I get to hear that Linux career uses programming..That's sort of frustrating...My friend told me I need to "master" C. Do I need to learn some programming language?? If yes, then to how much extent?

View 14 Replies View Related

Programming :: Good Book To Learn About Threads In C / C++?

Oct 30, 2010

A good book to learn about threads in C/C++?

View 3 Replies View Related

Programming :: Which Scripting Language To Learn For Administration?

May 26, 2011

Which scripting language to learn for Linux Administration? Python, Ruby, Perl, or PHP?

View 7 Replies View Related

Programming :: System For Create Project And Learn Web Server?

Jun 27, 2010

I am web developer, i am work with php,and want choice best linux for create my project
and learn web server

View 4 Replies View Related

Programming :: Languages To Learn For Dynamic Website Design?

Nov 23, 2010

So a friend and I are new-ish to linux (I am reasonably comfortable with basic /etc text editing, command admin). We are, however, completely new to programming and (x)html. We have a few (what we think are) interesting ideas for dynamic websites.Ideally we would like to develop our own course of study to get to the point where we have a basic understanding of programming so that our adventures in the programming of a dynamic website would be possible. Much of what we need learn to do is the following: use daily updated public-domain data from several other sites, manipulate that data algorithmically, which would then yield updating output on our site. Here is what I would like to do:

1. learn the basics of programming with a language that would teach good code habits and fundamental understanding.
2. become comfortable with (x)html
3. learn another language for the extension of (x)html into a dynamic data-heavy website.

Question could you please suggest a way about going about 1>2>3?Ideally the language of (1) would be something that would not be "wasted" just on web design etc. As a language, C really appeals to me. However, if learning this wouldn't lend itself to being helpful in learning another language for webdesign maybe I shouldn't use it(?).If (1) weren't to be C, what language would be funadmental enough to teach good coding but also be helpful in learning (3)

View 14 Replies View Related

Programming :: Where To Download To Learn / Program Java For System?

Oct 5, 2009

I went to the sun website but all I see are upgrades to JDK 6, I dont see where to download the actual JDK.

Anyone know where I can download the JDK for Linux?

View 9 Replies View Related

Programming :: Learn Basic C++ - Implement Something Using System() Or Popen() Without Success

Jul 21, 2010

I've got a (very) simple perl xinetd server that I'd like to port to C++. implement something similar using system() or popen() without success.

[code]...

View 14 Replies View Related

Programming :: Python 2.x - Represent The Same In Python 3.x

Mar 4, 2010

I have a function definition in a Python 2.x script which take a tuple as one of its arguments, but 2to3 has no answers nor any of my searching on how to represent the same in Python 3.x

Code:

def blah(self, (string1, string2))

View 4 Replies View Related

Programming :: Totem Python Plugin Programming: Any Signal For Video Mouse Click?

Feb 9, 2011

I want that I click with the mouse on the video, it paused.I notice that there is "BaconVideoWidget" which I guess is the video rendering widget but it don't have signal named "clicked":

Code:
vd = totem_object.get_video_widget()
vd.connect("clicked", vd.hide)

[code]....

View 3 Replies View Related

Programming :: Socket Programming In Module Perl

Jul 21, 2010

Where is the perl module for programming with sockets?

View 4 Replies View Related

Fedora :: Easier Way To Exclude Languages

Aug 27, 2010

I am using livecd-creator with the fedora-livecd-desktop.ks file to create livecd/usb images. The image that is created includes several languages (some are listed below). How can I only include one or two specific languages? Will I have to specify to remove each language group? If so, what is the syntax for yum?

View 2 Replies View Related

Ubuntu :: Better Auto Tuner Thats Easier To Install?

Apr 10, 2011

i want to install vocproc auto tuner. im having problems, how do i do this exactly? please help. does anybody have some step by step terminal codes? Ive included the link to it.URl....Or does anybody have a better auto tuner thats easier to install?

View 1 Replies View Related

General :: Easier Way To Execute Long Commands?

Jul 29, 2010

I use a long mount command to mount a NAS drive but have to retype it every time I need to mount the drive. Because it is on my laptop I only need to mount the drive from time

View 4 Replies View Related

CentOS 5 :: Easier Way To Install Newer Version Of Gcc?

Nov 18, 2009

An application I'm attempting to install URL...) requires a version of gcc above 4.3.2, however the only rpms available for CentOS I can find are 4.1.2.I began trying to install a newer version via compiling the latest one from the gcc GNU site, but I started running into problems. Especially in installing newer versions of gmp and mpfr (apparently upgrading from certain versions of gmp will write over the header files, but won't change path locations for the lib files?) After examining the problem a little closer, I got worried that I was going to end up making the system unstable, so I stopped fiddling.

So my question is, is there an easier way to install a newer version of gcc? I'm not completely new to Linux, but I'm far from a master at the system, if anyone knew an easier/slightly more fool proof way of upgrading gcc.

View 2 Replies View Related

Ubuntu Servers :: Add Files And Make Chmod A Little Easier

Sep 13, 2010

I have set up a home server with ubuntu desktop since im new to this and need the gui. I have no problems with the lamp package or setting that up. My question is, can you setup a ftp server and then connect to it from a windows pc on the same network with a client like core ftp? I want to do this to add files and make chmod a little easier if possible.

View 4 Replies View Related

Programming :: Python 2.x Vs 3.x

Apr 21, 2010

I'm starting to learn python and I am wondering whether I should start with python 2.x or should I just start learning python 3.x?

View 2 Replies View Related

Programming :: Cannot Install Perl / Tk

May 9, 2010

I just downloaded Tk-804.028 and try to install it (according to the README.linux) but I get:

> perl Makefile.PL
/opt/ActivePerl-5.10/bin/perl-static is installed in /opt/ActivePerl-5.10/lib okay
PPM for perl5.010001
Test Compiling config/perlrx.c
Test Compiling config/pmop.c
Test Compiling config/pregcomp2.c

[code]...

View 5 Replies View Related







Copyrights 2005-15 www.BigResource.com, All rights reserved