473,399 Members | 3,888 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,399 software developers and data experts.

How do you practice Python?

Ray
In our field, we don't always get to program in the language we'd like
to program. So... how do you practice Python in this case? Say you're
doing J2EE right now. How do you practice Python to keep your skills
sharp?

I liked Python Challenge, but there were too many PIL there, something
that I doubt I'll ever use, so there must be a better way.

Thanks
Ray

Jun 1 '06 #1
11 1815
Ray wrote:
In our field, we don't always get to program in the language we'd like
to program. So... how do you practice Python in this case? Say you're
doing J2EE right now.
Hopefully not !
How do you practice Python to keep your skills
sharp?


How *would* I do ? Well, perhaps I'd use Jython ?
--
bruno desthuilliers
python -c "print '@'.join(['.'.join([w[::-1] for w in p.split('.')]) for
p in 'o****@xiludom.gro'.split('@')])"
Jun 1 '06 #2
Ray
bruno at modulix wrote:
In our field, we don't always get to program in the language we'd like
to program. So... how do you practice Python in this case? Say you're
doing J2EE right now.
Hopefully not !


I am :-(
How do you practice Python to keep your skills
sharp?


How *would* I do ? Well, perhaps I'd use Jython ?


Um, I mean, what if you have to use something other than
Python/Jython/IronPython? :) How do you keep your Python skill sharp?
--
bruno desthuilliers
python -c "print '@'.join(['.'.join([w[::-1] for w in p.split('.')]) for
p in 'o****@xiludom.gro'.split('@')])"


Jun 1 '06 #3
Ray wrote:
bruno at modulix wrote:
In our field, we don't always get to program in the language we'd like
to program. So... how do you practice Python in this case? Say you're
doing J2EE right now.
Hopefully not !

I am :-(


Can we do something to help you out of this bad situation ?

(sorry...)
How do you practice Python to keep your skills
sharp?


How *would* I do ? Well, perhaps I'd use Jython ?

Um, I mean, what if you have to use something other than
Python/Jython/IronPython? :)


Ruby or Smalltalk, then ? No ? J2EE ? Argh ! (me run away)
How do you keep your Python skill sharp?


Just by thinking about how I would solve the problem at hand in Python -
and then cry :(

--
bruno desthuilliers
python -c "print '@'.join(['.'.join([w[::-1] for w in p.split('.')]) for
p in 'o****@xiludom.gro'.split('@')])"
Jun 1 '06 #4
"Ray" <ra********@yahoo.com> writes:
bruno at modulix wrote:
In our field, we don't always get to program in the language we'd like
to program. So... how do you practice Python in this case? Say you're
doing J2EE right now.


Hopefully not !


I am :-(
How do you practice Python to keep your skills
sharp?


How *would* I do ? Well, perhaps I'd use Jython ?


Um, I mean, what if you have to use something other than
Python/Jython/IronPython? :) How do you keep your Python skill sharp?
--
bruno desthuilliers
python -c "print '@'.join(['.'.join([w[::-1] for w in p.split('.')]) for
p in 'o****@xiludom.gro'.split('@')])"


Do projects at home. Either find an existing OSS project, or roll
your own. Once you have the basics of the language, the skills are
domain-specific: XML, GUIs, CAD, gaming, multithreading, numerical
analysis, natural language progromming, etc.

If you do an existing project, then you benefit from peer reviews and
other informal learning opportunities.

--
Harry George
PLM Engineering Architecture
Jun 1 '06 #5
Ray wrote:
[...]
Um, I mean, what if you have to use something other than
Python/Jython/IronPython? :) How do you keep your Python skill sharp?


You could use IPython as your primary shell. Than you have the
opportunity to do all these nasty automation tasks -- create test data,
deploy configuration files, search in logfiles for errors, etc. -- for
your project in Python.

Convince your project manager to develop prototypes. No one in your
company is better and faster in prototyping than the Python expert Ray.

HTH

Norbert

--
It is easier to get forgiveness than permission.
Jun 2 '06 #6
Ant
> In our field, we don't always get to program in the language we'd like

For sure!
to program. So... how do you practice Python in this case? Say you're
doing J2EE right now. How do you practice Python to keep your skills
sharp?


Well, we have to use J2EE at work. I keep my Python skills going by
playing the puzzles like the PythonChallenge you mentioned and the
Maths Challenge Euler project
(http://mathschallenge.net/index.php?section=project)

They are good for getting the Python idioms and shortcuts nailed, such
as list comprehensions, generators etc that aren't available in Java.

I also use Python almost exclusively at home for my website, Wiki,
Photo gallery etc - all of which I hand rolled partly for the
experience, and partly to get them exactly the way I want them :-)

At work I use Python for all my scripting needs. I also use it to
automate running through our web-applications for test purposes, using
a framework I wrote around the urllib2 module.

So, there are plenty of opportunities to use it if you keep your eyes
open.

Unfortunately for me, using Python so much has made using J2EE very
painful. Not so good seeing as it's my day job!

Jun 2 '06 #7
Ray wrote:
In our field, we don't always get to program in the language we'd like
to program. So... how do you practice Python in this case?


