Re: some problems for an introductory python test

2021-08-16 Thread Abhiram R
Hello,
One of my absolute favorite places to go to practice Python questions from
is https://projecteuler.net . It's just Maths based questions that cannot
be solved by hand without consuming a Ton of time because of the high
limits.
This is how I learnt Python. By solving problems from the site in Python!
Happy to provide more tips wrt this if required.

Regards
Abhi R <http://abhiramr.com>

On Tue, Aug 10, 2021 at 2:56 AM Hope Rouselle 
wrote:

> I'm looking for questions to put on a test for students who never had
> any experience with programming, but have learned to use Python's
> procedures, default arguments, if-else, strings, tuples, lists and
> dictionaries.  (There's no OOP at all in this course.  Students don't
> even write ls.append(...).  They write list.append(ls, ...)).
>
> I'd like to put questions that they would have to write procedures that
> would would be real-world type of stuff, without error checking,
> exceptions and such.  So if you think of something more or less cool
> that uses loops, we can sometimes simplify it by assuming the input has
> a certain fixed size.
>
> I came up with the following question.  Using strings of length 5
> (always), write a procedure histogram(s) that consumes a string and
> produces a dictionary whose keys are each substrings (of the string) of
> length 1 and their corresponding values are the number of times each
> such substrings appear.  For example, histogram("a") = {"a": 5}.
> Students can "loop through" the string by writing out s[0], s[1], s[2],
> s[3], s[4].
>
> I'd like even better questions.  I'd like questions that would tell them
> to write procedures that would also have inverses, so that one could
> check the other of the other.  (A second question would ask for the
> inverse, but hopefully real world stuff.  One such question could be
> parsing a line separate by fields such as "root:0:0:mypass:Super User"
> and another that gives them ["root", 0, 0, ...] and asks them to write
> "root:0:0:mypass:..."  You get the idea.)
>
> Students know how to use str().  But they don't know how to use type(),
> so they can't really check for the type of the input.  I probably
> couldn't ask them to write a prototype of a tiny subset of pickle, say.
>
> I think you get the idea.  I hope you can provide me with creativity.  I
> have been looking at books, but every one I look at they introduce loops
> very quickly and off they go.  Thank you!
> --
> https://mail.python.org/mailman/listinfo/python-list
>


-- 
-Abhiram R
-- 
https://mail.python.org/mailman/listinfo/python-list


Re: pyttsx3 installation error

2021-07-02 Thread Abhiram R
Congratulations on trying out something new in Python. The first step to
debugging errors is try and Google them. Unless it's a brand new package,
chances are, you'll find a solution there almost immediately.
In case you've already installed this missing package, and it's not getting
imported, I'd suggest reading up on Virtual environments, how to create
one, how to activate one and how to install packages in them.
These might seem tedious if you're just starting off, but it's going to pay
off.

Happy programming!
Abhiram R
abhiramr.com



On Sat, Jul 3, 2021, 2:13 AM Nikita Lohale  wrote:

> Traceback (most recent call last):
>   File "f:\Nikita\Python programming\Iron Man Jarvis AL\jarvis.py", line
> 1, in 
> import pyttsx3
> ModuleNotFoundError: No module named 'pyttsx3'
> --
> https://mail.python.org/mailman/listinfo/python-list
>
-- 
https://mail.python.org/mailman/listinfo/python-list


Re: Issues in downloading python

2020-07-17 Thread Abhiram R
It's most likely because you haven't added Python to your environment PATH
variable.

The easiest path forward is to uninstall it from Applications and then when
you reinstall, tick the option on the bottom of the first splash screen of
the installer. It will add Python to your PATH variable automatically and
you should be able to access it from CMD after that.

Regards
Abhiram R <http://abhiramr.com>

On Fri, Jul 17, 2020 at 10:28 PM Shanmika Sugavaneswaran <
shanmisugu8...@outlook.com> wrote:

> Though I install the setup , I couldn’t find Python in my system . I don’t
> know what cause the problem. Please help me!
>
>
>
> Sent from Mail<https://go.microsoft.com/fwlink/?LinkId=550986> for
> Windows 10
>
> --
> https://mail.python.org/mailman/listinfo/python-list
>


