Greetings!
Well, I have done all the tutorials, getting a idea of how this works...
It reminds me a great deal of the old QBasic language I used to know, but much more robust and capable.
But, I don't know what to do now...
How do I tie in the coding abilities with software creation?
I feel like a bricklayer, who has all the tools and materials, but no jobsite...
What do I DO with all this stuff? :cool:
Ok... So now what?
Started by
Guest_TwoToedTurkey_*
, Jul 04 2007 10:15 PM
5 replies to this topic
#1
Guest_TwoToedTurkey_*
Posted 04 July 2007 - 10:15 PM
Guest_TwoToedTurkey_*
|
|
|
#2
Posted 04 July 2007 - 11:11 PM
Have you read all tutorials, already?
That's pretty fast. When reading tutorials - you shall not just read them. While you're reading a tutorial, you need to try the things you learn about off. If you're reading about arithmetics, then try making some small script, that uses what you just learned.
If you want to move further, there's a lot of things to do. It depends on what you want to do, do you want to make small "throw-away"-scripts for small tasks, GUI-applications, webprogramming, playing around with other libraries just for fun, or what do you want to?
Here are some suggestions for what you can do:
- Look into Tkinter, for making GUI-applications.
- Learn how to use regular expressions - with Python.
- Mixing Python with other languages (such as C, with C API)
- Take a deep look into the OOP-system Python have.
- Building a new module for use.
- Make a small database using simple files.
- Download a new module, such as PyGame, and make a game (2D/3D)
- Find some library that fits your needs, and learn how to use it (Google will help you)
As you see there's much to do with Python. There's so many possibilities, and most of what I just showed is pretty easy and straightforward to do.
Good luck!
That's pretty fast. When reading tutorials - you shall not just read them. While you're reading a tutorial, you need to try the things you learn about off. If you're reading about arithmetics, then try making some small script, that uses what you just learned.
If you want to move further, there's a lot of things to do. It depends on what you want to do, do you want to make small "throw-away"-scripts for small tasks, GUI-applications, webprogramming, playing around with other libraries just for fun, or what do you want to?
Here are some suggestions for what you can do:
- Look into Tkinter, for making GUI-applications.
- Learn how to use regular expressions - with Python.
- Mixing Python with other languages (such as C, with C API)
- Take a deep look into the OOP-system Python have.
- Building a new module for use.
- Make a small database using simple files.
- Download a new module, such as PyGame, and make a game (2D/3D)
- Find some library that fits your needs, and learn how to use it (Google will help you)
As you see there's much to do with Python. There's so many possibilities, and most of what I just showed is pretty easy and straightforward to do.
Good luck!
#3
Posted 05 July 2007 - 06:35 AM
If I were you I would make a small application. Nothing big but something you want and could use. That will give you the experience to make larger ones.
#4
Posted 12 July 2007 - 08:28 AM
For what it's worth, I use Python to help make my online games website.
Other websites give away their games for people to put on their sites - they usually come with a file of instructions telling you the title of the game, what size it is, etc.
But each website has this file in a different format, so I have a Python script that uses lots of regular expressions to pull out the information from these files and put it into the format I use.
I also have a python script to sort the games on my site into categories, and by filesize and the date that they were added to the site. It then writes PHP files out with the results of these sorts, so that the PHP page can just include a file with the sorting done, without having to sort them itself.
Hope that gives you some idea of what python can do.
Other websites give away their games for people to put on their sites - they usually come with a file of instructions telling you the title of the game, what size it is, etc.
But each website has this file in a different format, so I have a Python script that uses lots of regular expressions to pull out the information from these files and put it into the format I use.
I also have a python script to sort the games on my site into categories, and by filesize and the date that they were added to the site. It then writes PHP files out with the results of these sorts, so that the PHP page can just include a file with the sorting done, without having to sort them itself.
Hope that gives you some idea of what python can do.
#5
Posted 12 July 2007 - 08:59 AM
Are you manually starting the script, every time you want to sort the files, and do you do it offline or online? And do you use some kind of framework or module for it?
I once made an entire site, using Python (and of course XHTML/CSS), and that really sucked, because I did it in pure Python. And Python is not a language for web development, so it doesn't have facilities like cookies, sessions, and so on. I know mod_python, and that should be really good for it.
So if you really want to do web development with Python, I would suggest mod_python, or some other module or framework, instead of pure Python CGI scripting.
I once made an entire site, using Python (and of course XHTML/CSS), and that really sucked, because I did it in pure Python. And Python is not a language for web development, so it doesn't have facilities like cookies, sessions, and so on. I know mod_python, and that should be really good for it.
So if you really want to do web development with Python, I would suggest mod_python, or some other module or framework, instead of pure Python CGI scripting.
#6
Posted 14 July 2007 - 06:19 AM
I'm manually running the scripts offline - no frameworks for anything, just Python.
It's not a very fancy way of doing things, but I only need to run the scripts when adding new games to the website, as the sorts are all on static features of the games (filesize, date added and alphabetically on the name). I was going to have a dynamic sort - on how popular the game is - but I wasn't planning on using python for this. I'm going to use a PHP script run every day via a cron job.
I'm basically using Python as an extension of what I could do manually for adding games to the site - so instead of having to go through 50 games and put them into my format, I just have to write one Pyhon script to do them all.
It's not a very fancy way of doing things, but I only need to run the scripts when adding new games to the website, as the sorts are all on static features of the games (filesize, date added and alphabetically on the name). I was going to have a dynamic sort - on how popular the game is - but I wasn't planning on using python for this. I'm going to use a PHP script run every day via a cron job.
I'm basically using Python as an extension of what I could do manually for adding games to the site - so instead of having to go through 50 games and put them into my format, I just have to write one Pyhon script to do them all.


Sign In
Create Account

Back to top










