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,930
» Latest member: luisshulez6883
» Forum threads: 38,721
» Forum posts: 175,499

Full Statistics

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

Latest Threads
real community
Forum: News and Discussions
Last Post: decuser
8 minutes ago
» Replies: 3
» Views: 1,283
variable changing types f...
Forum: General Coding Help
Last Post: Gribouillis
1 hour ago
» Replies: 1
» Views: 72
looking for help
Forum: Bar
Last Post: Azdaghost
3 hours ago
» Replies: 0
» Views: 26
Seeking feedback: dynamic...
Forum: General Coding Help
Last Post: Bona2000
4 hours ago
» Replies: 7
» Views: 2,614
403 Error
Forum: Web Scraping & Web Development
Last Post: CaptainNewb
6 hours ago
» Replies: 7
» Views: 2,115
Select Python comment (#)...
Forum: General Coding Help
Last Post: Pedroski55
Yesterday, 11:27 PM
» Replies: 6
» Views: 884
data input while debuggin...
Forum: General Coding Help
Last Post: deanhystad
Yesterday, 03:32 PM
» Replies: 2
» Views: 579
New to Python and Pygame
Forum: Game Development
Last Post: JMcM
Yesterday, 11:25 AM
» Replies: 7
» Views: 1,885
Python Installation issue
Forum: News and Discussions
Last Post: Dev
Yesterday, 11:16 AM
» Replies: 4
» Views: 15,827
New to the field
Forum: News and Discussions
Last Post: Larz60+
Yesterday, 08:15 AM
» Replies: 1
» Views: 471

 
  Open source project that a beginner could contribute to?
Posted by: JJJame - Apr-02-2017, 03:47 PM - Forum: General Coding Help - Replies (16)

[color=#222222][font=Verdana, arial, sans-serif]I'm an experienced programmer but I'm new to python. I'd like to get more experience in Python by work..... More

Print this item

  TKinter Hangman Game
Posted by: Bumble - Apr-02-2017, 02:45 PM - Forum: General Coding Help - Replies (1)

On my mission to become a python master, a friend suggested that I make a hangman game with a tkinter GUI. I somehow managed to get stuck, as my code ..... More

Print this item

  How to do String match
Posted by: SriRajesh - Apr-02-2017, 11:53 AM - Forum: General Coding Help - Replies (2)

Hi,
I have the following array of string:

kaman
veeru
sri
balc
kaman
tryi
yua
sri

Now, I want to the two thing
Question1:
I want to fi..... More

Print this item

  Python3 No Module Named gi, Tkinter, setuptools and more... On Fedora Linux
Posted by: harun2525 - Apr-02-2017, 10:55 AM - Forum: General Coding Help - Replies (12)

hello i am new on python3. i passed to python3 from python2.

while i am using python3 on idle-shell, python3 not giving any import error. but while..... More

Print this item

  Vectorized parsing in dataFrame
Posted by: aibrain - Apr-02-2017, 10:49 AM - Forum: General Coding Help - Replies (2)

I wanted to know if there is a simpler way of doing this:
[python]
data={'A': [1, 2, 3], 'B': ['123456', '789012', '345678']}
cd=pd.DataFrame(data)..... More

Print this item

  NameError! shopping_list not defined
Posted by: kotwenyo - Apr-02-2017, 04:48 AM - Forum: General Coding Help - Replies (1)

[python]def show_help():
   # print out instructions on how to use the app
   print("What should we pick up at the store?")
   print("""
Enter 'DO..... More

Print this item

  if i had written my own language
Posted by: Skaperen - Apr-02-2017, 03:13 AM - Forum: News and Discussions - Replies (9)

if i had written my own language there are some things i would have done differently.

[output]lt1/forums /home/forums 2> py2
Python 2.7.12 (defaul..... More

Print this item

  methods of a dictionary vs a sequence
Posted by: Skaperen - Apr-02-2017, 01:29 AM - Forum: News and Discussions - No Replies

both dictionary and sequence have .pop that gets a value (indexed according to the behavior/methods of the type/class) then removes it from the source..... More

Print this item

  NoneType Error
Posted by: Sam - Apr-01-2017, 08:50 PM - Forum: Homework - Replies (6)

Hi, I'me trying to run a code but I'm getting an error that is 'NoneType' object has no attribute 'SetGeoTransform. I'm not sure what this means or ho..... More

Print this item

  Translating language in python
Posted by: Liquid_Ocelot - Apr-01-2017, 08:41 PM - Forum: Homework - Replies (11)

Hey everyone.

I am struggling to get my head around nested if statements particularly with a program I am needing to write which requires me to use..... More

Print this item

  sorting nested dict according to values
Posted by: merlem - Apr-01-2017, 06:09 PM - Forum: General Coding Help - Replies (6)

What I have: a nested dict (see code), with integer values as lowest "level".
What I wish to reach: a couple of lists with pairs of the highest level..... More

Print this item

  Question about primitive variables.
Posted by: Nirelg - Apr-01-2017, 05:06 PM - Forum: General Coding Help - Replies (16)

Hi all,

I have started to learn what primitive variables are vs Referenced ones.

The problem is, that once I have read that python is fully refe..... More

Print this item

  Python Selenium WebDriver Problem
Posted by: SlpnGnt - Apr-01-2017, 03:19 PM - Forum: Web Scraping & Web Development - Replies (2)

Hello,

I'm currently trying to extract some tables from a particular website, but I have to use the Selenium WebDriver to do so because I believe t..... More

Print this item

  Not Getting The desired output on my system
Posted by: Rashi - Apr-01-2017, 02:44 PM - Forum: General Coding Help - Replies (12)

[python]

from tkinter import *
import random

class ExamGuru:
    def _init_(self, parent):
        self.parent=parent
        self.index=0
..... More

Print this item

  Why can't I get this code to loop
Posted by: sexualpanda - Apr-01-2017, 01:14 PM - Forum: Homework - Replies (1)

[python]import operator
import random

casefile=open('case.txt','a')
devicefile = open('devicefile.txt','r')

def ask():

    global model
  ..... More

Print this item

  How to print in colors
Posted by: JohnNo - Apr-01-2017, 01:09 PM - Forum: General Coding Help - Replies (2)

So I use python shell to do my stuff
but I want to print out in color I tried everything from ANSI escape routes or ansicolors but nothing everything..... More

Print this item

  Methods for Interegating output from an API
Posted by: Bass - Apr-01-2017, 12:33 PM - Forum: Data Science - Replies (1)

Hi,

I am trying to extract data values from an Rest API response. 

Firstly, could someone please clarify this as well as any corrections of the ..... More


Attached Files

.zip   Candle.zip (Size: 41.84 KB / Downloads: 53)
Print this item

  Name guessing game in python
Posted by: Liquid_Ocelot - Apr-01-2017, 07:44 AM - Forum: Homework - Replies (6)

Hey guys so I am having some trouble with the second part of a program that I need to write 

So the first part was to write a number guessing game in..... More

Print this item

  VAO and VBO not working.
Posted by: hsunteik - Apr-01-2017, 07:14 AM - Forum: General Coding Help - Replies (4)

[python]
class cube():
    def __init__(self,vertexcount,VAOid):
        self.vertexcount=vertexcount
        self.VAOid=VAOid

    def draw(sel..... More

Print this item

  blender python code
Posted by: metulburr - Apr-01-2017, 01:57 AM - Forum: Bar - Replies (7)

This looks quite nice. Came across it from http://jos.ai/
[Image: dube_1.gif]

Print this item

  Need To Create Simple Mutiple Choice Quiz In Tkinter
Posted by: Rashi - Apr-01-2017, 01:02 AM - Forum: Homework - Replies (5)

i am trying to create a simple quiz in tkinter but i have no proper reference how to get it done properly i researched alot on google but as i am new ..... More

Print this item

  Having some issues, pls halp
Posted by: Bidgey225 - Apr-01-2017, 12:13 AM - Forum: Homework - Replies (2)

So I'm taking a course, and I can't quite see what I'm doing wrong with this program.
[Image: mb2zobw.png]
[modd=snippsat]Post ..... More

Print this item

  [?] UTF8, Unicode and Binary data reading troubles
Posted by: doublezero - Mar-31-2017, 06:45 PM - Forum: General Coding Help - Replies (1)

Hi guys.

I have been working in a script to read files, extract and index some strings. Everything is going fine, except for one problem with file ..... More

Print this item

  SSH Multi Threading
Posted by: nizami22247 - Mar-31-2017, 06:04 PM - Forum: General Coding Help - No Replies

Hi, guys. I'm currently having issue with multi threading specifically when i try to use SSH to multiple devices at a time. It works if i don't use mu..... More

Print this item

  Pygame Heli Dodge
Posted by: georgecoopers - Mar-31-2017, 03:38 PM - Forum: Code sharing - Replies (2)

I've spent the past few days developing this small game: 

http://www.mediafire.com/file/sz28835b23...r]http://w..... More

Print this item

  Sort() Question / Getting Error
Posted by: richardbl27 - Mar-31-2017, 02:06 PM - Forum: General Coding Help - Replies (3)

Hi... I am relatively new to Python... I find it very interesting coming originally from a mainframe background. 
I have a question.  I'm trying to d..... More

Print this item

  QModelIndex set Column in tablemodel
Posted by: nieselfriem - Mar-31-2017, 01:59 PM - Forum: GUI - No Replies

Hello,

[color=#141414][size=small]I use a table with tableview. In one of the Columns I present boolean v..... More

Print this item

  What terms do I need to know?
Posted by: psocretes - Mar-31-2017, 12:26 PM - Forum: Web Scraping & Web Development - Replies (5)

I want to be able to find a play (audio) button and activate it (on a BBC website) so the audio plays and when that 15 minute play has finished, for t..... More

Print this item

  iPython tab completion of method variable
Posted by: sixteenornumber - Mar-31-2017, 12:09 PM - Forum: General Coding Help - Replies (1)

is there any way to get iPython to recognize the type of "each" in B.printBarList().  for example I want to use tab-complete in iPython so I type "eac..... More

Print this item

  newbie while loop error: IndexError: list assignment index out of range
Posted by: msa969 - Mar-31-2017, 10:45 AM - Forum: General Coding Help - Replies (3)

I want to create a list called numbers that contains all the integers from 1 to 30 

[python]
numbers = []
i = 1
while(i < 30):
    numbers[i] = i +1 ..... More

Print this item

  Error when converting MATLAB's datenum to Python's datetime
Posted by: zoya2385 - Mar-31-2017, 10:00 AM - Forum: General Coding Help - Replies (5)

Hello,

I have to convert a MATLAB's datenum to Python's datetime. The following code is as below:

[code]import datetime
matlab_datenum = 636505..... More

Print this item

  I'm a new Python programmer and I need some tips
Posted by: Qubayel - Mar-31-2017, 07:46 AM - Forum: GUI - Replies (6)

I toke an online Python course for beginners the course was good and there was an final project on the first section, so I tried to Do it by myself by..... More

Print this item

  exception index
Posted by: Skaperen - Mar-31-2017, 06:03 AM - Forum: General Coding Help - Replies (2)

as i rewrite a lot of stuff into python, i want to include many functions and make a lot of error handling raise exceptions.  i have not seen this, ye..... More

Print this item

  boolean result of loop
Posted by: Skaperen - Mar-31-2017, 01:47 AM - Forum: General Coding Help - Replies (19)

a classic loop structure tests for one of a sequence of possible conditions.  in python the loop iterates over an iterator or equivalent (a sequence)...... More

Print this item

  Creating lists or arrays as the input
Posted by: nickalvar - Mar-31-2017, 01:05 AM - Forum: Homework - Replies (4)

I'm fairly new to using python. I would greatly appreciate it if someone could explain exactly what i'm supposed to do here.

Create the following l..... More

Print this item

Forum stats
Latest posts
Topic Date, time  Author Last Sender Forum
  real community 8 minutes ago decuser decuser News and Disc...
  variable changing types f... 1 hour ago Azdaghost Gribouillis General Codin...
  looking for help 3 hours ago Azdaghost Azdaghost Bar
  Seeking feedback: dynamic... 4 hours ago Bona2000 Bona2000 General Codin...
  403 Error 6 hours ago CaptainNewb CaptainNewb Web Scraping ...
  Select Python comment (#)... Yesterday, 23:27 SpongeB0B Pedroski55 General Codin...
  data input while debuggin... Yesterday, 15:32 fred1232 deanhystad General Codin...
  New to Python and Pygame Yesterday, 11:25 JMcM JMcM Game Developm...
  Python Installation issue Yesterday, 11:16 RFHill Dev News and Disc...
  New to the field Yesterday, 08:15 Polybunny Larz60+ News and Disc...
  [Tkinter] Too much space ... Yesterday, 02:34 RonR deanhystad GUI
Most views
  The best Prog... 575692
  Tutorial Requ... 496850
  Web Scraping ... 439734
  Newbie with P... 383388
  New Users Int... 364817
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+ 12087
buran 8174
snippsat 7366
deanhystad 6893
metulburr 5151
Top referrers
Googlepro 23
metulburr 6
NonEntity 6
python 6
buran 3
Newest members
luisshulez6883 Today
KennedyRichadGuerra Today
Williefaree Today
faithsally Today
compuman145 Today

User Panel Messages

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