-- 
-Abhiram R
-- 
https://mail.python.org/mailman/listinfo/python-list


Re: CURSES WINDOWS

2018-09-05 Thread Abhiram R
And here I thought this was a rant :D

On Tue, Sep 4, 2018 at 8:33 PM shinobi  wrote:
> >
> > Hello All,
> >
> > can anyone please let me know what's the path to port linux python curses
> > program to Windows?
> >
> > Thanks
> >
> > --
> > https://mail.python.org/mailman/listinfo/python-list
>
>
-- 
Abhiram R

abhiramr.github.io
-- 
https://mail.python.org/mailman/listinfo/python-list


Doubt in line_profiler documentation

2018-01-26 Thread Abhiram R
​I'm having trouble understanding something in the ​documentation of
https://github.com/rkern/line_profiler

The definition for the time column says -

"Time: The total amount of time spent executing the line in the timer's
units. In the header information before the tables, you will see a line
'Timer unit:' giving the conversion factor to seconds. It may be different
on different systems."

I don't really understand the conversion factor.

For example, if the timer unit is :* 3.20802e-07 s*
and a particular instruction's time column says its value is 83.0, is the
time taken 83.0*3.20802e-07 s? Or is there more to it?

If my understanding is correct however, why would there be a need for this?
What could be the cause of this - " It may be different on different systems
"?

Can someone help me out?


Thanks
Abhiram R


ᐧ
-- 
https://mail.python.org/mailman/listinfo/python-list


Re: we want python software

2017-12-08 Thread Abhiram R
On Wed, Dec 6, 2017 at 10:08 AM, km <srikrishnamo...@gmail.com> wrote:

> I dont know how these students are selected into b tech stream in India.
> they are so dumb. All they know is a to open a program we need to double
> click it and it runs.
>
> â ïWe were all once "dumb". We learnt it because someone Taught us. I'd
rather not entertain such or refrain from condescending replies that would
further discourage people from trying to get into the field. With all the
emphasis on the Python "community", it's important not to be so dismissive.


Thanks
Abhiram â ï




>
>
> On Wed, Dec 6, 2017 at 9:19 AM, Rustom Mody <rustompm...@gmail.com> wrote:
>
> > On Wednesday, December 6, 2017 at 3:10:24 AM UTC+5:30, Igor Korot wrote:
> > > Hi, Tony,
> > >
> > > On Tue, Dec 5, 2017 at 11:10 AM, Tony van der Hoff  wrote:
> > > > On 05/12/17 16:55, Igor Korot wrote:
> > > >> Hi,
> > > >>
> > > >> On Tue, Dec 5, 2017 at 9:10 AM, Jyothiswaroop Reddy wrote:
> > > >>> Sir,
> > > >>> I am b.tech student I would like to learn python. So please
> > send the python software.
> > > >> Sorry, we don't send anything. You will have to go get it yourself.
> -)
> > > >>
> > > > Well, at least try to be helpful:
> > > > https://www.python.org/downloads/
> > >
> > > This is LMGIFY.
> > > If they say they are tech students - they should know how to work with
> > Google.
> > >
> > > And I even tried to be polite. I should have probably write something
> > like:
> > >
> > > 1. Open the Web browser.
> > > 2. In the "Address Bar" type "www.pyton.org".
> > > 3. Find the link which reads "Downloads". Click on it.
> > > 4. Carefully read what version you need to install for your OS.
> > > 5. Apply the acquired knowledge and download the appropriate version.
> > > 6. Click on the installer (if on Windows).
> > > 7. Follow all the prompts.
> > > 8. Enjoy.
> > >
> > > but this is too much for the tech student.
> >
> > You are assuming that the strangeness of the request is about 'tech'
> > [engineering/tech existed centuries before computers]
> >
> > Do remember one can be a tech-{student,professional} without
> > - ever having encountered free-software
> > - internet/USENET culture
> >
> > â | from which pov the request would not look so odd
> >
> > --
> > https://mail.python.org/mailman/listinfo/python-list
> >
> --
> https://mail.python.org/mailman/listinfo/python-list
>



