Programming :: Python With Web Development ?

Dec 17, 2010

I have decided to learn python as it seems to be powerful not just for web development (like php) but also a clean powerful language for other puposes.

Q: Can someone suggest a tutorial or book, on learning python (beginner to intermediate) which has as its focus for learning, web development?

In order of preference: 1. Comprehensive, 2. Online, 3. Free

View 2 Replies


ADVERTISEMENT

OpenSUSE :: Python Development Pattern In 11.4?

Mar 17, 2011

In openSUSE 11.3 when I selected the Python Development pattern for install, it included everything needed for Python development. I installed openSUSE 11.4 yesterday from the full DVD ISO and selected the Python Development pattern, but all it installed is the patterns-openSUSE-devel_python meta package, which apparently doesn't include any other software. It didn't even install the python interpreter.

Of course I can easily install what I need manually, but the pattern is a handy one for quick installs that need Python. Is this pattern broken under 11.4 or am I missing something? I couldn't find anything about this behavior in the release notes, known 11.4 bug list on the forums, Google, etc.

View 7 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

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 :: Which Distribution Is Best For Web Development?

Jun 20, 2010

I need help with choosing the right distribution for web development.My potential future employeer wants me to give him some ideas, We are going to create a new catalog website, using a CMS,So I need to know some good solutions,

1. Which CMS to use for such a website, my idea is Joomla!

2. Which platform would be effective, here's where I need to ask you, as I know only a little about Linux distributions. But my idea is openSUSE so far.

3. Which development tools to use, for PHP scripting and MySQL(also xhtml and css).

View 2 Replies View Related

Programming :: Use For Open Source Development?

May 19, 2011

I wish to start development for the open source projects. And going to start working on some project in C/C++ and shell/python scripts. I wish to know the best suitable development environment for this purpose? What about eclipse? I will be interacting with git, make and other open source utilities.

View 2 Replies View Related

Programming :: Design And Development Of A KEDB Using PHP

Oct 5, 2010

I am designing a KEDB (Known Error Database) which I am currently maintaining with MS-Excel. I want to develop a Web Application to accomplish this task in a more convenient and effective way. Well, you guess, the client should be happy to see how we provide support more effectively...? I want to make it ITIL-Compliant. I (optionally) want to provide the Problem and Change Management facilities within it in a way that the concerned teams and the management can find the KEDB very useful for their work also. I am going to do it entirely in PHP and JavaScript for client-side validations wherever needed.

View 3 Replies View Related

Programming :: How To Monitor The Applet Development

Sep 20, 2010

The embedded hardware is working nicely, and even the antique laptop is now running smoothly using tinycore linux. The device pumps out packets of data at roughly 128 bytes/second (two packets, one 56 bytes, the other 72, alternating every 500mS).

I'd like to create a more general purpose application for monitoring the data being logged. It is a simple matter to have the back-end application write a log file of incomming data, or be a little more sophisticated and just write out changes from the previous packet. The difficulty is that the existing curses-based cli application reads directly from the serial port and can only be run from one place at a time. Once data has been pulled off the port it's not available any more.

