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,247
» Latest member: Kacper
» Forum threads: 38,779
» Forum posts: 175,813

Full Statistics

Online Users
There are currently 51 online users.
» 1 Member(s) | 45 Guest(s)
Bing, Google, Apple, AOL, tsgiannis

Latest Threads
New to python and coding
Forum: Homework
Last Post: Larz60+
8 hours ago
» Replies: 1
» Views: 49
I’m building a Python Dat...
Forum: GUI
Last Post: tsgiannis
9 hours ago
» Replies: 11
» Views: 256
Help with Serial.write in...
Forum: General Coding Help
Last Post: Larz60+
9 hours ago
» Replies: 3
» Views: 94
Backward compatibility qu...
Forum: News and Discussions
Last Post: Gribouillis
Today, 05:07 AM
» Replies: 5
» Views: 230
[split] print two differe...
Forum: General Coding Help
Last Post: Gribouillis
Yesterday, 05:37 AM
» Replies: 1
» Views: 88
Data Science
Forum: Data Science
Last Post: mamta25
Yesterday, 05:27 AM
» Replies: 3
» Views: 2,600
Two arguments in input fu...
Forum: General Coding Help
Last Post: Pedroski55
Nov-09-2025, 12:56 AM
» Replies: 4
» Views: 186
[openpyxl] Set the lockin...
Forum: General Coding Help
Last Post: Pedroski55
Nov-07-2025, 11:59 AM
» Replies: 3
» Views: 170
New Users Introduce Yours...
Forum: Bar
Last Post: BelleroDev
Nov-07-2025, 09:09 AM
» Replies: 452
» Views: 375,853
Best book on learning Pyt...
Forum: News and Discussions
Last Post: mamta25
Nov-07-2025, 06:07 AM
» Replies: 2
» Views: 3,408

 
  Directory error? Mac
Posted by: jconway2190 - May-02-2017, 08:25 PM - Forum: General Coding Help - Replies (3)

Hi there,

First post here, i've been messing around with Python for a while now and recently decided to do an online class about it. I've been doin..... More

