473,322 Members | 1,403 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,322 software developers and data experts.

some questions

Hi,

I need some information on how to deal with strings which I have
divided by using split(). I'm new to python and don't know how to
handle these split up strings.
And I some one could recommend a good tutorial I would be very
glad. Can't hardly find any.

Thanks in advance.

Andreas
Jul 18 '05 #1
4 1497
Andreas Bauer wrote:
Hi,

I need some information on how to deal with strings which I have
divided by using split(). I'm new to python and don't know how to
handle these split up strings.
And I some one could recommend a good tutorial I would be very
glad. Can't hardly find any.

Thanks in advance.

Andreas


Could anybody tell me how to hide a varibale e.g. in a url
Example

for i in (0,5):
u = urllib.urlopen("http://www.versionxzy.com/page - here the variable e.g
page1,page2,page3...
-.html

thanks
Andi
Jul 18 '05 #2
"Andreas Bauer" wrote:
I need some information on how to deal with strings which I have
divided by using split(). I'm new to python and don't know how to
handle these split up strings.
Hmm, doesn't that kind of depend on what you want to do with them?
And I some one could recommend a good tutorial I would be very
glad.
Where have you already looked? Have you tried "Python tutorial" on google?
Have you tried Python.org? Python itself comes with a tutorial (maybe you
are unaware of this, or maybe you want another?).
Can't hardly find any.


Was ist das? Can't or can? Or do you really mean "Can't hardly find
nothin'?" ;-)
Jul 18 '05 #3
Have you tried Python.org? Python itself comes with a tutorial
(maybe you are unaware of this, or maybe you want another?).


Andreas> I know there is one. But I don't like it. Don't know what kind
Andreas> of tutorial I'm looking for. Just some hints would be enough.

Hint: http://www.python.org/doc/Newbies.html

Skip

Jul 18 '05 #4
Andreas Bauer wrote:
Could anybody tell me how to hide a varibale e.g. in a url
Example

for i in (0,5):
u = urllib.urlopen("http://www.versionxzy.com/page
- here the variable e.g page1,page2,page3.html


here's one way to do it:

for i in range(1, 5):
u = urllib.urlopen("http://www.versionxzy.com/page%d.html" % i)

more here:

http://www.python.org/doc/current/tut/node9.html
http://www.python.org/doc/current/li...q-strings.html

(reading the entire tutorial won't hurt, of course)

</F>

<!-- (the eff-bot guide to) the python standard library (redux):
http://effbot.org/zone/librarybook-index.htm
-->


Jul 18 '05 #5

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

Similar topics

2
by: Ross Micheals | last post by:
All I have some general .NET questions that I'm looking for some help with. Some of these questions (like the first) are ones that I've seen various conflicting information on, or questions that...
12
by: Vibhajha | last post by:
Hi friends, My sister is in great problem , she has this exam of C++ and she is stuck up with some questions, if friends like this group provides some help to her, she will be very grateful....
1
by: Tony Johansson | last post by:
Hello Experts! I have some questions about inheritance that I want to have an answer to. It says "Abstract superclasses define a behavioral pattern without specifying the implementation" I...
162
by: techievasant | last post by:
hello everyone, Iam vasant from India.. I have a test+interview on C /C++ in the coming month so plz help me by giving some resources of FAQS, interview questions, tracky questions, multiple...
50
by: Jatinder | last post by:
I 'm a professional looking for the job.In interview these questions were asked with some others which I answered.But some of them left unanswered.Plz help. Here are some questions on C/C++, OS...
24
by: Kevin | last post by:
Hey guys. I'm looking to get together some VB programmers on Yahoo messenger. I sit at a computer and program all day. I have about 3 or 4 people already, but it would be really cool to have a...
7
by: changs | last post by:
Hi, all I have a asm code, I suspect it sort of socket programming. Can anyone here give some instructions on how to determine the function or give the psudo-code in C? Thanks in advance! ...
3
by: iKiLL | last post by:
Hi all I am building an Windows Mobile 5 forms control in C#, for a Windows Mobile 5 application. I am using CF2.0 and SQL Mobile 2005. The control is a Questions and answer control.
4
by: Mr. X. | last post by:
Hello. I need some help, please. What can an employee ask (technical questions), if I am interviewed of Dot-net developer (also VB.NET and C#). (What are the most general questions, that I may...
30
by: GeorgeRXZ | last post by:
Hi Friends, I have some questions related to C Language. 1What is the difference between the standard C language and Non standard C language ? 2which is better C Lanugage, C under Linux/...
0
by: DolphinDB | last post by:
Tired of spending countless mintues downsampling your data? Look no further! In this article, you’ll learn how to efficiently downsample 6.48 billion high-frequency records to 61 million...
0
by: ryjfgjl | last post by:
ExcelToDatabase: batch import excel into database automatically...
0
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
1
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
0
by: Vimpel783 | last post by:
Hello! Guys, I found this code on the Internet, but I need to modify it a little. It works well, the problem is this: Data is sent from only one cell, in this case B5, but it is necessary that data...
0
by: jfyes | last post by:
As a hardware engineer, after seeing that CEIWEI recently released a new tool for Modbus RTU Over TCP/UDP filtering and monitoring, I actively went to its official website to take a look. It turned...
1
by: Defcon1945 | last post by:
I'm trying to learn Python using Pycharm but import shutil doesn't work
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 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 former...

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.