A database for logging the data is not necessary, as the application would mostly be used for auditing material consumption, not tracking minute-by-minute usage over any length of time.I could have the existing back-end app. write data to a file accessible through a web server, and allow interested parties to download the information. This would be greatly enhanced by a small front-end app. that can request the data and format it for a more sensible display. Alternatively, is there some way to open a socket (I'm out of my depth here) so a free-standing application could simply request the data, and do the front-end formatting? This presents problems in that it wouldn't be multi-platform capable.

View 2 Replies View Related

Programming :: Operating System Is Better For Web Development?

Jul 13, 2010

I am wondering which operating system is better for web development between Mac, Linux, and Windows? I want to code in HTML5, PHP, MySQL, and also use AJAX.

View 11 Replies View Related

Programming :: Use The Offical Development SDK, Rather Than Hacking The Phone

Dec 10, 2010

recommend a good book to start learning iphone/pad development. I want to use the offical development SDK, rather than hacking the phone.

View 1 Replies View Related

Programming :: Newbie To Start Driver Development?

Mar 14, 2010

I want to know where to beging with I want to start Device driver development.Any good link or book.

View 4 Replies View Related

Programming :: Rapid Web2.0 Development Framewor

Feb 22, 2011

I had a few ideas for simple online sites that would be perfect for the whole facebook notifications / android app style of integration. I could start with vi and write a php website, but I've no idea what standard frameworks are available for the more rapid development of sites like this. integrating with openid / google accounts etc... what tools are people using to put together these big blocks of drop in functionality and then tieing together with hopefully surprisingly little code? I'm aware of Django to some extent, should I be digging deeper into this?

View 1 Replies View Related

Programming :: Which Scripting Languages To Use With Distro Development?

Jun 29, 2011

i'm wondering which scripting language is better for distro related activity such as cron jobs , startup scripts and similar things.why is bash mostly used ? is it because of efficiency ?what about perl , python or php as potential successors to bash ?

View 14 Replies View Related

Programming :: Web Development - Command To Search String Through Files On A Server?

Apr 8, 2009

I am web developer I have this command find . -exec grep "Improve your score" '{}' ; -print for searching through files . I found this command but now i would like to tweak it to gain more out of it.

View 2 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 :: 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 :: Convert Map From Python 2.x To 3.x

Apr 6, 2010

I have an existing line of code from a P2 script that I cannot find a solution to converting to P3:

Code:
for i, x in map(None, list1, list2):
I have found the information about converting the simple case:
map(None,x) becomes list(x)

But my googling was unable to find a solution when more than one iterable exists.

View 2 Replies View Related

Programming :: How To Run Python Script From C

Jan 31, 2010

I have a python script I wrote a while ago and now I would like to call that script from inside C. I know how to do one command from C, but how would you execute an entire script from C, and passing arguments? Like:

Code:

int main(void)
{
python( myprogram(1 2 3) );
}

So I can pass arguments to my script.

View 3 Replies View Related

Programming :: Py_FindMethod In Python 3.1.1

Jan 19, 2010

what the equivalent function in Python 3.1.1 is for Python 2.6.4s:

Py_FindMethod

Be buggered if I can find anything in the doco to say what replaced it or what alternative code may need to be entered to replace it

View 1 Replies View Related

Programming :: Piping In Bash Using Python?

Dec 16, 2010

I have a bash script that I want to import in to Python, mainly just to see if I can or not. However in the script I do use some piping of commands into sed to trim it down to what I need. When I tried doing it with the os.system() call, it didn't work. The exact error is

sed: -e expression #1, char 16: unterminated `s' command

However the command that was run can be run in bash without an error. Is there a better/another way to do this? For reference the command is:

Code:

locate -n 1 wp-config.php | sed 's/wp-config.php/
/g' | sed '/wp-config.php/ d' | sed '/^$/ d'

View 3 Replies View Related

Programming :: Accessing Python Scripts Using Web?

Mar 17, 2011

I am using Centos. I have written some scipts in python that access my routers and fetch the configuration, etc. Now i was thinking of creating a web interface which i can access from my windows XP. I want it to have good look n feel :-),

View 7 Replies View Related

Programming :: C++ Or Python - Create 3D Animation ?

Jan 25, 2009

I want to create 3D animation and also make some big programs. Is python capable of that? or should I stick to C++?

View 3 Replies View Related

Programming :: Linking Options For Python?

Dec 11, 2010

I am trying to build an application that must link with python so as to load a python module during runtime.I have this makefile :

Code:
[alex@iskandhar src]$ cat Makefile
CFLAGS = -Wall -O3 -I ../../../SPOOLES.2.2 -DARCH="Linux" -DSPOOLES -DARPACK

[code]....

View 4 Replies View Related

Programming :: List Sorting In Python?

May 10, 2011

I have a list of list and I'd like to sort the list according to the last value of each row.

Let's say we have the list

L1 = [ [1,2] , [4,6] , [78,-3] ]

I wish to get

L2 = [ [78,-3] , [1,2] , [4,6] ]

Is there a simple way to do that in python?

View 4 Replies View Related

Programming :: Parsing S-Expressions In Python?

Feb 1, 2011

I've been loosely following this:http://norvig.com/lispy.htmlAnd I have a problem: the parsing function throws an array out of bounds exception. I thought that maybe I'm doing it wrong, so I copy and pasted the code from the page, and still the same error

View 2 Replies View Related

Programming :: Initializing Pmw Megawidgets For Python 2.6

Oct 12, 2010

I am having a problem initializing the Pmw megawidgets for Python 2.6.I have Pmw_1_3 loaded in the site-packages directory.

View 1 Replies View Related

Programming :: Python - Global Name Not Defined

Jun 17, 2011

I found an interesting screencast online about how to make gtk Pyton apps. The thing is, though, the guy was using the interactive shell. I've been trying to get his code into a script, and have been having troubles.

Here's what I got:

Code:

It spits out the error "NameError: global name 'browser' is not defined"

I know I'm doing something wrong with how I'm telling it where to find "browser" and "text", but I can't figure out how to point it to the right place.

View 5 Replies View Related

Programming :: Python - How To Avoid Spaces

Oct 1, 2010

In the code below:

Code:

The output is:

Code:

Looks like the "," operator in the print inside the loop is adding a space for its own.

I want to print the sequence WITHOUT spaces. Something like this:

Code:

But I couldn't figure out how to do this.....

How to print a sequence, inside a loop, without that space ?

View 14 Replies View Related

Programming :: Python: Get The Return Value Of The Last Function?

Jun 13, 2010

But it's been hell finding an answer, or I just don't know what to look for..I have a prompt that asks for a float, and if the user doesn't put in a valid number, then it should die with an error message.

Code:
def die_with_error():
print 'ERROR: You didn't specify a valid number!'

[code]....

View 2 Replies View Related







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