--
-Abhiram R
áÉ$

-- 
https://mail.python.org/mailman/listinfo/python-list


Re: we want python software

2017-12-05 Thread Abhiram R
On Wed, Dec 6, 2017 at 10:08 AM, km <srikrishnamo...@gmail.com> wrote:

> I dont know how these students are selected into b tech stream in India.
> they are so dumb. All they know is a to open a program we need to double
> click it and it runs.
>
> ​We were all once "dumb". We learnt it because someone Taught us. I'd
rather not entertain such or refrain from condescending replies that would
further discourage people from trying to get into the field. With all the
emphasis on the Python "community", it's important not to be so dismissive.


Thanks
Abhiram ​




>
>
> On Wed, Dec 6, 2017 at 9:19 AM, Rustom Mody <rustompm...@gmail.com> wrote:
>
> > On Wednesday, December 6, 2017 at 3:10:24 AM UTC+5:30, Igor Korot wrote:
> > > Hi, Tony,
> > >
> > > On Tue, Dec 5, 2017 at 11:10 AM, Tony van der Hoff  wrote:
> > > > On 05/12/17 16:55, Igor Korot wrote:
> > > >> Hi,
> > > >>
> > > >> On Tue, Dec 5, 2017 at 9:10 AM, Jyothiswaroop Reddy wrote:
> > > >>> Sir,
> > > >>> I am b.tech student I would like to learn python. So please
> > send the python software.
> > > >> Sorry, we don't send anything. You will have to go get it yourself.
> -)
> > > >>
> > > > Well, at least try to be helpful:
> > > > https://www.python.org/downloads/
> > >
> > > This is LMGIFY.
> > > If they say they are tech students - they should know how to work with
> > Google.
> > >
> > > And I even tried to be polite. I should have probably write something
> > like:
> > >
> > > 1. Open the Web browser.
> > > 2. In the "Address Bar" type "www.pyton.org".
> > > 3. Find the link which reads "Downloads". Click on it.
> > > 4. Carefully read what version you need to install for your OS.
> > > 5. Apply the acquired knowledge and download the appropriate version.
> > > 6. Click on the installer (if on Windows).
> > > 7. Follow all the prompts.
> > > 8. Enjoy.
> > >
> > > but this is too much for the tech student.
> >
> > You are assuming that the strangeness of the request is about 'tech'
> > [engineering/tech existed centuries before computers]
> >
> > Do remember one can be a tech-{student,professional} without
> > - ever having encountered free-software
> > - internet/USENET culture
> >
> > … from which pov the request would not look so odd
> >
> > --
> > https://mail.python.org/mailman/listinfo/python-list
> >
> --
> https://mail.python.org/mailman/listinfo/python-list
>



-- 
-Abhiram R
ᐧ
-- 
https://mail.python.org/mailman/listinfo/python-list


Re: palindrome

2015-11-16 Thread Abhiram R
On Tue, Nov 17, 2015 at 9:59 AM, Seymore4Head <Seymore4Head@hotmail.invalid>
wrote:

> http://www.practicepython.org/exercise/2014/03/12/06-string-lists.html
>
> Here is my answers.  What would make it better?
>
> import random
> str1=""
> letcount=4
> count=0
> abc='abcdefghijklmnopqrstuvwxyz'
> while True:
> for i in range(letcount):
> a=random.choice(abc)
> str1+=a
> print str1
> count+=1
> if str1==str1[::-1]:
> break
> else:
> str1=""
> print "Tries= ",count
> print str1
> --
>
> ​

The question asks to get an input from the user and print if it's a
palindrome or not.
It should be just

strA=raw_input()
if strA==strA[::-1]:
print "Palindrome"
else:
print "Not"

Right? Am I missing something? Why are you generating random strings and
trying to check for palindromes?​


