1,730 Posted Topics
Hello, is there any other site that is dedicated on python exercises from standard Library to external? I plan to start doing exercise to measure my muscles in python and enrich my understanding! I have seen here some exercises which I'll do them (on stickies) Thanks all Steve | |
Hi all, I need to install apps in my USB Mandriva 2010. In office I have to install Elite Core's SSCyberoam client which is Windows vista exe. I cannot access net without it so I need wine to install it. All versions of wine at official download fails and also … | |
Re: Can you summarize the whole bunch of words? I mean what you specifically want? | |
Hi all, I want to do simple query to do the Join Here is illustartion of my query which gives error [CODE=SQL]"SELECT * FROM table1, INNER JOIN table2 ON table1.colx = table2.colx LIMIT 30"[/CODE] What goes wrong here? | |
Re: neat huh ;) [CODE=php]<?php require('includes/application_top.php'); require('includes/classes/crypto.php'); include('includes/classes/class.formvalidation.php'); include('includes/classes/class.phpmailer.php'); if (!$allow_signup) { header('location: login.php?signup=yes'); exit; } if (isset($_POST['submit'])) { $my_form = new validator; $mail = new PHPMailer(); if($my_form->checkEmail($_POST['email'])) { // check for good mail if ($my_form->validate_fields('firstname,lastname,email,username,password')) { // comma delimited list of the required form fields if ($_POST['password'] == $_POST['password2']) { … | |
Hi all, I have a question here :) Suppose I have a library in source code form (Let say [URL="http://tangentsoft.net/mysql++/"]mysql++[/URL]) and I have built it, and now I have the files (.h, .lib, .dll). How do I combine them in project? I use [URL="http://www.codeblocks.org"]code blocks[/URL] Why I ask? Because [URL="http://www.python.org"]Python[/URL] … | |
Re: You said you started coding PHP yesterday and today you want to make a dynamic Website? If I get you well, you should spend little more time familiarizing with PHP/MySQL before jumping to such project (Or you know already of two beasts?) Welcome to PHP anyway ;) | |
Re: Have you heard of SimpleXML with PHP 5? Check it, and I'm sure you are going to enjoy it! [url]http://php.net/manual/en/book.simplexml.php[/url] [url]http://devzone.zend.com/article/651[/url] | |
I have tried to do some Major C++ project with big failure as result. This produced great heart ache that made me recoil from doing further C++ projects. Here is the partial list of my failure: simple encoder with lame_enc.dll, simple CD Ripper with akrip32.dll, simple database manager with wxSqlite3.....et … | |
Hi All, is there a trick in wxPython to skin application to look like this one? What are pros and cons if any? Take a look [URL="http://www.fileguru.com/images/b/audio_recording_studio_multimedia_sound_tools-5778.gif"]Here[/URL] Cheers :) | |
Re: Try this and hack it! [CODE=python] j = 0 for i in range(2, 9): j = pow(i, 2)+j print "The Final result is %d" %(j, ) [/CODE] BTW this is Python 2.x | |
Re: [QUOTE=phpangel;1022226]first of all, thank u all for the support, let me make life easy 4 u guyz, i'm [B]beginner[/B] in PHP, and what i want from PHP now is: to design a Web driven Database website and possibly with CMS, without having to use ready made open source CMS's. thnax … | |
Re: [QUOTE=mrjoli021;1049321]Why doesnt this code work. I keep getting false even when i type in the correct username and password [/QUOTE] Try this (I didn't test it) [code] $user_name = mysql_query("SELECT * FROM users WHERE username = {'$Entered_UserName'} AND password = '{md5($Entered_PassWord)}' "); $user_name_password = mysql_fetch_assoc($user_name); if($user_name_password) { echo True'; } … | |
Re: [QUOTE=persianprez;1049486]How do I center my text in python? I have a title and a description, and wan't to center it all in my output.[/QUOTE] GUI or Console? If GUI which one? In wxPython, wx.ALIGN_CENTER would do the Job | |
Re: [CODE=php] $res = mysql_query("SELECT firstname, lastname FROM mytable"); while($row = mysql_fetch_assoc($res)){ echo "My First Name: ".{$row['firstname']}; echo "My Last Name: ".{$row['lastname']}; } [/CODE] modify it and test and see :) | |
Re: Here is a tip: Before the for Loop >> readlines Then loop into all lines using for loop >> replace each occurrence of dot with space (or whatever you like) >> write it to the new file Here is completely untested code (I have no Python installed) [CODE=python] file1 = … | |
Re: I don't recommend XAMPP, though it is good once you get used to it! I recommend WAMP, it is elegant and Good. Also check your PHPMyAdmin to browse your databases | |
![]() | Re: [QUOTE=sadiebee;1049300]Hello folks! Is it possible to create directories on my web server based on new database entries?[/QUOTE] Sure, very possible! [QUOTE=sadiebee;1049300]Hello folks!I am implementing a photo gallery and want to have it such that, when a user ADDS a new Gallery, a (sub)directory is created with the name that the … |
Re: [CODE=javascript]alert("Field XYZ is empty, please Fill it out!");[/CODE] You, just make a JavaScript function to handle validation and only allow to submit when things are ok. That will do relieve a server also | |
Re: Since any echo before redirect will cause error, then I think there is some sort of buffering and then redirect while using timer Mhh! Completely theory that I don't know its validity ;) | |
Hi all, I have downloaded Mandriva One 2010. I have Windows Vista and one 80GB external HDD. I want to install Mandriva in that USB drive (On 40GB partition specifically) and walk with it anywhere. Unetbooting only supports up to Mandriva 2008. Is there a software to do So? Thanks! | |
Hi all, I have downloaded Mandriva One 2010. I have Windows Vista and one 80GB external HDD. I want to install Mandriva in that USB drive (On 40GB partition specifically) and walk with it anywhere. Unetbooting only supports up to Mandriva 2008. Is there a software to do So? Thanks! | |
Re: I've downloaded ISO, googling to see how I can make it "USB resident" Operating System so that I can walk and boot anywhere, just like when it is installed in machine | |
[QUOTE]Win32++ is a small C++ library used to build windows applications. It has been designed to be easy to use, and simple to understand. It is an ideal starting point for anyone learning to program for windows using C++. Win32++ also has the added advantage of running on a wide … | |
| |
I need to make <div> </div> to have rounded corner. I wonder what other technique than putting rounded image at corner can be used to make them round. Is it Javascript or what? CSS? Look at this site with rounded corners [url]http://www.mtibwasugar.com/pages/index.php[/url] I don't want to use CMS like joomla … | |
Re: [QUOTE=venkat0904;1041433]yeah gud point... bt network18 i believe instead of "value" it should be "values" in the query...[/QUOTE] Are you sure you don need [URL="http://devzone.zend.com/article/627"]this[/URL] dose? | |
I have read several tutorials and 'philosophical' views aon writting PHP codes by either implementing templates or making your own templates. So me says template engines are like learning new language, som e say are good. Good controversy! What do you suggest guys, I mean pros and cons of each … | |
Re: Python is easy to write, but I find setting it up for even local development is a headache! If it is such a headache to Just setup it, how can I practice?? For this one, I suggest PHP. PHP isn't difficult either though it is C++ish | |
I'm curious if anyone is using this Studio and how does it match FL studio. I ahve not used it but wan't to know how is it doing ;) It is -->[URL="http://lmms.sourceforge.net/"]Here[/URL] | |
Re: [url]http://people.csail.mit.edu/hubert/pyaudio/[/url] | |
Re: I suggest create a link with random number and user id and send it via user's email. All user need to do is just type in email and link with those details will be sent via that password (which must match database's email). After clicking a link, then user will … | |
Re: [QUOTE=shadwickman;671015] I myself only got into Python about a year ago, after deciding to give up on Java and C++; luckily I found that Python is fast, easy, and most importantly, fun. [/QUOTE] This one interested me! Why did you do that? | |
Hi all, after thinking for sometimes, I thought it will be grat opportunity to learn if I will start from scratch and build my own register/login system. Here is the thread that I will be posting the progress and I hope you guys will help me. The code below is … | |
Hi all, this is just curious question on C++ and winapi. I have heard that win32api is written in C and at the same time I have heard people saying that "light weight" applications can be written using API. This boggles my mind on how C++ works with C-based API. … | |
Hello all, I have basics for JavaScript (syntax, controls, loops, object etc) and also basics of XML. What else should I know to learn AJAX? What does Ajax 'animal' look like? Thanks guys | |
Hi all, I'm just starting Java and have read some tutorials and reading also thinking in Java and I see it is a good language. I have a question though, what are MINIMUM requirement of ANY Java program for it to run? | |
Re: Also there is function called die() that will save you alot of coding.You have: [CODE=php]# $dbcnx = @mysql_connect('localhost', 'root', 'password'); # if (!$dbcnx) { # exit('<p>Unable to connect to the database server at this time.</p>'); # }[/CODE] but you can do this: [CODE=php] $dbcnx = @mysql_connect('localhost', 'root', 'password') or die('<p>Unable … | |
Re: Start with W3School's HTML tutorial, then some server side scripting of your choice (PHP, ASP etc) and some JavaScript :) | |
Re: I think C++ wont be replaced by Python. Why? Because even the Author of Python didn't intend it as replacement but rather a complement. So Python Complements C/C++ instead of rivaling it. Ou can event emebed the Python interpreter and make use of both C/C++ and Python. As to why … | |
Re: try using link at the top toolbar of your editor. Very helpful to post links. As buddy said, Matplotlib+wxPython will give you total control. If you do simple plotting, then wxPython have tool for that. Anyway what do yo want to do with grades? May be python-mysql+wxPython+Matplotlib is all you … | |
Re: For 2D look at SDL engine. I don't have done Game programming, but M$ have their gaming engine. I think it is something to do with VS IDE | |
Hi all, can anyone point me to an offline MINGW installer? I want to fiddle with Eclipse CDT to see how it is doing compared to CodeBlocks. Also offline question: Does Aptana support C++ programming? It is based on eclipse and is found here [url]www.aptana.com[/url] Ahsante sana [Thanks a lot] | |
Re: Check this you tube It have good teaching on integrating PHPBB and your site. I hope it will give you an idea to start with :) [url]http://www.youtube.com/user/phpacademy[/url] | |
I didn't write it, but I found it in zend's web. I would like some guys who are acquainted with Ajax to comment on it: [URL="http://devzone.zend.com/article/1581-Ajax-Chat-Tutorial"]here we Go[/URL] :) | |
Re: I think you have to fiddle with the FCKEditor itself to meet your behaviour. Sorry, but I have no idea how :( | |
Re: I don't know but If you can mess with tasklist and subprocess module (for XP/VISTA). This is purely untested as I'm not sure if tasklist returns anything! | |
Re: Be careful with recent vista update! I had to use system restore three times, after this update. Instantly after installing the update and reboot, could not connect to internet though ethernet nor dial up. So I rolled back using system restore and shut off the updates until later |
The End.