Python Forum
Welcome, Guest
You have to register before you can post on our site.

Username
  

Password
  





Search Forums

(Advanced Search)

Forum Statistics
» Members: 19,918
» Latest member: aidajnrz7704
» Forum threads: 38,718
» Forum posts: 175,486

Full Statistics

Online Users
There are currently 37 online users.
» 0 Member(s) | 33 Guest(s)
AOL, Bing, Google, AOL

Latest Threads
data input while debuggin...
Forum: General Coding Help
Last Post: fred1232
1 hour ago
» Replies: 0
» Views: 17
New to Python and Pygame
Forum: Game Development
Last Post: deanhystad
4 hours ago
» Replies: 6
» Views: 1,268
Select Python comment (#)...
Forum: General Coding Help
Last Post: snippsat
8 hours ago
» Replies: 5
» Views: 347
I'm trying to make a piec...
Forum: General Coding Help
Last Post: MilesWeb
Today, 06:11 AM
» Replies: 5
» Views: 1,134
New to the field
Forum: News and Discussions
Last Post: Polybunny
Today, 01:31 AM
» Replies: 0
» Views: 101
Seeking feedback: dynamic...
Forum: General Coding Help
Last Post: Stowersw
Yesterday, 03:23 PM
» Replies: 4
» Views: 2,293
Python and excel vba codi...
Forum: General Coding Help
Last Post: DeaD_EyE
Yesterday, 11:09 AM
» Replies: 2
» Views: 857
Web Scrapper to find prov...
Forum: General Coding Help
Last Post: Olivia
Yesterday, 08:36 AM
» Replies: 1
» Views: 2,141
403 Error
Forum: Web Scraping & Web Development
Last Post: snippsat
Sep-11-2025, 08:39 PM
» Replies: 6
» Views: 1,508
pip fails to install PyGO...
Forum: General Coding Help
Last Post: Larz60+
Sep-11-2025, 10:50 AM
» Replies: 2
» Views: 1,822

 
  Pygame simple pong example
Posted by: metulburr - Nov-06-2016, 06:58 PM - Forum: Code sharing - Replies (5)

I was going to break this apart and make a tutorial out of it....but im too lazy at this point. 

[python]import pygame as pg
import random

scre..... More

Print this item

  How to rotate images
Posted by: LavaCreeperKing - Nov-06-2016, 05:40 PM - Forum: Game Development - Replies (12)

Hey I did some looking online about this but I wasn't able to figure out how to get it to work. How do you rotate an image? For example I want to crea..... More

Print this item

  .csv files
Posted by: Blue Dog - Nov-06-2016, 04:40 PM - Forum: General Coding Help - Replies (13)

I want to write a web page to a csv file. Error said file not open, but it should be. here is the code:

[python]import csv
import urllib2


wit..... More

Print this item

  what happened to some of the other users?
Posted by: metulburr - Nov-06-2016, 04:23 PM - Forum: Bar - Replies (7)

By users i mean bunburya, KevinD, joneshf, setrofim, and stranac. Specifically stranac not active is odd due to him in the discussion of mutiny from o..... More

Print this item

  Need a challenge?
Posted by: sparkz_alot - Nov-06-2016, 02:38 PM - Forum: News and Discussions - Replies (5)

Just ran across an interesting site by the US government whereby a user can contribute to or create open source software projects used by various agen..... More

Print this item

  PIP problem
Posted by: Hubert - Nov-06-2016, 01:39 PM - Forum: General Coding Help - Replies (23)

I just started working with Python. Tried several ide's, and am not settling on Pyzo.

I have a serious problem with PIP. Whatever PIP command I use..... More

Print this item

  Outputing the results of search machine
Posted by: Emmanouil - Nov-06-2016, 11:22 AM - Forum: Web Scraping & Web Development - Replies (4)

Hello,

is it possible to make a programme that takes as arguments, a key word i.e q=help and the start and finish pages of the results of a search ..... More

Print this item

  Getting Tkinter Grid Sizing Right the first time
Posted by: Larz60+ - Nov-06-2016, 06:34 AM - Forum: GUI tutorials - No Replies

Hello,

Introduction:

This is a subject that is asked over and over again.

Laying out a tkinter GUI and having it resize properly can b..... More


Attached Files

Thumbnail(s)
       
Print this item

  Change list which is in a function
Posted by: zakobenayoun - Nov-05-2016, 09:39 PM - Forum: General Coding Help - Replies (2)

Hello guys,
I created a list into a function: 
[python]n=eval(input("Enter a number of rows: "))
p=eval(input("Enter a number of columns: "))
def ..... More

Print this item

  A pretty good Book listing
Posted by: snippsat - Nov-05-2016, 08:11 PM - Forum: News and Discussions - Replies (4)

7 Must Read Python Books
Maybe the best of theme all Fluent Python(the Pythonic level is..... More

Print this item

  Indexing + ''.join Help
Posted by: OwlEyesToo - Nov-05-2016, 04:34 PM - Forum: Homework - Replies (2)

I'm not a programmer; I'm taking my first course in Python and I have absolutely no experience, so please excuse this if it's mindbogglingly simple an..... More

Print this item

  Importing a module
Posted by: SrirachaSauceLover - Nov-05-2016, 03:20 PM - Forum: General Coding Help - Replies (21)

I'm learning computer programming with John Zelle's Python Programming: An Introduction to Computer Science. In the first chapter, he explains ..... More

Print this item

  Multi-tab form
Posted by: birdieman - Nov-05-2016, 11:49 AM - Forum: GUI - Replies (1)

I am brand new to this forum , python and Qt4.  As I was playing around with trying to make a multipage form, I opened the Qt designer, clicked main w..... More

Print this item

  how to delete
Posted by: Skaperen - Nov-05-2016, 09:05 AM - Forum: Board - Replies (1)

i tried to reply to my own post but it created a new thread.  how can i delete it?  i've been having major network issues all night and the browsers h..... More

Print this item

  image format in python
Posted by: Skaperen - Nov-05-2016, 08:49 AM - Forum: General Coding Help - Replies (11)

i was looking through some old C functions (i am planning to write them in python) and one of them stood out as needing some more python knowledge **d..... More

Print this item

  silly piping
Posted by: Skaperen - Nov-05-2016, 05:30 AM - Forum: General Coding Help - Replies (1)

i've been researching (reading docs, googling) about piping output from child processes. it seems everything is oriented around the way the communicat..... More

Print this item

  [Link] Request a tutorial
Posted by: metulburr - Nov-05-2016, 04:31 AM - Forum: Tutorials - No Replies

http://python-forum.io/Thread-Tutorial-Requests

Print this item

  valid numbers
Posted by: Skaperen - Nov-05-2016, 04:16 AM - Forum: General Coding Help - Replies (1)

is there anything (any string) that would be valid decimal.Decimal() but not valid float() and/or not valid int([color=#9999ff],10[/colo..... More

Print this item

  Gtk justification doesn't work
Posted by: rebelxt - Nov-05-2016, 02:19 AM - Forum: GUI - Replies (2)

Using python3 and Gtk3 in Linux Mint 18. Part of my script is:

label=Gtk.label("text")
label.set_justify(Gtk.Justification.RIGHT)
..... More

Print this item

  Tutorial request?
Posted by: wavic - Nov-04-2016, 07:48 PM - Forum: Board - Replies (4)

We are welcome to asking for a tutorial in "Tutorial request" topic but I can't post there. How would happen?

Print this item

  Please help!
Posted by: pxkumar - Nov-04-2016, 07:44 PM - Forum: Homework - Replies (6)

Hi, I'm working on a game for a school project, and I've been trying to solve this problem for over a week now
(I'm working in Python 2.7, and I'm ki..... More

Print this item

  Install a library manually
Posted by: metulburr - Nov-04-2016, 07:23 PM - Forum: Web Scraping & Web Development - Replies (12)

NOTICE
This method of installation is not the normal process. The ..... More

Print this item

  If and/or statement
Posted by: DBS - Nov-04-2016, 07:08 PM - Forum: General Coding Help - Replies (4)

Hello,

I want to construct an if statement using or/and.  If either string value exists in the first element in a list and then look to see if has_..... More

Print this item

  Tutorial Requests
Posted by: metulburr - Nov-04-2016, 06:35 PM - Forum: Tutorial Requests and Submissions - Replies (60)

Make your tutorials requests on this thread and they will be updated in this first post. Ones that have been completed by at least one person have str..... More

Print this item

  A newbie section
Posted by: Kai. - Nov-04-2016, 05:27 PM - Forum: Board - Replies (6)

I am VERY new to python and i am quite scared to be eaten alive for interrupting the main board with stupid questions. I believe the other newbies wou..... More

Print this item

  URL not showing properly in comments of codebox
Posted by: Larz60+ - Nov-04-2016, 04:56 PM - Forum: Board - Replies (4)

I finished my tutorial/GUI post [Tkinter] Proper layout for resizeable tkinter GUI.
I have a url embedded in the comments on top. I have tried embedd..... More

Print this item

  readall() not working in python3.5
Posted by: iFunKtion - Nov-04-2016, 01:37 PM - Forum: Data Science - Replies (6)

Hi there,

So I can't get readall() to work in python 3.5, I can get it to work on a raspberry pi, but with no access to said pi, I am assuming that..... More

Print this item

  Python won't launch
Posted by: Norimaki - Nov-04-2016, 01:12 PM - Forum: General Coding Help - Replies (4)

Hello,


i'm totally new with python (and coding in general), i installed it on w7 64b and when i tried to launch it, it's telling to me "python c..... More

Print this item

  Cant pass corect variables to python script in bash script
Posted by: neradp - Nov-04-2016, 11:10 AM - Forum: General Coding Help - Replies (3)

Hi im not familiar with python, I have som strange problem.

I have a bash script for example test.sh:

#!/usr/bin/bash

/usr/bin/python3.4 /hom..... More

Print this item

  Python - Search element in list without the value index
Posted by: salmanfazal01 - Nov-04-2016, 12:31 AM - Forum: General Coding Help - Replies (1)

I am trying a binary search algorithm to search for an element in a list, but the low and high intervals should not be the index in list but rather th..... More

Print this item

  pip 9.0 is out
Posted by: snippsat - Nov-03-2016, 09:34 PM - Forum: News and Discussions - No Replies

Release Notes

Release features:

  • The 9.x series will be the last pip versions to suppor..... More

Print this item

  Data types
Posted by: tahmid909 - Nov-03-2016, 08:21 PM - Forum: Homework - Replies (2)

Just a quick question, i've wrote a piece of code that analyses a sentence that contains several words without punctuation. When a word in that senten..... More

Print this item

  msvcrt.getkey for linux
Posted by: metulburr - Nov-03-2016, 08:18 PM - Forum: Code sharing - No Replies

[python]import time, sys
import sys

if sys.platform[:3] == 'win':
    import msvcrt
    def getkey():
        key = msvcrt.getch()
        ret..... More

Print this item

  console progressbars
Posted by: metulburr - Nov-03-2016, 08:15 PM - Forum: Code sharing - Replies (10)

Just an example of a few different types of progress bars

[python]import time, sys

if sys.version[0] == '2':
    range = xrange
    
def flus..... More

Print this item

  tkinter calendar widget
Posted by: metulburr - Nov-03-2016, 08:10 PM - Forum: Code sharing - Replies (2)

Tkinter does not have its own calendar widget. At least not by default. Here is a calendar selector widget. The Control class is just for laying a bas..... More


Attached Files

Thumbnail(s)
   
Print this item

Forum stats
Latest posts
Topic Date, time  Author Last Sender Forum
  data input while debuggin... 1 hour ago fred1232 fred1232 General Codin...
  New to Python and Pygame 4 hours ago JMcM deanhystad Game Developm...
  Select Python comment (#)... 8 hours ago SpongeB0B snippsat General Codin...
  I'm trying to make a piec... Today, 06:11 Alislugacool MilesWeb General Codin...
  New to the field Today, 01:31 Polybunny Polybunny News and Disc...
  Seeking feedback: dynamic... Yesterday, 15:23 Bona2000 Stowersw General Codin...
  Python and excel vba codi... Yesterday, 11:09 odiez DeaD_EyE General Codin...
  Web Scrapper to find prov... Yesterday, 08:36 physalis2099 Olivia General Codin...
  403 Error 09-11, 20:39 CaptainNewb snippsat Web Scraping ...
  pip fails to install PyGO... 09-11, 10:50 voidtrance Larz60+ General Codin...
  how to manage crypto trad... 09-11, 06:01 Mikeardy Mercyto General Codin...
Most views
  The best Prog... 575408
  Tutorial Requ... 496238
  Web Scraping ... 439520
  Newbie with P... 383119
  New Users Int... 363876
Most reputation
buran 581
snippsat 508
Larz60+ 452
Gribouillis 362
deanhystad 327
Most replies
  New Users Int... 451
  [book] Variou... 188
  CKEditor / Ri... 100
  moving from t... 95
  Free keys and... 91
Top posters
Larz60+ 12086
buran 8174
snippsat 7366
deanhystad 6891
metulburr 5151
Top referrers
Googlepro 23
metulburr 6
NonEntity 6
python 6
buran 3
Newest members
aidajnrz7704 Today
Jillscitt Yesterday
Stowersw Yesterday
Intel Yesterday
Gichardaxora Yesterday

User Panel Messages

Announcements
Announcement #1 8/1/2020
Announcement #2 8/2/2020
Announcement #3 8/6/2020