Thanks
Abhiram R (IRC - abhiii5459_ ; Twitter - https://twitter.com/abhiii5459)
-- 
https://mail.python.org/mailman/listinfo/python-list


Re: palindrome

2015-11-16 Thread Abhiram R
On Tue, Nov 17, 2015 at 10:18 AM, Seymore4Head <Seymore4Head@hotmail.invalid
> wrote:

> On Tue, 17 Nov 2015 10:09:27 +0530, Abhiram R
> <abhi.darkn...@gmail.com> wrote:
>
> >On Tue, Nov 17, 2015 at 9:59 AM, Seymore4Head
> <Seymore4Head@hotmail.invalid>
> >wrote:
> >
> >> http://www.practicepython.org/exercise/2014/03/12/06-string-lists.html
> >>
> >> Here is my answers.  What would make it better?
> >>
> >> import random
> >> str1=""
> >> letcount=4
> >> count=0
> >> abc='abcdefghijklmnopqrstuvwxyz'
> >> while True:
> >> for i in range(letcount):
> >> a=random.choice(abc)
> >> str1+=a
> >> print str1
> >> count+=1
> >> if str1==str1[::-1]:
> >> break
> >> else:
> >> str1=""
> >> print "Tries= ",count
> >> print str1
> >> --
> >>
> >> ?
> >
> >The question asks to get an input from the user and print if it's a
> >palindrome or not.
> >It should be just
> >
> >strA=raw_input()
> >if strA==strA[::-1]:
> >print "Palindrome"
> >else:
> >print "Not"
> >
> >Right? Am I missing something? Why are you generating random strings and
> >trying to check for palindromes??
> >
> The instructions do ask for input.  I am lazy.  I thought it would be
> cool to have random input instead of just typing a phrase.
> --
>
>
​Haha. Nice. Although with your length of string and the range you're
picking from,the chances of you getting a palindrome are (1/24!)  :D ​




-- 
-Abhiram R
-- 
https://mail.python.org/mailman/listinfo/python-list


RE: Re: Re: Installing pywin32.

2015-09-28 Thread Abhiram R
>
> I will give the team viewer ID of my machine so can you please install
the pywin32 module to me.
>

Hi ,
It's best if you install it yourself. It isn't really complicated. :)  and
you'll learn it in the process as well
Steps you could possibly Google -
1) installation of Python 3.5 (which i believe is done)
2) set PYTHONPATH in Windows
3) installation of pip on Windows
4) pip install pypiwin32

That's all there is to it.
PS- I'm sure you must have searched for your original problem's solution as
well. If not, here's the corresponding stackoverflow thread that can
possibly help you as well -
http://googleweblight.com/?lite_url=http://stackoverflow.com/questions/25257274/python-3-4-importerror-no-module-named-win32api=rMvmto7N=en-IN=1=978=1443447404=APONPFlqU_v1gaBPeJ1YluSJxcvkrCVpnQ

Thanks
Abhiram
-- 
https://mail.python.org/mailman/listinfo/python-list


Re: Sudoku solver

2015-03-25 Thread Abhiram R
On Mar 26, 2015 5:39 AM, Ian Kelly ian.g.ke...@gmail.com wrote:


 Hard for a human doesn't necessarily mean hard for a programmatic
 solver in this case. Try your solver on this one:

 $ cat sudoku2.dat
 . . . 7 . . . . .
 1 . . . . . . . .
 . . . 4 3 . 2 . .
 . . . . . . . . 6
 . . . 5 . 9 . . .
 . . . . . . 4 1 8
 . . . . 8 1 . . .
 . . 2 . . . . 5 .
 . 4 . . . . 3 . .

 I tried the first puzzle you posted, and it took about a second. I
 then started running it on this one before I started typing up this
 post, and it hasn't finished yet.

So... Is it done yet? And if yes, how long did it take?
-- 
https://mail.python.org/mailman/listinfo/python-list


Re: Sudoku solver

2015-03-25 Thread Abhiram R
On Thu, Mar 26, 2015 at 8:54 AM, Ian Kelly ian.g.ke...@gmail.com wrote:
 On Wed, Mar 25, 2015 at 8:56 PM, Abhiram R abhi.darkn...@gmail.com wrote:

 On Mar 26, 2015 5:39 AM, Ian Kelly ian.g.ke...@gmail.com wrote:


 Hard for a human doesn't necessarily mean hard for a programmatic
 solver in this case. Try your solver on this one:

 $ cat sudoku2.dat
 . . . 7 . . . . .
 1 . . . . . . . .
 . . . 4 3 . 2 . .
 . . . . . . . . 6
 . . . 5 . 9 . . .
 . . . . . . 4 1 8
 . . . . 8 1 . . .
 . . 2 . . . . 5 .
 . 4 . . . . 3 . .

 I tried the first puzzle you posted, and it took about a second. I
 then started running it on this one before I started typing up this
 post, and it hasn't finished yet.

 So... Is it done yet? And if yes, how long did it take?

 I don't know, I killed it at about 16 minutes.
 --
 https://mail.python.org/mailman/listinfo/python-list

