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

Username
  

Password
  





Search Forums

(Advanced Search)

Forum Statistics
» Members: 20,244
» Latest member: thebigback
» Forum threads: 38,778
» Forum posts: 175,804

Full Statistics

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

Latest Threads
Help with Serial.write in...
Forum: General Coding Help
Last Post: racingsubby
4 hours ago
» Replies: 2
» Views: 43
Backward compatibility qu...
Forum: News and Discussions
Last Post: yutaozhou
6 hours ago
» Replies: 4
» Views: 164
I’m building a Python Dat...
Forum: GUI
Last Post: Gribouillis
8 hours ago
» Replies: 6
» Views: 164
[split] print two differe...
Forum: General Coding Help
Last Post: Gribouillis
Yesterday, 05:37 AM
» Replies: 1
» Views: 70
Data Science
Forum: Data Science
Last Post: mamta25
Yesterday, 05:27 AM
» Replies: 3
» Views: 2,587
Two arguments in input fu...
Forum: General Coding Help
Last Post: Pedroski55
Nov-09-2025, 12:56 AM
» Replies: 4
» Views: 160
[openpyxl] Set the lockin...
Forum: General Coding Help
Last Post: Pedroski55
Nov-07-2025, 11:59 AM
» Replies: 3
» Views: 152
New Users Introduce Yours...
Forum: Bar
Last Post: BelleroDev
Nov-07-2025, 09:09 AM
» Replies: 452
» Views: 375,529
Best book on learning Pyt...
Forum: News and Discussions
Last Post: mamta25
Nov-07-2025, 06:07 AM
» Replies: 2
» Views: 3,392
Recommend me a Python boo...
Forum: Data Science
Last Post: mamta25
Nov-06-2025, 08:33 AM
» Replies: 7
» Views: 5,591

 
  Traditional OpenGL vs GLSL?
Posted by: hsunteik - Mar-27-2017, 08:58 AM - Forum: General Coding Help - Replies (2)

1)which should be used(recommended)?
2)why?
3)If glsl really does gives you more control on graphic rendering,why is the tradisional opengl still us..... More

Print this item

  Practice Python
Posted by: gygy8 - Mar-27-2017, 08:42 AM - Forum: Tutorial Requests and Submissions - Replies (9)

What do you think about that (Practice Python)?


https://www.youtube.com/watch?v=zjPKd4quJj4&t=9s

https://www.youtube.com/watch?v=YQi3CFsr-XU

ht..... More

Print this item

  namespaces in comprehension in exec()
Posted by: Skaperen - Mar-27-2017, 07:08 AM - Forum: General Coding Help - Replies (4)

first, here is the (nearly) minimalized code by itself:

[python]s="foo = 1\nfor n in range(10):\n    x = [n**m for m in range(9)]\nbar = 0"
g={}
..... More

Print this item

  Need help for beginning coding
Posted by: sylas - Mar-27-2017, 06:49 AM - Forum: General Coding Help - Replies (13)

Hi all ! I just begin. Please:1. what compiler shall I use ? I use O.S. ubuntu Linux 16.04 2. Pthon language is included in Code::Blocks ?? 3. Give me..... More

Print this item

  Python object that returns tuples?
Posted by: alfredocabrera - Mar-27-2017, 06:05 AM - Forum: General Coding Help - Replies (1)

