Re: Is Python installer/un-installer buggy on Windows?

2014-12-04 Thread Aseem Bansal
Yeah, the problem seems to be with registry as every solution seems to be 
fiddling with registry.

I know that reinstalling OS is a really bad idea. But I have tried to find a 
way to solve this for months now. I have started a bounty on superuser also for 
the same in the question Python IDLE disappeared from the right click context 
menu. And asking on these groups was the last thing I can think of.

I uninstalled via the Control Panel. I installed via the official Python 
installer for Windows.

I also don't understand how a start menu entry can begin an installation but it 
is doing just that. Now there seems to be 4 IDLE entries in my start menu. Two 
are valid (2.7.8, 3.4.2). The other two are previous installations of Python 
3.4  that I did at different locations but removed later. I have stopped 
running IDLE from the start menu due to this. Because I am never sure whether 
it will re-install Python 3.4 at those old locations or not. Even right 
clicking those entries in start menu causes the installations to start. So I 
cannot even find the physical path of those entries.

Maybe too much fiddling with the registry has caused it. Not sure about that.
-- 
https://mail.python.org/mailman/listinfo/python-list


Is Python installer/un-installer buggy on Windows?

2014-12-03 Thread Aseem Bansal
I am using 32-bit Python on a 64-bit Windows. 

Edit with IDLE is missing from the context menu. I am working on Windows 7. I 
have searched on google a lot and have tried everything said in superuser, 
stackoverflow etc. I have even tried re-installing Python. I am now only left 
with re-installing Windows itself which I don't think is a good idea.


Shouldn't the Python installer be able to fix this thing? 


I have both Python 2.7 and 3.4 installed but I uninstalled both and tried 
installing one. No use. 

Is there some problem with Python (un-)installer on Windows? I am asking 
because I have multiple IDLE in my Start menu one of which starts to install 
Python 3.3 in the default location (which I had earlier).
-- 
https://mail.python.org/mailman/listinfo/python-list


Re: Regarding Python official website

2014-06-07 Thread Aseem Bansal
The Job board. It has been on hold for quite some time.
-- 
https://mail.python.org/mailman/listinfo/python-list


Regarding Python official website

2014-06-06 Thread Aseem Bansal
The Python website is undergoing an overhaul for better looks. Is there 
anything like a forum where it is being discussed. I mean where the schedule 
for this is being maintained or the same is being discussed?
-- 
https://mail.python.org/mailman/listinfo/python-list


Benefits of asyncio

2014-06-02 Thread Aseem Bansal
I read in these groups that asyncio is a great addition to Python 3. I have 
looked around and saw the related PEP which is quite big BTW but couldn't find 
a simple explanation for why this is such a great addition. Any simple example 
where it can be used? 

It can be used to have a queue of tasks? Like threads? Maybe light weight 
threads? Those were my thoughts but the library reference clearly stated that 
this is single-threaded. So there should be some waiting time in between the 
tasks. Then what is good?

These are just jumbled thoughts that came into my mind while trying to make 
sense of usefulness of asyncio. Anyone can give a better idea?
-- 
https://mail.python.org/mailman/listinfo/python-list


Re: Benefits of asyncio

2014-06-02 Thread Aseem Bansal
I haven't worked with asynchronous tasks or concurrent programming so far. Used 
VB2010 and have used some jQuery in a recent project but nothing low level.

As per the explanation it seems that programming using asyncio would require 
identifying blocks of code which are not dependent on the IO. Wouldn't that get 
confusing?

@Terry
When I said that there would be waiting time I meant as compared to sequential 
programming. I was not comparing to threads.

From all the explanations what I got is that it is the way of doing event 
driven programming like threads are for concurrent programming. It would have 
been great if the library reference had mentioned the term event-driven 
programming. It would have been a great starting point to understand.
-- 
https://mail.python.org/mailman/listinfo/python-list


Re: Advice for choosing correct architecture/tech for a hobby project

2014-05-23 Thread Aseem Bansal
The project is not a browser but a app for managing the bookmarks. Only 
managing by categories. A replacement for the bookmarks made in webbrowser. I 
wanted to make bookmarks easier to use. Hierarchical structure of bookmarks 
gives a lot of problems. I wanted to solve that for my use.

