Upvote Upvoted 2 Downvote Downvoted
python coding
posted in Off Topic
1
#1
0 Frags +

I have some past experiences with programming and I'm looking for a lightweight editor/compiler for Python.

As I don't really know the language, I'd like to know if it is possible to use graphics and make stuff like small games and programs with a UI on it.
Thanks!

I have some past experiences with programming and I'm [b]looking for a lightweight editor/compiler for Python.[/b]

As I don't really know the language, I'd like to know if it is possible to use graphics and make stuff like small games and programs with a UI on it.
Thanks!
2
#2
7 Frags +

Python isn't some fancy language that needs a multitude of external programs to work. The majority of people use their favorite text editor (one that has syntax highlighting is highly recommended) and just run their scripts through the terminal/console.

If you do not want to go this way, and absolutely want an ide, try the packaged ide that comes with the python download, IDLE.

Oh for your other question, about graphics, check out the list of ui libraries here. TkInter comes default with python and I am a big fan of wxPython, but if you prefer to use Qt, GTK, etc. use those.

For game programming, the most common recommendation will be pyGame

Python isn't some fancy language that needs a multitude of external programs to work. The majority of people use their favorite text editor (one that has syntax highlighting is highly recommended) and just run their scripts through the terminal/console.

If you do not want to go this way, and absolutely want an ide, try the packaged ide that comes with the python download, IDLE.

Oh for your other question, about graphics, check out the list of [url=https://wiki.python.org/moin/GuiProgramming]ui libraries here[/url]. TkInter comes default with python and I am a big fan of wxPython, but if you prefer to use Qt, GTK, etc. use those.

For game programming, the most common recommendation will be pyGame
3
#3
0 Frags +

Okay thanks, that sounds fine tbh.
Other than that I was wondering if it is possible to implement graphics on my programs.
(Like having a window and graphics with which the person running the program can interact with etc)

Okay thanks, that sounds fine tbh.
Other than that I was wondering if it is possible to implement graphics on my programs.
(Like having a window and graphics with which the person running the program can interact with etc)
4
#4
0 Frags +

idk about a better editor than just notepad++/sublime text or IDLE, but if you wanna make games you might want to look into PyGame. Never used it myself as I don't use Python for GUI applications, but I reckon it'd be a good place to start.

idk about a better editor than just notepad++/sublime text or IDLE, but if you wanna make games you might want to look into [url=http://www.pygame.org/hifi.html]PyGame[/url]. Never used it myself as I don't use Python for GUI applications, but I reckon it'd be a good place to start.
5
#5
0 Frags +
Barry_Chuckleidk about a better editor than just notepad++/sublime text or IDLE, but if you wanna make games you might want to look into PyGame. Never used it myself as I don't use Python for GUI applications, but I reckon it'd be a good place to start.

I just want to learn the whole process from the beginning and also learn the Python.
I'm pretty familiar with a lot of software like PyGame :)

[quote=Barry_Chuckle]idk about a better editor than just notepad++/sublime text or IDLE, but if you wanna make games you might want to look into [url=http://www.pygame.org/hifi.html]PyGame[/url]. Never used it myself as I don't use Python for GUI applications, but I reckon it'd be a good place to start.[/quote]
I just want to learn the whole process from the beginning and also learn the Python.
I'm pretty familiar with a lot of software like PyGame :)
6
#6
2 Frags +

There's https://www.jetbrains.com/pycharm/. It's definitely not lightweight but smart autocomplete and refactoring does help. Otherwise just use your favorite code editor. Both sublime text and atom have decent python plugins.

You can use Qt as your GUI toolkit, it has python bindings: https://wiki.python.org/moin/PyQt/Tutorials.

There's https://www.jetbrains.com/pycharm/. It's definitely not lightweight but smart autocomplete and refactoring does help. Otherwise just use your favorite code editor. Both sublime text and atom have decent python plugins.

You can use Qt as your GUI toolkit, it has python bindings: https://wiki.python.org/moin/PyQt/Tutorials.
7
#7
0 Frags +
nonagonoThere's https://www.jetbrains.com/pycharm/. It's definitely not lightweight but smart autocomplete and refactoring does help. Otherwise just use your favorite code editor. Both sublime text and atom have decent python plugins.

You can use Qt as your GUI toolkit, it has python bindings: https://wiki.python.org/moin/PyQt/Tutorials.

Oh cheers thats pretty much all I need!

[quote=nonagono]There's https://www.jetbrains.com/pycharm/. It's definitely not lightweight but smart autocomplete and refactoring does help. Otherwise just use your favorite code editor. Both sublime text and atom have decent python plugins.

You can use Qt as your GUI toolkit, it has python bindings: https://wiki.python.org/moin/PyQt/Tutorials.[/quote]
Oh cheers thats pretty much all I need!
8
#8
2 Frags +

Since you're experienced with coding it's probably not so much for you, but if anyone browsing wants to learn python, codecademy.com 's python courses arent that bad.

Since you're experienced with coding it's probably not so much for you, but if anyone browsing wants to learn python, codecademy.com 's python courses arent that bad.
9
#9
0 Frags +

trinket.io may be worth checking out. From the site:

"Trinket lets you run and write code in any browser, on any device. Trinkets work instantly, with no need to log in, download plugins, or install software."

trinket.io may be worth checking out. From the site:

"Trinket lets you run and write code in any browser, on any device. Trinkets work instantly, with no need to log in, download plugins, or install software."
10
#10
0 Frags +
Differtrinket.io may be worth checking out. From the site:

"Trinket lets you run and write code in any browser, on any device. Trinkets work instantly, with no need to log in, download plugins, or install software."

thats pretty helpful, thanks!

[quote=Differ]trinket.io may be worth checking out. From the site:

"Trinket lets you run and write code in any browser, on any device. Trinkets work instantly, with no need to log in, download plugins, or install software."[/quote]
thats pretty helpful, thanks!
11
#11
1 Frags +

Sublime Text is my personal favorite for everything programming/text related, check it out! It even has a package manager which lets you install plugins for everything :) Other than that I heard that Atom and PyCharm are pretty good, I recommend you download them and see how they run.

Sublime Text is my personal favorite for everything programming/text related, check it out! It even has a package manager which lets you install plugins for everything :) Other than that I heard that Atom and PyCharm are pretty good, I recommend you download them and see how they run.
12
#12
2 Frags +

I definitely second Sublime--there's pretty much packages for everything you need (e.g. Anaconda, which includes numpy, flask, etc.), and has great customization options. You may run into some problems if you're just starting out since it does require some setup. You may find it easier to code in Sublime and run from command line.

If you're looking for a more traditional IDE PyCharm is fairly standard and easy to get into. It has integrated unit testing too which is a big plus.

I haven't tried many others, but I've heard PyDev is a little difficult to get into unless you already have experience with Eclipse.

I definitely second Sublime--there's pretty much packages for everything you need (e.g. Anaconda, which includes numpy, flask, etc.), and has great customization options. You may run into some problems if you're just starting out since it does require some setup. You may find it easier to code in Sublime and run from command line.

If you're looking for a more traditional IDE PyCharm is fairly standard and easy to get into. It has integrated unit testing too which is a big plus.

I haven't tried many others, but I've heard PyDev is a little difficult to get into unless you already have experience with Eclipse.
Please sign in through STEAM to post a comment.