So I am trying to self teach myself Python, and so far it is working great. However I have ran into a bump in the road and can't really figure out why this script isn't working... Any ideas? import os answer = raw_input('Ready for shutdown, continue?') if answer == raw_input('Yes'): os.system("shutdown -s -t 0") else (return) Thanks, Powerade661

Member Avatar
Member Avatar
+0 forum 3

I've opened this thread following rotten69's suggestion for "Java projects for beginners". To get things started I've posted a project in a format that makes sense to me; please feel free to follow that format, or to do it in some completely different style if that seems better. Let's see how that goes, and when things settle down I'll tidy it up and make it a sticky. J. =========================================================================================== This thread is for Java project suggestions. You have attended the lectures, read the books. watched the videos, but the only way to get good at Java is to write some …

Member Avatar
Member Avatar
+20 forum 66

Hi, I want to learn java as young but i use Arch linux since i was kid so how can i get the emulator or what required softwares.I have java 7 installed. Reply as soon as possible to noob guy. Thanks,uxama

Member Avatar
Member Avatar
+0 forum 2

Hi all I am currently learning Java (and Fortran!) on my own. I have written the following code but for some reason it does not work as it should import javax.swing.JOptionPane; class evenOdd { public static void main(String[] args) { String number, ans; int num; do { number = JOptionPane.showInputDialog(null, "Enter a number (int)", "Even or Odd?", JOptionPane.QUESTION_MESSAGE); num = Integer.parseInt(number); if (num%2 == 1) JOptionPane.showMessageDialog(null, "The number is Odd", "Even or Odd!", JOptionPane.INFORMATION_MESSAGE); else JOptionPane.showMessageDialog(null, "The number is even", "Even or Odd!", JOptionPane.INFORMATION_MESSAGE); ans = JOptionPane.showInputDialog(null, "Do you want to try again? (yes/no)", "Try Again?", JOptionPane.QUESTION_MESSAGE); } while (ans …

Member Avatar
Member Avatar
+0 forum 5

Hi, i recently begun learning java and encryption. I found some code from a website that is supposed to decrypt lastlogin files found in minecraft. When i try to compile it gives me these errors: C:\Users\CROCCY\Documents\NetBeansProjects\Lastlogin decryptor\src\lastlogin\decryptor\LastloginDecryptor.java:54: error: invalid method declaration; return type required public MineCraftLoginReader() { C:\Users\CROCCY\Documents\NetBeansProjects\Lastlogin decryptor\src\lastlogin\decryptor\LastloginDecryptor.java:87: error: illegal start of type return "name: "+dis.readUTF()+NEWLINE+"password: "+dis.readUTF(); C:\Users\CROCCY\Documents\NetBeansProjects\Lastlogin decryptor\src\lastlogin\decryptor\LastloginDecryptor.java:87: error: ';' expected return "name: "+dis.readUTF()+NEWLINE+"password: "+dis.readUTF(); C:\Users\CROCCY\Documents\NetBeansProjects\Lastlogin decryptor\src\lastlogin\decryptor\LastloginDecryptor.java:87: error: illegal start of type return "name: "+dis.readUTF()+NEWLINE+"password: "+dis.readUTF(); C:\Users\CROCCY\Documents\NetBeansProjects\Lastlogin decryptor\src\lastlogin\decryptor\LastloginDecryptor.java:87: error: ';' expected return "name: "+dis.readUTF()+NEWLINE+"password: "+dis.readUTF(); C:\Users\CROCCY\Documents\NetBeansProjects\Lastlogin decryptor\src\lastlogin\decryptor\LastloginDecryptor.java:87: error: invalid method declaration; return type required return "name: "+dis.readUTF()+NEWLINE+"password: "+dis.readUTF(); …

Member Avatar
Member Avatar
+0 forum 1

I am new to web development, now i want to learn javascript for web development and plugins development, please tell me good sites for learn javascript, "GOOD SITE MEANS REAL TIME EXAMPLES FOR EVERY LESSONS AND TUTORIALS"

Member Avatar
Member Avatar
+0 forum 1

i am just start to learnin python and i want to know some thing about it 1.is is used for web development 2.how can i run python program on my ubuntu os i have python installed on my system but not able to run i don't know how to run python file for checking output? 3.if it is used for web development also then how i can use it i also search about it but not getting proper answer so i came here hope some one give me right direction about it thank you

Member Avatar
Member Avatar
+0 forum 3

Hi! I want to learn programming. I'm 14 years old and very fond of computing. The only problem I face is *Which programming language should I learn?* or should I learn *Programming* i.e I learn the basics of programming so that I will be capable of learning any programming language. Also, when you recommend me one of the choice I stated above then please give me resources for learning e.g book names or some websites which will start me learning from scratch. Furthermore, I want to state that I want to create cool games, softwares or even Operating Systems from …

Member Avatar
Member Avatar
+0 forum 6

Here is my first program I'm working on. I have built a framework here showing the sort of output and user interaction I would like during runtime, but it feels grossly oversized and unintuitive. Here is the code: # This is an advanced guess the number game. import random # The very basis of this game. import math # Used for math.ceil import time # Used to split up long portions of text. def introDisplay(): # Displays the intro and defines the playerName Var. at the local scope, then returns it to the global scope. print('The Guessing Game! Now with …

Member Avatar
Member Avatar
+0 forum 4

Hey guys, I'm trying to learn how to use classes and work with seperate files, and I been reading about it and now I tryed making a little short "Hello World" thingy but I don't really understand the self. things, I thought I did but it's not working so I guess I diden't Heres the code anyways: HelloWorld.py class HelloWorld : def __init__(self): print("Hi") def Talk(self ,name): self.nameA = name print("Hello",self.nameA) Main.py import HelloWorld HelloWorld.HelloWorld.Talk("Kevin") I get the error: Traceback (most recent call last): File "D:\PygameSpel\Test med klasser\Main.py", line 3, in <module> HelloWorld.HelloWorld.Talk("Kevin") TypeError: Talk() takes exactly 2 arguments (1 …

Member Avatar
Member Avatar
+0 forum 6

How can I learn oracle easily? what are the softwares required for testing & running oracle code

Member Avatar
Member Avatar
+0 forum 4

#For only biegeners PLease #I hope this post was good when # when any help for biegeners

Member Avatar
Member Avatar
-1 forum 1

Is there a good portable environment I can use to put on a USB so I can learn wherever I go. So that I have a basic editor and environment to view results. I do plan to use it at work so as self contained as possible.

Member Avatar
Member Avatar
+0 forum 5

My story in point form: -I'm 33 and have the brain of an engineer/math/programming person, but my experiences and education are more business related. I have ambitions to build software. -Undergrad in business. -Worked corporate for 2 years as Business Analyst. -Went back to school, did a masters in operations research (math stuff). -Never pursued career in that, instead worked and eventually ran the family (small) business for 6 years. -In Nov 2011, I left the family business, and started a web development company called ET. -I started off thinking I'd outsource/hire developers and I'd do all the biz stuff, …

Member Avatar
Member Avatar
+0 forum 8

If you are a non coder that wants the easiest book to start with, something very simple, easy to read and short , that can take you step by step in learning the basics of python in a few hours then you may like the book I have created for Blender. It will teach you all the concepts you need to start coding in python from the first minute, leaving out assumptions of what you know, and information you dont really need. The book can be found here , though it was created for blender its generic enough to be …

Member Avatar
Member Avatar
+2 forum 2

Hello ppl, I am learning PHP. I already know some programming languages, so i didnt read whole book i had, but after i read part of the book, i understood that i get the information but can not use it, so my question is-Is there any videos or books, which will show, how to make a sample website with php,html,javascrpit and css.? that will really help me. Thanks of help :)

Member Avatar
Member Avatar
+0 forum 1

So I'm currently making program for my year 12 IPT assignment. It's a maths game for Year 4's and 5's. I need to carry a variable throughout the entire project (across forms) so I can easily specify what level the user is playing and how many questions they want to answer etc.. The only way I would ever know how to do this would be to put different captions on labels and then read off the labels and I really don't want to have to do that. There's probably an advanced way that I've never heard of, but becuase my …

Member Avatar
Member Avatar
+0 forum 4

Hi all, FIrst I have to say my experiences with C++ are very low. But since we're given an assignment to develop a simple game in C++ now I have to try it out. But I have the basic idea on OOP and programming. So friends where should I start. What area's of C++ should I discover. Any reference web sites or complete projects so I can study them. appriciate any kind of help and ideas. thank you in advance..!!!

Member Avatar
Member Avatar
+0 forum 3

Hi I am starting to learn Java. I am new to Java. Which book do you think is the best book to learn Java for Beginners?

Member Avatar
Member Avatar
+0 forum 8

Hello to evryone my name is Dany and I want to get involved as volunteer in web project that is based on php mysql xhtml html css or any other web thenologies with the ondition to have php in it. Any advice or contact with developers that need help is welcomed and if you like what you see, maybe we can work together for money. I know oop php some understanding of mvc and I want some practice with these tehniques. Thank you in advance.

Member Avatar
Member Avatar
+0 forum 1

So, for the past couple years, I've been using systems like WordPress and now Drupal to construct client websites. Most of the development has been front-end with themes and simple widgets (or blocks in Drupal). Don't get me wrong, I love using those systems, but now I want to move on to something greater that I can truly say "I built that". A lot of people here seem to have that aspiration. The only problem is (and probably my biggest pitfall) is that I'm a perfectionist. I build websites that are pixel perfect, and when building my own system, I …

Member Avatar
Member Avatar
+0 forum 4

hey, I am totoally window person no experience with apple whatsoever except it is a multi-touch mouse that I know say -- if I wanna to learn android, I start with appinventor.com ----- I really wanna to learn write an apps for ipad i.e. business application I want it to be database driven too-- so if I have to do anything, I do it with query or database macro , stored procedure etc someone please give me some GUIDELINE please, even basic stuff will help I know my new company will got plenty of iphone, ipad, apple air mac book …

Member Avatar
Member Avatar
+0 forum 1

I want to learn PHP CSS. If you have any good reference or books(free) plz inform me.

Member Avatar
Member Avatar
+0 forum 7

Hello people I heard, that c++ is more powerful than c and i want to learn one of them. I want to know if it is better idea to start with C or with C++ without learning C. I know a bit of C# (i can make some basic games and programs, like snake game)... Thanks for your attention.

Member Avatar
Member Avatar
+0 forum 10

I was wondering which language should learn. I do not want to be a programmer for a job(at the moment I am a young teen) in the future, I would like to be a physicist. In the meantime though I would like to learn a programming language. I want to be useful in later life, work on all platforms and be 'fun to use'. I already know a bit of Java (most of thenewbostons beginner tutorials) and a bit of the .net and c++.

Member Avatar
Member Avatar
+0 forum 12

Hi Iam a Graphic designer and now i want to learn VB (software development) New to vb not know anything about that and iam quick learner any Help is appreciated. from where i start to learn. which software i download vb6? or vb studio? Thanks in advance.:icon_smile:

Member Avatar
Member Avatar
+0 forum 8

Hello, I need advice. Ive been using Microsoft Visual studio 2008 and making c++ console applications for some time. I made a "Five in line" game. I have a complete system, so its playable, now i just upgrade an AI. So, I have the code for console version, but I would like to make it with some graphic => get it out of that black window. I want only simple graphic, you know, just 'X' and 'O' symbols and a grid. And I want it to be controlled by mouse. But I never did anything with graphic before, just console. …

Member Avatar
Member Avatar
+0 forum 2

What is the easy way to learn GUI Python, i mean where to choose pyGTK, pyQT , TkInter or what? Thanks

Member Avatar
Member Avatar
+0 forum 8

i googled for awt learnings then found a thread that awt is not necessary, you can directly go to swing. then i started swing, but i can't underdtand it that easily. now i know the very basic in swing, will you please help me to increase my accuracy by giving me some tips. or i have to learn awt first thank you!!

Member Avatar
Member Avatar
+0 forum 8

hi i want to learn php but am confused at the first step itself. i donno hw to start. i hav installed wamp server on my pc, is it the right beginning? i dont know where to type the <?php </? codes and all please help me should i install apache seperately? is phpmyadmin enough to start learning php???

Member Avatar
Member Avatar
+0 forum 6

The End.