I need to read a file and return it's data in a object. I have a Table class with a read() method :
[python]class Table:
   def __init__(self,name='..... More

Print this item

  California Public Salary Files
Posted by: Larz60+ - Mar-26-2017, 08:57 PM - Forum: Web Scraping & Web Development - Replies (3)

California posts files containing salary and compensation of many (all?) public positions
on one of their websites. These files are all of the same ...... More


Attached Files

Thumbnail(s)
   
Print this item

  windows grep messed up
Posted by: Larz60+ - Mar-26-2017, 08:09 PM - Forum: General Coding Help - Replies (4)

I have long used windows (GNU) grep without incident ... until about 6 months ago
now when I use a command like:
[code]
grep -ri --include='*.py' '..... More

Print this item

  More Errors. Less Solutions.
Posted by: SyntaxError123 - Mar-26-2017, 06:05 PM - Forum: Homework - Replies (7)

I am now getting a new errors and or my code it not working rather!
[python]
animalType = input("What sort of animal do have, DOG or CAT? \n>")
ani..... More

Print this item

  Script for automated task help
Posted by: darkitecture - Mar-26-2017, 05:35 PM - Forum: General Coding Help - Replies (2)

Hi all 

first I would like to say thank you to metulburr for putting together all those learning resources in one place, your awesome. 

I plan o..... More

Print this item

  Python Help
Posted by: Sam - Mar-26-2017, 05:28 PM - Forum: Homework - Replies (5)

I am having troubles writing a textfile in PyScripter. the code I am trying is:


[python]filename = ("C:/RemoteSensing.txt")
f = open(filename, '..... More

Print this item

  Need help debugging
Posted by: SyntaxError123 - Mar-26-2017, 04:35 PM - Forum: Homework - Replies (3)

My class has been set a task to calculate the ages of cats and dogs.
Here are the requirements -
The Maths
Cats Equivalent Age
The f..... More

Print this item

  C++ to Python conversion
Posted by: Jellyboo - Mar-26-2017, 11:39 AM - Forum: General Coding Help - Replies (13)

Hello,

I wrote a programme a while back in C++ whilst at college, i am now trying to re-create it in python.

The project was a musical door bel..... More

Print this item

  Need your small help
Posted by: desul - Mar-26-2017, 11:38 AM - Forum: Homework - Replies (2)

HIII,

I want to count a number of words that contains string a. for e.g. 

a = Sophia
[sophia, Sophia beautiful, smile of Sophia,  Sophia's car ..... More

Print this item

  NameError: name 'App' is not defined
Posted by: nengkya - Mar-26-2017, 10:19 AM - Forum: GUI - Replies (4)

import kivy

class MyApp(App):
   def build(self):
       return Label(text='Hello world')
[modd=Larz60+]Added code tags and..... More

Print this item

  Choosing a random variable from 2 lists
Posted by: Liquid_Ocelot - Mar-26-2017, 01:54 AM - Forum: Homework - Replies (5)

Hey guys so I need to write a program that prints random cards from a list and prints it in a hand of 5 cards 

card 1
card 2
card 3
card 4
card..... More

Print this item

  Update value in Entry widget
Posted by: dannyH - Mar-25-2017, 11:18 PM - Forum: GUI - Replies (7)

I'm very new to tkinter. How do I get a value to display every time it changes? The code below only shows the last entry in the Entry widget, but prin..... More

Print this item

  Why isnt this word length selector working
Posted by: Ivan - Mar-25-2017, 09:44 PM - Forum: General Coding Help - Replies (6)

This is the hole program, its a basic hangman game however im just trying to extend it so it has some other functions like choosing your word length. ..... More

Print this item

  Python minesweeper game gtk3 get label value after click
Posted by: lukassz - Mar-25-2017, 08:14 PM - Forum: GUI - No Replies

I write simple minesweeper game in Python 2.7 with Gtk3. I have a problem with show value of label after click using [python]set_sensitive(False)[/pyt..... More

Print this item

  ODBC TO microsoft sql server 2014
Posted by: Papom - Mar-25-2017, 07:26 PM - Forum: Networking - Replies (4)

hello,
please help!

i am soo frustrated...

what am i doing wrong?

[python]import pyodbc
server = 'SQLEXPRESS'
database = 'TSQL2012'
usern..... More

Print this item

  PyGTK3, I can't Change Button and Table Backgorund Color using modify_bg method.
Posted by: harun2525 - Mar-25-2017, 07:22 PM - Forum: GUI - Replies (3)

hello, i can't change button and table bakckground color using modify_bg method i don't know how can i change. 


my code...

[python]
import gi..... More

Print this item

  move randomly sprites
Posted by: reutB - Mar-25-2017, 06:40 PM - Forum: Game Development - Replies (4)

Hello,
[size=small][font=Tahoma, sans-serif]I trying to make my sprites move randomly, I have defi..... More

Print this item

  Statistics: Two histograms based on word frequency vectors
Posted by: fancy_panther - Mar-25-2017, 05:53 PM - Forum: Data Science - Replies (2)

Hi guys!

I am stuck on a statistics question. I have two vectors, vector_negative and vector_positive. These vectors are populated with the number ..... More

Print this item

  Installing fuzzy wuzzy
Posted by: terrancepython11 - Mar-25-2017, 03:29 PM - Forum: General Coding Help - Replies (6)

When I look online, I've read that fuzzy wuzzy is included in the pip library, and that to install fuzzy wuzzy you simply write:

[code]pip install ..... More

Print this item

  List-Elements as instances of a class
Posted by: BigMan - Mar-25-2017, 02:07 PM - Forum: General Coding Help - Replies (3)

Hi,

in my Python-Script have a class.
Based on that class, several instances should be generated.
But because I do not know how many instances I ..... More

Print this item

  Elements of functional programming in Python course: need beta testers
Posted by: Empty_Tuple - Mar-25-2017, 10:00 AM - Forum: News and Discussions - Replies (1)

Hey there folks. 

[color=#222222][font=verdana, arial, helvetica, sans-se..... More

Print this item

  Coin Flip Program
Posted by: Warbit - Mar-25-2017, 09:19 AM - Forum: General Coding Help - Replies (11)

Not sure where I went wrong. I was trying to learn functions. By making a simple coin flip program and ran into a snag. Deleted my 50 extra imports :)..... More

Print this item

  Calling a function to return a list of percentages
Posted by: Liquid_Ocelot - Mar-25-2017, 08:47 AM - Forum: Homework - Replies (7)

Hey guys this is my first attempt at this program and I am having trouble with the second task which requires me to write a function that returns the ..... More

Print this item

  how to determine the minimum system requirment for the game i am creating?
Posted by: hsunteik - Mar-25-2017, 07:57 AM - Forum: General Coding Help - Replies (1)

I am creating a game like minecraft with pygame and opengl,how to test the system requirment of my game?
What do I do if my computer can't handle?
I..... More

Print this item

  comman line parsing
Posted by: Skaperen - Mar-25-2017, 03:49 AM - Forum: General Coding Help - Replies (2)

what is your favorite command line parsing tool?  i doubt if i use any such tool because of the way i make commands but i decided to look over ..... More

Print this item

  importing a config file prefixed with a dot
Posted by: Skaperen - Mar-25-2017, 03:23 AM - Forum: General Coding Help - Replies (16)

i want to establish a consistent scheme for config files for python program.  for programs made for unix and unix-like platforms i want to use config ..... More

Print this item

  Can Anyone Finish this off
Posted by: FeaRoNz - Mar-25-2017, 12:59 AM - Forum: Homework - Replies (5)

sorry im new here and new to python. can anyone help me finish this piece of code for me. 

really sorry im not sure how to put this code in a littl..... More

Print this item

  Can PyAudio (Port Audio) validly accept float values when writing to stream?
Posted by: cdrandin - Mar-24-2017, 11:19 PM - Forum: General Coding Help - Replies (1)

I am trying to send over audio data from an iOS device and send it to another device which is using PyAudio to play the sound.

I have been able to ..... More

Print this item

  Storing and using UI variables values across files
Posted by: xenas - Mar-24-2017, 09:43 PM - Forum: General Coding Help - Replies (5)

Hi all, not so sure where I should post my thread..
Anyways I have 2 ui files - main_ui and sub_ui, along with several other files eg. utils.py (..... More

Print this item

  Help with GUI
Posted by: BlazingD4NG3R - Mar-24-2017, 07:19 PM - Forum: General Coding Help - Replies (2)

Hey so I am learning python and i am doing stuff with tkinter and GUIs. I am trying to make a quiz however there is an error and i dont quite know how..... More

Print this item

  Need your help
Posted by: desul - Mar-24-2017, 05:38 PM - Forum: Homework - Replies (2)

HII,

How to extract only NP TAG from the below tree. 


i need this only e.g (NP Electrical/JJ power/NN)

[python]

toks = nltk.word_tokeniz..... More

Print this item

Forum stats
Latest posts
Topic Date, time  Author Last Sender Forum
  Help with Serial.write in... 4 hours ago racingsubby racingsubby General Codin...
  Backward compatibility qu... 6 hours ago yutaozhou yutaozhou News and Disc...
  [Tkinter] I’m building a ... 8 hours ago tsgiannis Gribouillis GUI
  [split] print two differe... Yesterday, 05:37 Reema Gribouillis General Codin...
  Data Science Yesterday, 05:27 Oshadha mamta25 Data Science
  Two arguments in input fu... 11-09, 00:56 Alfredd Pedroski55 General Codin...
  [openpyxl] Set the lockin... 11-07, 11:59 BelleroDev Pedroski55 General Codin...
  New Users Introduce Yours... 11-07, 09:09 Yoriz BelleroDev Bar
  Best book on learning Pyt... 11-07, 06:07 almahdi mamta25 News and Disc...
  Recommend me a Python boo... 11-06, 08:33 woodward mamta25 Data Science
  Code runs perfectly and j... 11-05, 17:56 compuman145 noisefloor General Codin...
Most views
  The best Prog... 578755
  Tutorial Requ... 509569
  Web Scraping ... 441883
  Newbie with P... 385854
  New Users Int... 375529
Most reputation
buran 581
snippsat 510
Larz60+ 452
Gribouillis 362
deanhystad 328
Most replies
  New Users Int... 452
  [book] Variou... 188
  CKEditor / Ri... 100
  moving from t... 95
  Free keys and... 91
Top posters
Larz60+ 12103
buran 8195
snippsat 7388
deanhystad 6907
metulburr 5151
Top referrers
Googlepro 23
metulburr 6
python 6
NonEntity 5
buran 3
Newest members
thebigback Yesterday
dimitriwati Yesterday
johnsonlucas83 Yesterday
ColorTig Yesterday
AcoolPurpleOne1863 Yesterday

User Panel Messages

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