Write code. Lots of it. Work on a project at home, contribute to
something open source, use it to write support scripts at work,
whatever. Figure out a way to write code.

Jun 2 '06 #8
sj*******@yahoo.com napisał(a):
In our field, we don't always get to program in the language we'd like
to program. So... how do you practice Python in this case?


Write code. Lots of it. Work on a project at home, contribute to
something open source, use it to write support scripts at work,
whatever. Figure out a way to write code.


I second that. I moved from Python to J2EE in my job, but I didn't stop
writing Python code for my spare-time projects. Now, when tight schedule
made my project's manager to shift paradigm from buzz to productivity, I
am happy I can write programs in Python again. On AS/400, but still
better than Java... :D

--
Jarek Zgoda
http://jpa.berlios.de/
Jun 2 '06 #9
sam
Years ago I developed a Hard Disk Drive diagnostic program "SCSIPython"
while working for a disk drive company. When I left that company,and
realized that these routines would never be used by the company, I
released it as Open Source. Since then I have maintained this code, and
enhanced it with the various versions of Python that have been released
after V1.5.
I find that with each update my code becomes more robust,with added
features. Also As I moved from company to company I made certain that
they knew that this code was Open Source,and only proprietary methods
will be excluded, when I signed the standard intellectual property
forms.

Sam Schulenburg
Jarek Zgoda wrote:
sj*******@yahoo.com napisał(a):
In our field, we don't always get to program in the language we'd like
to program. So... how do you practice Python in this case?


Write code. Lots of it. Work on a project at home, contribute to
something open source, use it to write support scripts at work,
whatever. Figure out a way to write code.


I second that. I moved from Python to J2EE in my job, but I didn't stop
writing Python code for my spare-time projects. Now, when tight schedule
made my project's manager to shift paradigm from buzz to productivity, I
am happy I can write programs in Python again. On AS/400, but still
better than Java... :D

--
Jarek Zgoda
http://jpa.berlios.de/


Jun 2 '06 #10
Thirded here. Perhaps better for me is that although I program
client-side Java for my job, as much of the backend as possible I code
in Python, which makes it easier to do a lot of data processing stuff
much simpler than Java would. And it's let me use and understand all
of the new features of the language... last time I did it for a job
was in the days of Python 1.5.2.

Being non-critical utilities on the backend means whenever new
features are introduced I can upgrade my code to take advantage of
them without worrying about things going wrong as well ;)

James

On 02/06/06, Jarek Zgoda <jz****@o2.usun.pl> wrote:
I second that. I moved from Python to J2EE in my job, but I didn't stop
writing Python code for my spare-time projects. Now, when tight schedule
made my project's manager to shift paradigm from buzz to productivity, I
am happy I can write programs in Python again. On AS/400, but still
better than Java... :D

--
Jarek Zgoda
http://jpa.berlios.de/
--
http://mail.python.org/mailman/listinfo/python-list

Jun 3 '06 #11
Any code which requires serious algorithmic work I write and test in
Python before converting into Java - it's so much easier to use
Python's datatypes and interpreter to get things right before having
to deal with Java's clunky class libraries.

James

On 02/06/06, Norbert Kaufmann <no*****@akumakun.de> wrote:
Convince your project manager to develop prototypes. No one in your
company is better and faster in prototyping than the Python expert Ray.

HTH

Norbert

Jun 3 '06 #12

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

Similar topics

5
by: Claudio Grondi | last post by:
I have just started to play around with the bsddb3 module interfacing the Berkeley Database. Beside the intended database file databaseFile.bdb I see in same directory also the __db.001...
3
by: Ray | last post by:
OK, maybe I shoot a more general question to the group since there are so many great programmers here: how do you practice your craft? I do it in the following way: 1. Set aside 30 minutes to...
6
by: seb | last post by:
Hi, I am using pygtk for the first times. I am wondering what would be the best "pattern" to interface pygtk with a thread. The thread is collecting informations (over the network for...
2
by: Wijaya Edward | last post by:
Can anybody suggest any references (links, books, etc)about this? I'm thinking of something similar with D.Conway's "Perl Best Practice". -- Edward WIJAYA SINGAPORE ------------ Institute For...
4
by: =?Utf-8?B?bW9mbGFoZXJ0eQ==?= | last post by:
In VB6, we created a number of ActiveX DLLs that all shared a similar interface. The main application would load these in dynamically (late-bound.) This worked well for our situation because we...
3
by: Alan Isaac | last post by:
This is a simple question about actual practice. I just want to know how you (yes you) are approaching this problem. The problem: What is the recommended packaging of demo scripts or test...
1
by: GiBo | last post by:
Hi, what's the best practice to securely prompt user for password on console in Python? IIRC some programs like SSH do a lot to ensure that the input comes from TTY and is not redirected from...
7
by: alito | last post by:
Hi all, I am new to using packages to group my modules. I can't figure out how to run a module that uses relative imports without writing a wrapper that imports that module. Everything I try...
5
by: Frank Millman | last post by:
Hi all This is not strictly a Python question, but as I am writing in Python, and as I know there are some XML gurus on this list, I hope it is appropriate here. XML-schemas are used to...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
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,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
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,...
0
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...
0
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...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...

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.