On Friday, May 23, 2014 1:19:22 AM UTC+5:30, Mark H. Harris wrote:
 On 5/22/14 1:54 PM, Aseem Bansal wrote:
 
  I am working on a hobby project - a Bookmarker{snip}
 
 
 
 hi,  no django is not really the correct tool-set. Django is for 
 
 server-side content management, but who knows, you might come up with a 
 
 great hack (I don't want to discourage you).  But, a straight python 
 
 trimmed down app would probably be better...  what led you to django?
 
 
 
 It seems from your descriptions, which don't make sense by the way, that 
 
 you are attempting to create your own 'browser' within your app (web 
 
 api) and you want to use a standard browser (like firefox or chrome) to 
 
 'front-end' the apps bookmarks. So, your app needs to be able to read 
 
 your browser's bookmarks file.
 
 
 
 Browsers most certainly can read http:// https:// file:// etc. (and many 
 
 more). Your api may not be able to read local file://  urls, but I'm 
 
 skeptical about that (most web api(s) have no trouble with file:// either).
 
 
 
 Provide some more info, somebody will help.
 
 
 
 
 
 marcus
-- 
https://mail.python.org/mailman/listinfo/python-list


Re: Advice for choosing correct architecture/tech for a hobby project

2014-05-23 Thread Aseem Bansal
I know that there are many online ways to do what I am trying to do but this 
was something I wanted to make. 

I have learnt Python myself and wanted to learn a way to make apps in Python. 
GUI development in Python has given a lot of headache while trying to find an 
appropriate framework with the addons(community, designer tool, documentation, 
open source etc.). The only nearly viable solution that I found was Kivy but 
the current project idea that I had was this bookmarker project which needed to 
have a way to add bookmarks easily through browser so I settled on the most 
popular web framework present. 


On Friday, May 23, 2014 2:58:51 AM UTC+5:30, Ethan Furman wrote:
 On 05/22/2014 11:54 AM, Aseem Bansal wrote:
 
 
 
  I am working on a hobby project - a Bookmarker 
  https://github.com/anshbansal/Bookmarker.
 
 
 
 Take a look at delicio.us -- it seems to be a similar type of experience.
 
 
 
 --
 
 ~Ethan~

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


Advice for choosing correct architecture/tech for a hobby project

2014-05-22 Thread Aseem Bansal
I am working on a hobby project - a Bookmarker 
https://github.com/anshbansal/Bookmarker. 

Basically bookmarks like in webbrowser stored in a app. The twist is storage by 
categories. I have spent some time on choosing the correct tech for making this 
project but it seems it would be better to take some advice on this after I 
went through this discussion on django forums 
https://groups.google.com/forum/#!topic/django-users/rSqSftkl5mg.


I want to be able to add bookmarks to the app through browser. I want a 
front-end from which I am able to browse the bookmarks. The browsing front-end 
should have a search option(search for category) for filtering the bookmarks.

As per these requirements that I have framed so far I thought that a web 
framework would be a good choice and so I chose Django. The reason being the 
capability to add bookmarks through browser can be done easily through 
JavaScript. But I hit a snag today that webbrowser's won't allow client to open 
hyperlinks with file protocol. I have both offline and online bookmarks so that 
was a problem for me.

Now I am at my experience's ends. I have spent 15-20 days' spare time trying to 
decide the technology and now this snag. Can someone advice on this? Am I using 
correct technology?
-- 
https://mail.python.org/mailman/listinfo/python-list


Confusion about python versions

2013-10-27 Thread Aseem Bansal
Python 2.7.6 release candidate 1 and 3.3.3 release candidate 1 was released 
yesterday. Also Python 3.4.0 alpha 4 was released a week ago.

I thought as Python 3.4.0 alpha was released 3.3 branch was done. The 3.3.3 
release candidate fixes many bugs as per the changelog so would they be 
included in 3.4.0?

For how long do the older versions get supported in case of Python? Do bugfix 
releases for older versions keeps on happening even when new branch is 
released? Isn't that a lot of work to manage so many versions?

How do the Python versions work? For how long is Python 2 going to be supported?
-- 
https://mail.python.org/mailman/listinfo/python-list


Re: Beginner - GUI devlopment in Tkinter - Any IDE with drag and drop feature like Visual Studio?

2013-09-21 Thread Aseem Bansal
You need to install PySide for GUI development. You don't need Qt Creator. When 
you have PySide installed there is a Qt Designer in your python installation 
directory. You use that for drag and drop GUI development. Search google for 
PySide and you'll find tutorials for that.
-- 
https://mail.python.org/mailman/listinfo/python-list


What minimum should a person know before saying I know Python

2013-09-20 Thread Aseem Bansal
I started Python 4 months ago. Largely self-study with use of Python 
documentation, stackoverflow and google. I was thinking what is the minimum 
that I must know before I can say that I know Python?

I come from a C background which is comparatively smaller. But as Python is 
comparatively much larger what minimum should I know?

Just a general question not for a specific purpose. 
-- 
https://mail.python.org/mailman/listinfo/python-list


Re: What minimum should a person know before saying I know Python

2013-09-20 Thread Aseem Bansal
By C being smaller than Python I did not mean the scope of C is lesser than 
Python. I simply meant that the standard libraries are less in number compared 
to Python.

By knowing Python I didn't imply an expert-level understanding. Minimum that so 
someone cannot say Hey, you said you knew Python but you don't know 
anything.. Something on these lines. You can say for cracking interviews 
and/or as a junior programmar and/or as a fresher getting into industry.

I like to have test cases for my functions/scripts but that wasn't what I had 
in my mind.

Also I am learning Python because it is faster to make things with it. Not 
because it is going to get me any marks or anything.

@Tim Chase
That list helped. I was looking for something like that. Questions which I can 
try to answer and see where I stand.

I hope that cleared some confusion about what I wanted to ask. I wanted to 
gauge myself to find if I am progressing or not.
-- 
https://mail.python.org/mailman/listinfo/python-list


Re: What minimum should a person know before saying I know Python

2013-09-20 Thread Aseem Bansal
On Friday, September 20, 2013 10:04:32 PM UTC+5:30, Chris Angelico wrote:
 On Sat, Sep 21, 2013 at 2:28 AM, Aseem Bansal asmbans...@gmail.com wrote:
  I hope that cleared some confusion about what I wanted to ask. I wanted to 
  gauge myself to find if I am progressing or not.
 
 Well, based on my definition, that's easy to answer. Have you solved
 problems using Python? If you have a bunch of HTML pages and you need
 to get some info out of all of them by COB today, do you think I can
 do that with Python, or do you think I can do that with sed, awk,
 grep, and five levels of pipe? The tools you use for an urgent job
 will be the ones you know.
 
 ChrisA

Yeah I have. I needed to get stats from the front page of a website. I wrote a 
script for that. I plotted the stats using matplotlib. I collected data 
manually and missed running the script one day so I took care of that problem 
using Python. Wrote a script that checked for internet connectivity and then 
ran the scripts that downloaded the stuff I needed and then placed this script 
in the Windows startup folder. 

That was a nice feeling. Because I can just customize that startup script if I 
ever wanted to change my computer's startup behaviour.

But that was pure luck that I had done the random example that you had chosen. 
It would be difficult to find my overall progress by the one thing.

I am currently unemployed so the sense of urgency isn't there normally. That's 
why I asked this question. But I got your point.
-- 
https://mail.python.org/mailman/listinfo/python-list


Re: What minimum should a person know before saying I know Python

2013-09-20 Thread Aseem Bansal
I understand that being able to solve problems and knowing when to use 
something is the final measure of knowing something properly. 

But I wanted to find something quantitative that I can use to measure myself. 
Like the interview questions that Tim Chase posted.

Measuring myself based on the problems that I can think of is like a small 
child saying I know that 1 + 1 = 2. So I know maths. That may be the toughest 
problem that he can think of. That isn't a correct evaluation of his math 
abilities. Similarly measuring myself on the basis of the problems that I can 
think of and solve doesn't actually measure anything.

I don't want to be living in a fool's paradise based on solving the problems I 
can solve. It is not being able to solve a problem that will make me realize my 
limits.

That's why I asked this question... I am kind of asking for advice.
-- 
https://mail.python.org/mailman/listinfo/python-list


Re: building an online judge to evaluate Python programs

2013-09-20 Thread Aseem Bansal
However, it can only be used with programs that produce an output

Just interested, what else are you thinking of checking?
-- 
https://mail.python.org/mailman/listinfo/python-list


A question about semantics from the standard library's documentation

2013-09-19 Thread Aseem Bansal
In Python 3.3.2 documentation on the Python Standard library's introduction 
these sentences are given

For these types, the Python language core defines the form of literals and 
places some constraints on their semantics, but does not fully define the 
semantics. (On the other hand, the language core does define syntactic 
properties like the spelling and priorities of operators.)

That got me confused. What is defined by the language and what is not? 
Can someone give me an example about what this means?
-- 
https://mail.python.org/mailman/listinfo/python-list


Is this a bug in Python 3.3?

2013-09-17 Thread Aseem Bansal
While using IDLE I used the license() function to see the license information. 
In it there was a list of all the versions and from which version they are 
derived is written.

The list goes upto 3.3.1 but doesn't include 3.3.2. Is that a minor bug or is 
the current version not mentioned in that list?
-- 
https://mail.python.org/mailman/listinfo/python-list


Re: PEPs should be included with the documentation download

2013-08-22 Thread Aseem Bansal
I do depend on offline documentation. I have both Python2 and 3's documentation 
offline. A lot of people have 24-hour access to internet but a lot of people 
don't have. And while moving around it isn't always possible to have internet 
then offline documentation is really helpful.
-- 
http://mail.python.org/mailman/listinfo/python-list


Re: PEPs should be included with the documentation download

2013-08-22 Thread Aseem Bansal
On Wednesday, August 21, 2013 11:25:44 PM UTC+5:30, rand...@fastmail.us wrote:
 I think, though, that if there's any useful information that can be
 obtained by reading accepted PEPs but not the documentation, or if
 things are explained less clearly than in the PEPs, that's a bug in the
 documentation, and should be remedied by adding to the documentation.

PEP8 is referenced a lot but only a very small portion is included in the 
documentation (in the tutorial). I am a Python newbie and there may be other 
PEPs usually referenced which I might not be aware about. 

Maybe add selected PEPs to the documentation? I agree that adding rejected PEPs 
is no good but there may be PEPs worthy of addition to the documentation.
-- 
http://mail.python.org/mailman/listinfo/python-list


Re: Where to suggest improvements in the official Python documentation?

2013-08-20 Thread Aseem Bansal
@Joel Goldstick
 Joel Goldstick
 
 http://joelgoldstick.com

My specific question was that the Python documentation's tutorial isn't clear 
when it comes to lambda forms. I just wanted something to be done so it becomes 
clear for future readers who are not familiar with functional paradigm. I 
wanted to make a suggestion about adding a link to functional programming to 
add some clarity.
-- 
http://mail.python.org/mailman/listinfo/python-list


Found a grammar error in PEP 5. How to suggest correction?

2013-08-20 Thread Aseem Bansal
In PEP 5 it is 

4. Add an an optional warning mode to the parser that will inform

There are 2 `an`s here. How to suggest a correction for this?
-- 
http://mail.python.org/mailman/listinfo/python-list


Re: Found a grammar error in PEP 5. How to suggest correction?

2013-08-20 Thread Aseem Bansal
@Joel Goldstick

That is the documentation and this is about the PEP. I didn't realize that the 
same works for both. I'll do that.
-- 
http://mail.python.org/mailman/listinfo/python-list


Re: Found a grammar error in PEP 5. How to suggest correction?

2013-08-20 Thread Aseem Bansal
@ Terry Jan Reedy, @Joel Goldstick

The problem with that documentation link is that it says the bugs in that 
documentation should be mailed at that e-mail address. But the PEPs are not the 
part of the documentation. I am saying that PEPs are not its part because when 
I downloaded the documentation it did not contain the PEPs.

So the information in the documentation is misleading because it doesn't 
include the PEPs in the downloaded version but the e-mail address is used to 
accept PEP bugs according to you people.

peps at python dot org 
is the e-mail suggested in PEP1 for contacting the PEP editors. I e-mailed 
there and got a reply.
-- 
http://mail.python.org/mailman/listinfo/python-list


PEPs should be included with the documentation download

2013-08-20 Thread Aseem Bansal
Currently the documentation download includes a lot of things but PEPs are not 
its part. I wanted to suggest that PEPs should be included in the download. 
They are very much relevant to Python.
-- 
http://mail.python.org/mailman/listinfo/python-list


Re: Where to suggest improvements in the official Python documentation?

2013-08-04 Thread Aseem Bansal
@ Terry Jan Reedy

If there is an issue in place for improving the lambda forms then that's good. 
I wanted a link about functional programming because it is mentioned as if it 
were a household word.
-- 
http://mail.python.org/mailman/listinfo/python-list


Where to suggest improvements in the official Python documentation?

2013-08-03 Thread Aseem Bansal
I have a suggestion about the Python tutorial for improvement. Specifically 
about in Python tutorial 4.7.5 lambda forms.
http://docs.python.org/3/tutorial/controlflow.html#lambda-forms

It is not very clear from the tutorial what lambda forms are for someone who 
doesn't know functional programming. I think placing a link of functional 
Programming HOWTO of Python documentation can take out much confusion for 
Python newbies.

I would like to suggest this because as I newbiw I had much confusion 2 months 
back before I could figure out its proper use. Where do I suggest this 
improvement?
-- 
http://mail.python.org/mailman/listinfo/python-list


Can someone suggest better resources for learning sqlite3? I wanted to use the Python library but I don't know sql.

2013-08-03 Thread Aseem Bansal
I was writing a Python script for getting the user stats of a 
website(Specifically codereview.stackexchange). I wanted to store the stats in 
a database. I found Python3's sqlite3 library. I found that I needed sql 
commands for using it.

I have tried sql.learncodethehardway but it isn't complete yet. I tired looking 
on stackoverflow's  sql tag also but nothing much there. Can someone suggest me 
better resources for learning sql/sqlite3? 
-- 
http://mail.python.org/mailman/listinfo/python-list


Re: Beginner - GUI devlopment in Tkinter - Any IDE with drag and drop feature like Visual Studio?

2013-07-22 Thread Aseem Bansal
@Chris “Kwpolska” Warrick

Yeah, as I mentioned I was able to use it to create .py files and the GUI ran. 
But when I made the .exe from the .py using cxfreeze it created exe but the GUI 
did not run.
-- 
http://mail.python.org/mailman/listinfo/python-list


Re: Beginner - GUI devlopment in Tkinter - Any IDE with drag and drop feature like Visual Studio?

2013-07-20 Thread Aseem Bansal
After considering all the options suggested here I decided to use 
PySide/QtCreator as was suggested by Dave Cook. I created a simple GUI with 
QtCreator and found a way to convert .ui files to .py files. So far so good.

But now I am having some confusion about the correct tools to use for PySide 
and I am stuck due to that. I explored the PySide wiki and discussed the 
confusion on Qt-forums but that didn't help much. The url of that discussion is 
given below(without backslashes to avoid it being shortened). Just using this 
on google you can easily find the discussion.

qt-project.org  forums   viewthread  30114

Do I need to use QtCreator with PySide if I want drag-and-drop feature for GUI 
development? Do I need to install Qt? If yes, which version - 4.8 or 5.1? 

Can I use cxfreeze to make exe files from the GUI developed? I used it for pure 
Python files and it worked. The size of the file was big but it worked with me 
having to install Python on another computer. I tried to use cxfreeze on the 
GUI Python script that I was finally able to make. Some exe was made but no GUI 
started when I ran the exe. Is that a problem with cxfreeze or me having wrong 
tools installed?

Any help is appreciated.

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


Re: What does it take to implement a chat system in Python (Not asking for code just advice before I start my little project)

2013-07-18 Thread Aseem Bansal
@vikash agrawal

About GUI I discussed it at 
https://groups.google.com/forum/#!starred/comp.lang.python/M-Dy2pyWRfM and I am 
thinking about using PySide 1.2 for clients of chat system. I think I'll need 
downloadable clients if I want to make something like google talk. Then I'll 
need to implement server side programming also. I think google app engine would 
be suitable for this as it is going to be always online.

In the above scenario I wanted to know whether the database can be stored on 
google app engine itself? Is it possible? Having a chat system with server 
online and DB offline isn't going to be good. Should I consider heroku for this 
or can it be done using google app engine? Is it viable to have the DB on 
google appengine itself?

About using web frameworks, in the above scenario when there isn't an online 
website for chat would I need web frameworks? I am confused about this. Can 
server side programming be done in Python or by using a web framework only?
-- 
http://mail.python.org/mailman/listinfo/python-list


Re: What does it take to implement a chat system in Python (Not asking for code just advice before I start my little project)

2013-07-18 Thread Aseem Bansal
@Chris Angelico

Thanks. That cleared many doubts and your suggestions would definitely be 
useful. 

I am asking the next paragraph because you said about Python 3 helping with 
things. I am not looking for a debate or anything just a opinion. 

I learnt Python myself and everyone told me that Python 2 is status quo so I 
learned Python 2 and have been working with it. I am just 1.5 months in Python 
programming so should I consider switching to Python 3 if it helps with new 
things or should I stick with Python 2 to get a taste of what is currently out 
there?

About Pike, thanks for the heads up. But for now I'll use Python. I wanted to 
learn Python through this project. I'll leave Pike for later. Maybe Phase 1.5.

Aren't you guys posting in google groups? I thought you were because I can see 
your posts here. How do I post in python mailing list and see its archives 
instead of posting on google groups?
-- 
http://mail.python.org/mailman/listinfo/python-list


Re: What does it take to implement a chat system in Python (Not asking for code just advice before I start my little project)

2013-07-18 Thread Aseem Bansal
@Andrew Berg
@Chris Angelico

Is there a way to have both Python 2 and 3 installed on my computer till I can 
update the little codebase that I have built? Can I make different commands for 
invoking python 2 and Python 3? I am using Windows 7 and use Windows Powershell 
as an alternative to the linux terminal. Any suggestions about how to do that 
instead of breaking all my code at once?
-- 
http://mail.python.org/mailman/listinfo/python-list


Re: What does it take to implement a chat system in Python (Not asking for code just advice before I start my little project)

2013-07-18 Thread Aseem Bansal
@ChrisA

Thanks. That's great. That solved the whole thing easily. I'll install Python 3 
and start updating today.

About reading comp.lang.python can you suggest how to read it and reply? I have 
never read a newsgroup leave alone participated in one. I am used to forums 
like stackoverflow. Any way to read it and reply by one interface? If not, give 
any suggestion. I'll use that.
-- 
http://mail.python.org/mailman/listinfo/python-list


Re: What does it take to implement a chat system in Python (Not asking for code just advice before I start my little project)

2013-07-18 Thread Aseem Bansal
@ChrisA

I subscribed to it. How do I reply to a message that has already been posted 
before my subscription?
-- 
http://mail.python.org/mailman/listinfo/python-list


Re: What does it take to implement a chat system in Python (Not asking for code just advice before I start my little project)

2013-07-18 Thread Aseem Bansal
I tried replying to your message by mail. I used the reply button and send it 
to python-list@python.org? Or do I need to use pytho...@python.org as you 
wrote in your post?
-- 
http://mail.python.org/mailman/listinfo/python-list


Re: What does it take to implement a chat system in Python (Not asking for code just advice before I start my little project)

2013-07-18 Thread aseem bansal

Ok I'll mail by e-mail now. Hope that it reaches the place correctly.-- 
http://mail.python.org/mailman/listinfo/python-list


What does it take to implement a chat system in Python (Not asking for code just advice before I start my little project)

2013-07-17 Thread Aseem Bansal
I wanted to do a little project for learning Python. I thought a chat system 
will be good as it isn't something that I have ever done. 

I wanted to know what will I need? I think that would require me these
1 learn network/socket programming
2 find a free server to host my chat server
3 GUI development for clients

-I wanted to know whether these are all that I would need or are there more 
things? 
-Will I need to learn a web framework like Django? 
-Will I need to learn something for database management like sql for handling 
people's account names and password? 

Is google appengine good for hosting the website or should I look up at django 
hosting websites?

Any other advice for me(a novice programmer)?
-- 
http://mail.python.org/mailman/listinfo/python-list


Re: Homework help requested (not what you think!)

2013-07-17 Thread Aseem Bansal
On Wednesday, July 17, 2013 4:13:45 AM UTC+5:30, John Ladasky wrote:
 Hi folks,
 
 
 
 No, I'm not asking for YOU to help ME with a Python homework assignment!
 
 
 
 Previously, I mentioned that I was starting to teach my son Python.  
 
 
 
 https://groups.google.com/d/msg/comp.lang.python/I7spp6iC3tw/8lxUXfrL-9gJ
 
 
 
 He just took a course at his high school called Web Technology and Design.  
 They had the students use tools like Dream Weaver, but they also hand-coded 
 some HTML and JavaScript.  He has a little experience.  I am building on it.
 
 
 
 Well, a few other parents caught wind of what I was doing with my son, and 
 they asked me whether I could tutor their kids, too.  I accepted the jobs 
 (for pay, actually).  
 
 
 
 The kids all claim to be interested.  They all want to write the next great 
 3D video game.  Thus, I'm a little surprised that the kids don't actually try 
 to sit down and code without me prompting them.  I think that they're 
 disappointed when I show them how much they have to understand just to write 
 a program that plays Tic Tac Toe.
 
 
 
 Where programming is concerned, I'm an autodidact.  I started programming 
 when I was twelve, with little more guidance than the Applesoft Basic manual 
 and the occasional issue of Byte Magazine.  I hacked away.  Over the years, I 
 have acquired a working knowledge of BASIC, 6502 assembly language, Pascal, 
 C, and finally Python (my favorite).  If I knew how to impart a love of 
 experimentation to my students, I would do that.
 
 
 
 One kid looks like he's ready to forge ahead.  In the mean time, one parent 
 has recognized his son's lack of independence, and has asked me to assign 
 programming homework.  I hope it doesn't kill the kid's enthusiasm, but I'm 
 willing to try it.
 
 
 
 So, what I am seeking are suggestions for programming assignments that I can 
 give to brand-new students of Python.  Please keep in mind that none of them 
 are even up to the task of a simple algorithm like Bubble Sort -- at least, 
 not yet.
 
 
 
 Many thanks!

You can use PySide/QtCreator for getting a skeleton UI as easily as in case of 
Visual Studio. Converting it into .py files is also quite easy. Experiment a 
little for yourself in the beginning and you'll be able to make a simple 
Tic-Tac-Toe easily.

You can then decide how complex that becomes. Remember that computer's 
behaviour just might be the most complex thing in this whole thing. You can 
then take that out, explain the students that the game will work if you can 
make a function for this, explain the logic and that can be a really nice 
homework assignment.

I think that would be much better than just jumping off to a game engine 
sidetracking Python completely.

If you want to introduce them to programming in general in a fun way 
http://scratch.mit.edu/ might be much easier for making simple 2D games. It 
isn't Python but it is even better introduction to programming than Python(I am 
saying this even when I use Python everyday and I like it). Scratch isn't for 
long term but initially this could be their dose of excitement and introduction 
to the basics of programming. That would give you time to make simple games in 
PySide for taking them to Python gradually without killing their excitement.
-- 
http://mail.python.org/mailman/listinfo/python-list