:( Too bad. I'll give it a go myself. And then try implementing my own
solution. Have a lot of time on my hands today :D

-- 
-Abhiram R
-- 
https://mail.python.org/mailman/listinfo/python-list


Re: Speeding up permutations generation

2015-03-06 Thread Abhiram R

 A list of 100 elements has approximately 9.33 x 10**157 permutations.
 If you could somehow generate one permutation every yoctosecond,
 exhausting them would still take more than a hundred orders of
 magnitude longer than the age of the universe.
 --
 https://mail.python.org/mailman/listinfo/python-list


​True that :D I may have exaggerated on the number. Let's consider
something more practically manageable​ = 50 elements with a 50!
permutation.
Is there a solution now?


​-Abhiram.R
*~Never give up*
-- 
https://mail.python.org/mailman/listinfo/python-list


Speeding up permutations generation

2015-03-05 Thread Abhiram R
Hi all,
Is there a way to generate permutations of large arrays of sizes say,in the
hundreds, faster than in the time itertools.permutations() can return?

​-Abhiram.R
*~Never give up*
-- 
https://mail.python.org/mailman/listinfo/python-list


Usage of some pastebin service proposed

2015-02-04 Thread Abhiram R
Hey guys,
I've noticed a lot of people enquiring about syntactic errors and email
somewhat butchers the indentation every now and then and the actual error
gets buried in this mess. So is it possible to let everyone know that they
need to paste their code on some site like pastebin.com and give us the
link here so help can be provided better?

Just a thought :)

​Cheers
Abhiram R
-- 
https://mail.python.org/mailman/listinfo/python-list


To modify IDLE source code

2014-08-28 Thread Abhiram R
Hi,
I've got the IDLE source code from IDLElib online. Now I want to modify it
so as to improve upon it i.e I have a feature in mind I want to add into
it. Is there any documentation that will help me make sense (more easily)
of each of the py files in said library?


Thanks
Abhiram
-- 
https://mail.python.org/mailman/listinfo/python-list


Re: What is best way to learn Python for advanced developer?

2014-07-30 Thread Abhiram R
 I'm looking for online courses and any ressources I can have on the
 subject.


​If you can get your hands on the Python course on www.lynda.com, that'd do
the job.​


-- 
Abhiram.R
-- 
https://mail.python.org/mailman/listinfo/python-list


Re: I need an idea for practise!

2014-07-17 Thread Abhiram R
On Thu, Jul 17, 2014 at 3:29 PM, Nicholas Cannon nicholascann...@gmail.com
wrote:

 I have made 2 programs(with GUI). And basically they are quite boring(a
 text editor and calculator).
 --
 https://mail.python.org/mailman/listinfo/python-list



​What library did you use for the GUI?​

-- 
Abhiram.R
-- 
https://mail.python.org/mailman/listinfo/python-list


Re: This Python 3 is killing Python thread is killing me.

2014-07-16 Thread Abhiram R
On Wed, Jul 16, 2014 at 11:02 PM, Deb Wyatt codemon...@inbox.com wrote:

 Can you all stop already with the non python US bashing?  Please?

 Deb in WA, USA



 --
 https://mail.python.org/mailman/listinfo/python-list



​I'm actually picking up a lot of snippets of information from that thread
by being a spectator :) ​But that's just me.

-- 
Abhiram.R
-- 
https://mail.python.org/mailman/listinfo/python-list


Re: Python 3 is killing Python

2014-07-15 Thread Abhiram R
Annd I just saw that the lifetime has been pushed up to 2020 :)
#SelfCorrected


