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,611
» Latest member: Thatedge
» Forum threads: 38,638
» Forum posts: 175,055

Full Statistics

Online Users
There are currently 457 online users.
» 0 Member(s) | 453 Guest(s)
Bing, Google, Baidu, Yandex

Latest Threads
Setting AST node lineno c...
Forum: General Coding Help
Last Post: voidtrance
Yesterday, 02:10 PM
» Replies: 5
» Views: 408
[SOLVED] Let user search ...
Forum: GUI
Last Post: deanhystad
Yesterday, 02:04 PM
» Replies: 3
» Views: 158
color names
Forum: General Coding Help
Last Post: DeaD_EyE
Yesterday, 08:10 AM
» Replies: 9
» Views: 199,345
Python Install Mager Help
Forum: News and Discussions
Last Post: DeaD_EyE
Yesterday, 04:43 AM
» Replies: 1
» Views: 107
tracking version during r...
Forum: News and Discussions
Last Post: DeaD_EyE
Yesterday, 04:15 AM
» Replies: 3
» Views: 615
Comparing two columns wit...
Forum: General Coding Help
Last Post: Pedroski55
Yesterday, 03:41 AM
» Replies: 3
» Views: 1,504
Convert any Python expres...
Forum: General Coding Help
Last Post: DeaD_EyE
Jun-23-2025, 07:06 AM
» Replies: 2
» Views: 311
Using EventSource in Pyth...
Forum: Web Scraping & Web Development
Last Post: snippsat
Jun-22-2025, 08:45 AM
» Replies: 1
» Views: 169
need help with tracking a...
Forum: General Coding Help
Last Post: gqdeep01
Jun-22-2025, 02:14 AM
» Replies: 0
» Views: 152
A penny doubled every day...
Forum: Homework
Last Post: DeaD_EyE
Jun-21-2025, 05:26 PM
» Replies: 5
» Views: 282

 
  Help with gyro code
Posted by: tmccoy33 - Mar-27-2017, 06:43 PM - Forum: General Coding Help - Replies (1)

Hello everyone. I am new to coding and I am working on a personal project at home. I have built an led matrix and I am using a Raspberry pi 3 with an ..... More

Print this item

  reading data from a file
Posted by: iFunKtion - Mar-27-2017, 04:20 PM - Forum: General Coding Help - Replies (3)

Hi,

I have this function, but I can't get it to work:
[python]
class DataTest( object ):
    def testReadData( self ):
        path = '/home/p..... More

Print this item

  Nginx Setup Django Postgresql Eclipse
Posted by: Adelton - Mar-27-2017, 01:34 PM - Forum: General Coding Help - Replies (3)

Hi There,

I am new to python and I have been having difficulties setting up a development environment .I want to setup a Django Project in eclipse ..... More

Print this item

  I don't understand this result
Posted by: Ponomarenko Pavlo - Mar-27-2017, 12:03 PM - Forum: General Coding Help - Replies (5)

>>> a = [1, 2, 4, 5]
>>> def az():
            x * 2

>>> q = map(az, [2, 3, 4])
>>> list(q)
[None, None, None]

Print this item

  ibm_db error even though package is installed
Posted by: runnerpaul - Mar-27-2017, 11:09 AM - Forum: General Coding Help - Replies (6)

Hi,

I've installed ibm_db to project interpreter but when I run my script I get the following error:

[error]/Library/Frameworks/Python.framework..... More

Print this item

  Installing cartopy on Windows 10
Posted by: varung1985 - Mar-27-2017, 10:50 AM - Forum: General Coding Help - Replies (1)

I was able to install using:

conda install -c conda-forge cartopy=0.15.1

Print this item

  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 (10)

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

Forum stats
Latest posts
Topic Date, time  Author Last Sender Forum
  Setting AST node lineno c... Yesterday, 14:10 voidtrance voidtrance General Codin...
  [WxPython] [SOLVED] Let u... Yesterday, 14:04 Winfried deanhystad GUI
  color names Yesterday, 08:10 jimrinaldo DeaD_EyE General Codin...
  Python Install Mager Help Yesterday, 04:43 bowens1983 DeaD_EyE News and Disc...
  tracking version during r... Yesterday, 04:15 Skaperen DeaD_EyE News and Disc...
  Comparing two columns wit... Yesterday, 03:41 doug2019 Pedroski55 General Codin...
  Convert any Python expres... 06-23, 07:06 voidtrance DeaD_EyE General Codin...
  Using EventSource in Pyth... 06-22, 08:45 rbadis snippsat Web Scraping ...
  need help with tracking a... 06-22, 02:14 gqdeep01 gqdeep01 General Codin...
  A penny doubled every day... 06-21, 17:26 esoyboy DeaD_EyE Homework
  I have a question 06-21, 09:26 Clictithe noisefloor General Codin...
Most views
  The best Prog... 572322
  Tutorial Requ... 484906
  Web Scraping ... 436854
  Newbie with P... 379687
  Thread remain... 351231
Most reputation
buran 581
snippsat 507
Larz60+ 452
Gribouillis 362
deanhystad 327
Most replies
  New Users Int... 450
  [book] Variou... 188
  CKEditor / Ri... 100
  moving from t... 95
  Free keys and... 91
Top posters
Larz60+ 12067
buran 8173
snippsat 7340
deanhystad 6840
metulburr 5151
Top referrers
Googlepro 24
python 6
metulburr 6
NonEntity 5
buran 3
Newest members
Thatedge Today
Gdeshmukh Today
wolf7pay Yesterday
zaellasasdo7842 Yesterday
NataschaKamran304 Yesterday

User Panel Messages

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