Avatar of Zberteoc
ZberteocFlag for Canada

asked on 

Print doesn't work in Python 3.0 under windows

Hi all

I am starting with python these days and I got into first problem. Following a tutorial when i type in IDE

print "a"

i get the error

SyntaxError: invalid syntax (<pyshell#9>, line 1)

on the linux box however works without problems.
Python

Avatar of undefined
Last Comment
Zberteoc
ASKER CERTIFIED SOLUTION
Avatar of Shift-3
Shift-3
Flag of United States of America image

Blurred text
THIS SOLUTION IS ONLY AVAILABLE TO MEMBERS.
View this solution by signing up for a free trial.
Members can start a 7-Day free trial and enjoy unlimited access to the platform.
See Pricing Options
Start Free Trial
Avatar of Zberteoc
Zberteoc
Flag of Canada image

ASKER

Thanks, your answer is correct!

Before awarding you the points maybe you can help me with pointing in the right direction for a quick and good Python tutorial, examples, etc as I want to use it for both Windows and Linux environment. I am a DBA with a company that uses both OS as we have MS-SQL and MySQL databases with MySQL under Linux servers.

I am thinking to start using Python because it works in both environments. I am interested in particularly working with database connections.

Thanks!
Avatar of Shift-3
Shift-3
Flag of United States of America image

I'm not a Python expert by any means, but I got started with the documentation listed here:
http://www.python.org/doc

and this O'Reilly book:
http://www.oreilly.com/catalog/9780596513986

From what you describe, it sounds like this book would also be valuable:
http://www.oreilly.com/catalog/9780596516147
Avatar of Zberteoc
Zberteoc
Flag of Canada image

ASKER

Thanks for your help!
Python
Python

Python is a widely used general-purpose, high-level programming language. Its design philosophy emphasizes code readability, and its syntax allows programmers to express concepts in fewer lines of code than would be possible in other languages. Python supports multiple programming paradigms, including object-oriented, imperative and functional programming or procedural styles. It features a dynamic type system and automatic memory management and has a large and comprehensive set of standard libraries, including NumPy, SciPy, Django, PyQuery, and PyLibrary.

6K
Questions
--
Followers
--
Top Experts
Get a personalized solution from industry experts
Ask the experts
Read over 600 more reviews

TRUSTED BY

IBM logoIntel logoMicrosoft logoUbisoft logoSAP logo
Qualcomm logoCitrix Systems logoWorkday logoErnst & Young logo
High performer badgeUsers love us badge
LinkedIn logoFacebook logoX logoInstagram logoTikTok logoYouTube logo