On Wed, Jul 16, 2014 at 3:05 AM, Abhiram R abhi.darkn...@gmail.com wrote:

 Umm..Guido Van Rossum said in Pycon 2014 that Py 2.x would be supported
 only until 2015 :-| So...you know.. you have like an year before you *do *have
 to migrate to 3.x .


 On Wed, Jul 16, 2014 at 2:17 AM, Devin Jeanpierre jeanpierr...@gmail.com
 wrote:

 On Tue, Jul 15, 2014 at 1:24 PM, Mark Lawrence breamore...@yahoo.co.uk
 wrote:
  On 15/07/2014 18:38, Marko Rauhamaa wrote:
 
  Chris Angelico ros...@gmail.com:
 
  Fine. Tell me how you would go about adding true Unicode support to
  Python 2.7, while still having it able to import an unchanged program.
  Trick question - it's fundamentally impossible, because an unchanged
  program will not distinguish between bytes and text, but true Unicode
  support requires that they be distinguished.
 
 
  Python 2 has always had unicode strings and [byte] strings. They were
  always clearly distinguished. You really didn't have to change anything
  for true Unicode support.
 
 
  That is the funniest tongue in cheek comment I've read in the 10+ years
  I''ve been hanging around here.  It was tongue in cheek, wasn't it?

 What isn't true about Python 2.x's unicode support? The only feature
 I ever missed was case folding. (Not that 3.x does much better at that...
 :)

 The stdlib had poor unicode support, if that's what you mean. That
 could've been fixed without introducing backwards-incompatible
 changes, though.

 -- Devin
 --
 https://mail.python.org/mailman/listinfo/python-list




 --
 Abhiram.R
 M.Tech CSE (Sem 3)
 RVCE
 Bangalore




-- 
Abhiram.R
M.Tech CSE (Sem 3)
RVCE
Bangalore
-- 
https://mail.python.org/mailman/listinfo/python-list


Re: Python 3 is killing Python

2014-07-15 Thread Abhiram R
Umm..Guido Van Rossum said in Pycon 2014 that Py 2.x would be supported
only until 2015 :-| So...you know.. you have like an year before you *do *have
to migrate to 3.x .


On Wed, Jul 16, 2014 at 2:17 AM, Devin Jeanpierre jeanpierr...@gmail.com
wrote:

 On Tue, Jul 15, 2014 at 1:24 PM, Mark Lawrence breamore...@yahoo.co.uk
 wrote:
  On 15/07/2014 18:38, Marko Rauhamaa wrote:
 
  Chris Angelico ros...@gmail.com:
 
  Fine. Tell me how you would go about adding true Unicode support to
  Python 2.7, while still having it able to import an unchanged program.
  Trick question - it's fundamentally impossible, because an unchanged
  program will not distinguish between bytes and text, but true Unicode
  support requires that they be distinguished.
 
 
  Python 2 has always had unicode strings and [byte] strings. They were
  always clearly distinguished. You really didn't have to change anything
  for true Unicode support.
 
 
  That is the funniest tongue in cheek comment I've read in the 10+ years
  I''ve been hanging around here.  It was tongue in cheek, wasn't it?

 What isn't true about Python 2.x's unicode support? The only feature
 I ever missed was case folding. (Not that 3.x does much better at that...
 :)

 The stdlib had poor unicode support, if that's what you mean. That
 could've been fixed without introducing backwards-incompatible
 changes, though.

 -- Devin
 --
 https://mail.python.org/mailman/listinfo/python-list




-- 
Abhiram.R
M.Tech CSE (Sem 3)
RVCE
Bangalore
-- 
https://mail.python.org/mailman/listinfo/python-list


Re: Python 3 is killing Python

2014-07-15 Thread Abhiram R
a) What is top post?
b)I did correct myself in the next post. Or maybe you missed that.