Re: What does it take to implement a chat system in Python (Not asking for code just advice before I start my little project)

2013-07-17 Thread Aseem Bansal
@Eric S. Johansson

I am a novice who hasn't done any big project in programming. I haven't done 
anything I can even call a moderate project. I haven't touched web frameworks 
ever. I have little or no knowledge of network/socket programming. I have never 
used databases before.

I understand that there are a lot of chat systems out there but I haven't done 
anything like that before. This is for learning purposes.

Reading someone else's code is good but doing it yourself is better.

Thanks for the suggestion but for now I'll stick to this idea. I am excited 
about this and I would need that for a hobby project.
-- 
http://mail.python.org/mailman/listinfo/python-list


Re: Beginner - GUI devlopment in Tkinter - Any IDE with drag and drop feature like Visual Studio?

2013-07-15 Thread Aseem Bansal
@CM
Thanks for the suggestion. I'll take a look.
-- 
http://mail.python.org/mailman/listinfo/python-list


Re: Beginner - GUI devlopment in Tkinter - Any IDE with drag and drop feature like Visual Studio?

2013-07-09 Thread Aseem Bansal
Thanks @Dave Cook.

I'll try wxPython.
-- 
http://mail.python.org/mailman/listinfo/python-list


Beginner - GUI devlopment in Tkinter - Any IDE with drag and drop feature like Visual Studio?

2013-07-04 Thread Aseem Bansal
I want to start GUI development using Tkinter in Python 2.7.5.

I have been searching all over google but couldn't find any IDE that has 
drag-and-drop feature for Python GUI development. Tried to ask on stackoverflow 

(http://stackoverflow.com/questions/17439620/an-ide-with-drag-and-drop-feature-for-python-2-7-tkinter)

but couldn't get an answer there. So is there any IDE that can be used for GUI 
developemnt and has drag-and-drop feature for Python GUI dev?

I came across somewhere that eclipse's pydev plugin can be used but couldn't 
find anything on its website.

Any advice about this?
-- 
http://mail.python.org/mailman/listinfo/python-list