Print this item

  Display error, beginner help :(
Posted by: Armandas - May-02-2017, 07:57 PM - Forum: General Coding Help - Replies (1)

Hello, still noob and probably going to be like that for few months or so... Anyway, so I've been trying to get this to work, went over it around 4 ti..... More

Print this item

  Ways to check if the variable works.
Posted by: AlwaysNew - May-02-2017, 07:48 PM - Forum: Homework - Replies (3)

Hi this might be a obvious answer but I cant get the random number to display when i put my name as ranNum , This is kind of a dev key to see if the r..... More

Print this item

  Fun TicTacToe
Posted by: RuthlessLlama - May-02-2017, 07:34 PM - Forum: Game Development - Replies (1)

Hey, I had to create a game for my comp science class

Check it out!

Give me some feedback if you'd like

I'm currently working on a 'hard' version b..... More

Print this item

  Looking for critique on my code
Posted by: zeevo234 - May-02-2017, 04:39 PM - Forum: General Coding Help - Replies (11)

I'm a beginner in python, and have worked on making a script that solves quadratic functions. The code works, as far as I'm aware, and I've even imple..... More

Print this item

  popup message box code runs in Windows, but not in Linux
Posted by: Luke_Drillbrain - May-02-2017, 04:22 PM - Forum: GUI - Replies (13)

This code is straight from a Bucky Roberts tutorial.  (https://www.youtube.com/watch?v=IB6VkXJVf0Y)

[python]
from tkinter import *

import tkint..... More

Print this item

  ad-blocker-blocker
Posted by: metulburr - May-02-2017, 04:10 PM - Forum: Bar - Replies (6)

How come i have never heard of this? I was about to ask how to stop this very thing when i came across it.
https://github.com/reek/anti-adblock-kille..... More

Print this item

  Alphabeta pruning error
Posted by: Zeflonex - May-02-2017, 01:02 PM - Forum: Homework - Replies (1)

the beta yielded is not the expected one, i thinks its a problem in the modulo section , but  cannot pinpoint it exactly

[python]tree = [[[5, 1, 2]..... More

Print this item

  Exception capture, logging and grouping services
Posted by: caxis - May-02-2017, 10:51 AM - Forum: Bar - Replies (3)

I know the RoR (Ruby on Rails) community relies on error/exception logging or grouping services.

Do any of you use an exception tracking or excepti..... More

Print this item

  Cannot import Pygame
Posted by: PySoD - May-02-2017, 08:43 AM - Forum: General Coding Help - Replies (9)

I cannot import pygame.i dont know why?.i could use some help

Error:
ModueNotFoundError:No module named pygame

Print this item

  Which is best for python?Linux or windows?
Posted by: PySoD - May-02-2017, 08:09 AM - Forum: News and Discussions - Replies (21)

Which is the best OS for python ?Linux OS or Windows OS?

Print this item

  error 'ring' is not a callable object
Posted by: JakeWitten - May-02-2017, 04:45 AM - Forum: Homework - Replies (1)

I'm trying to get the ball to fly through a series of rings, but I keep getting this error message 'ring' is not a callable object.  The strange thing..... More

Print this item

  Reverse string sentence with for loop?
Posted by: BillGates - May-02-2017, 03:53 AM - Forum: Homework - Replies (3)

Hello, last week our class had a homework assignment in which we created a function which that capitalized all of the even words within a sentence, an..... More

Print this item

  named tuples
Posted by: Skaperen - May-02-2017, 03:34 AM - Forum: News and Discussions - Replies (20)

so i got a named tuple.  how can code get a list of just the names (much like getting the keys of a dict)?  the built-in dir() function (gets a list o..... More

Print this item

  data push from logger to server
Posted by: asdfasdf - May-01-2017, 09:00 PM - Forum: Web Scraping & Web Development - Replies (2)

Hello,

Newb question here...

I'm trying to figure out how to push data from an electrical meter that is capable of sending XML to a server thru ..... More

Print this item

  Extract nouns out of a CoNLL-file
Posted by: MattaFX - May-01-2017, 05:31 PM - Forum: General Coding Help - Replies (3)

Hi everybody,

I've got a CoNLL-file, which looks like this:

[quote]
[color=#000000][size=x-small][font=Arial, Helvetica, sans-serif][color=#000..... More

Print this item

  Code completion for namedtupe-based object in PyCharm
Posted by: volcano63 - May-01-2017, 05:24 PM - Forum: General Coding Help - Replies (4)

Hi,
I am defining an Enum-style object as a wrapper for string constants
[python]import time, re, collections
def make_enum(*enum_..... More

Print this item

  Closing an image opened by Pillow in Window Photo Viewer
Posted by: bigmit37 - May-01-2017, 03:49 PM - Forum: General Coding Help - Replies (16)

I'm trying to close each image opened via iteration, within each iteration.




[code]for i in Final_Bi..... More

Print this item

  object class
Posted by: ichabod801 - May-01-2017, 01:36 PM - Forum: General Coding Help - Replies (6)

[output]>>> x.name = 'Fred'
>>> fred = object()
>>> fred.name = 'Fred'
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
A..... More

Print this item

  Why glGenVertexArray()gives access violation error?
Posted by: hsunteik - May-01-2017, 12:40 PM - Forum: General Coding Help - Replies (4)

[align=left]My old error,the NullFunctionError is solved by creating a opengl context before calling the opengl function,but now I get a new error,tha..... More

Print this item

  Append to dataframe with for loop
Posted by: nocoffeenoworkee - May-01-2017, 11:44 AM - Forum: General Coding Help - No Replies

I'm trying to loop through a list(y) and output by appending a row for each item to a dataframe.

[color=#333333][python]y=[d..... More

Print this item

  loops goes on forever
Posted by: alsimm - May-01-2017, 11:04 AM - Forum: General Coding Help - Replies (8)

Hello all, Smile
python 2.7
The following code uses input to get 3 numbers then adds them up.I then placed it into a while loop
thinking that ..... More

Print this item

  import commands modules not working in python 3.6.0
Posted by: bmohanraj91 - May-01-2017, 09:59 AM - Forum: General Coding Help - Replies (2)

I have updated the python version to 3.6.0. I am trying to "import commands" modules so I could save the shell commands for some purpose, but I am get..... More

Print this item

  python - Custom POS tagging with NLTK
Posted by: desul - May-01-2017, 09:38 AM - Forum: Homework - No Replies

Please HELP me,

I want to build custom pos tagging with nltk 3.2.2,  I have tried with the following code but I am getting following errors ............ More

Print this item

  print() statement not executing..
Posted by: bmohanraj91 - May-01-2017, 08:38 AM - Forum: General Coding Help - Replies (3)

Hi guys,

I am pretty new to program, I have written a program that copies files from one directory to other, issue is not in that. Issue is with th..... More

Print this item

  How do you do method chaining?
Posted by: nilamo - May-01-2017, 02:36 AM - Forum: Web Scraping & Web Development - Replies (5)

How do you guys do method chaining?  Everything I've tried to break method calls across multiple lines looks pretty ugly.
Or do you guys just not do ..... More

Print this item

  when repr() fails
Posted by: Skaperen - May-01-2017, 02:25 AM - Forum: General Coding Help - Replies (8)

what function can convert a string containing unprintable binary characters to source code compatible escape sequences that can restore that binary ch..... More

Print this item

  Visiting websites and taking screenshots implicitly?
Posted by: bigmit37 - May-01-2017, 12:40 AM - Forum: Web Scraping & Web Development - Replies (4)

I wanted to visit some websites via python and take screenshots of the website without opening up the browser. Is this possible? 

I was recommended..... More

Print this item

  PyGtk3, How to Create “title-changed” signal for Gtk.Window Widget?
Posted by: harun2525 - Apr-30-2017, 09:28 PM - Forum: GUI - Replies (2)

i want create signal that runs when title of window changed.

example

[python]
    def printTitleChanged(windowName):
        print("title of",..... More

Print this item

  First Post/ Class Error Question
Posted by: jvan1601 - Apr-30-2017, 08:30 PM - Forum: General Coding Help - Replies (2)

Hello everyone, this is my first post on this (or any) forum. Python is my first programming language, and I am learning it on my own time as a hobby...... More

Print this item

  Single User Dungeon
Posted by: tckay - Apr-30-2017, 06:13 PM - Forum: Homework - Replies (1)

Alright so i am total beginner here and I need help with what the code should look like to allow players to interact with other items in the room. I c..... More

Print this item

  GTIN-8 Code
Posted by: harry183713718312378 - Apr-30-2017, 06:11 PM - Forum: Homework - Replies (1)

I'm struggling with some coding. The question is "Create a suitable text file to use with a high-level programming language containing a list of produ..... More

Print this item

  Simplyfy
Posted by: podge - Apr-30-2017, 04:38 PM - Forum: General Coding Help - Replies (7)

The last time I did any coding was about 30 years ago and that was basic. Python seems to have a similar syntax so I thought I would dip my toe in the..... More

Print this item

  can not import name invalidate_caches
Posted by: Bani - Apr-30-2017, 04:37 PM - Forum: General Coding Help - Replies (11)

Hi,
I use Python 2.7. I have an Import Error: can not import name invalidate_caches. What should I do? 

[python]from importlib import invalidate_c..... More

Print this item

  Are braces rather than indentation ever wanted?
Posted by: michaelcollier - Apr-30-2017, 03:21 PM - Forum: General Coding Help - Replies (22)

I have a small application that can convert indented python3 code into the equivalent code with braces {} and back again to indented python.

Here i..... More

Print this item

Forum stats
Latest posts
Topic Date, time  Author Last Sender Forum
  New to python and coding 8 hours ago lary_p Larz60+ Homework
  [Tkinter] I’m building a ... 9 hours ago tsgiannis tsgiannis GUI
  Help with Serial.write in... 9 hours ago racingsubby Larz60+ General Codin...
  Backward compatibility qu... Today, 05:07 yutaozhou Gribouillis News and Disc...
  [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
Most views
  The best Prog... 578796
  Tutorial Requ... 509723
  Web Scraping ... 441906
  Newbie with P... 385895
  New Users Int... 375853
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+ 12105
buran 8195
snippsat 7388
deanhystad 6907
metulburr 5151
Top referrers
Googlepro 23
metulburr 6
python 6
NonEntity 5
buran 3
Newest members
Kacper Today
isla123456 Today
vibrometro Today
thebigback Yesterday
dimitriwati Yesterday

User Panel Messages

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