On Wed, Jul 16, 2014 at 3:19 AM, Mark Lawrence breamore...@yahoo.co.uk
wrote:

 On 15/07/2014 22:35, Abhiram R wrote:

 Umm..Guido Van Rossum said in Pycon 2014 that Py 2.x would be supported
 only until 2015 :-| So...you know.. you have like an year before you /do
 /have to migrate to 3.x .

 --
 Abhiram.R
 M.Tech CSE (Sem 3)
 RVCE
 Bangalore



 a) please don't top post, this is almost as heinous a crime as using the
 infamous google groups
 b) complete nonsense, it's actually 2020


 --
 My fellow Pythonistas, ask not what our language can do for you, ask what
 you can do for our language.

 Mark Lawrence

 ---
 This email is free from viruses and malware because avast! Antivirus
 protection is active.
 http://www.avast.com


 --
 https://mail.python.org/mailman/listinfo/python-list




-- 
Abhiram.R
-- 
https://mail.python.org/mailman/listinfo/python-list


Re: Python 3 is killing Python

2014-07-15 Thread Abhiram R
On Wed, Jul 16, 2014 at 4:00 AM, Kevin Walzer k...@codebykevin.com wrote:

 Top posting is the practice of responding to an e-mail thread by putting
 your response at the top of the text you are quoting. It's standard
 practice in the corporate world...

 On 7/15/14, 6:13 PM, Abhiram R wrote:

 a) What is top post?Â


 ...but  Unix/newsgroup ettiquette says that it's gauche to do this,
 because it presents an unacceptable cognitive burden to the user trying to
 catch the context of the thread by forcing them to read your reply first,
 before they read the preceding quoted comments.


 --Kevin
 --
 Kevin Walzer
 Code by Kevin/Mobile Code by Kevin
 http://www.codebykevin.com
 http://www.wtmobilesoftware.com
 --
 https://mail.python.org/mailman/listinfo/python-list



​Aah. Understood. Apologies for the noobishness :) ​

​-​
Abhiram.R
-- 
https://mail.python.org/mailman/listinfo/python-list


Re: Python 3 is killing Python

2014-07-15 Thread Abhiram R
On Wed, Jul 16, 2014 at 5:23 AM, Rick Johnson rantingrickjohn...@gmail.com
wrote:

 On Tuesday, July 15, 2014 5:40:29 PM UTC-5, Abhiram R wrote:
  [snip excessive quotations]
  Aah. Understood. Apologies for the noobishness :)

 Noobishness can be tolerated for a reasonable time,
 especially when the noob actively seeks to improve his
 skills, as you are doing, so kudos to you.


​Thank you Rick :)​



 The next skill to learn, after NOT top posting, is the art
 of trimming quotations to the most relevant bits. You'll
 have to use your own judgment for most quoted text, however,
 if nothing else, be sure to remove any links to the quoted
 persons web site or blog, and any famous quotes.


 Added to ​my TIL-list :D​

​​


 --
 https://mail.python.org/mailman/listinfo/python-list




-- 
Abhiram.R
-- 
https://mail.python.org/mailman/listinfo/python-list


Re: Writing Python File at Specific Interval

2014-07-09 Thread Abhiram R
Looping in the list to improve on my suggestion or suggest an alternative


On Wed, Jul 9, 2014 at 11:03 PM, Abhiram R abhi.darkn...@gmail.com wrote:

 Hi Subha,
 What is the current methodology you're using? If your code is already
 being called every 24 hours or whatever, you can use a touch command
 inside an os.system() call and create a new file and append your results to
 it, right? Is that what your objective is?


 On Wed, Jul 9, 2014 at 8:06 PM, subhabangal...@gmail.com wrote:

 Dear Group,

 I am trying to write a file, which would create a new file name
 as the code runs.

 The code (a basic crawler) would run every morning
 or evening, on a predefined time. [This part is fine].

 In the next part, I am trying to store the daily
 results to a new file.

 As I researched I found some tips around time module,
 logging module, pythoncom etc. But not getting any important
 lead.

 If any one of the esteemed members may kindly suggest.

 Regards,
 Subhabrata Banerjee.
 --
 https://mail.python.org/mailman/listinfo/python-list




 --
 Abhiram.R
 M.Tech CSE (Sem 3)
 RVCE
 Bangalore




-- 
Abhiram.R
M.Tech CSE (Sem 3)
RVCE
Bangalore
-- 
https://mail.python.org/mailman/listinfo/python-list