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,622
» Latest member: Robert_Ruben
» Forum threads: 38,637
» Forum posts: 175,059

Full Statistics

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

Latest Threads
PyQT5 Thread crashes afte...
Forum: GUI
Last Post: Axel_Erfurt
3 hours ago
» Replies: 2
» Views: 3,046
List[] in Python needs so...
Forum: Game Development
Last Post: miajones
Today, 11:14 AM
» Replies: 2
» Views: 345
Unable to install pygame ...
Forum: Game Development
Last Post: Thatedge
Today, 08:09 AM
» Replies: 2
» Views: 2,068
can't use pyrepl: bad mag...
Forum: News and Discussions
Last Post: Plyth
Today, 05:53 AM
» Replies: 2
» Views: 232
Setting AST node lineno c...
Forum: General Coding Help
Last Post: voidtrance
Jun-24-2025, 02:10 PM
» Replies: 5
» Views: 475
[SOLVED] Let user search ...
Forum: GUI
Last Post: deanhystad
Jun-24-2025, 02:04 PM
» Replies: 3
» Views: 194
color names
Forum: General Coding Help
Last Post: DeaD_EyE
Jun-24-2025, 08:10 AM
» Replies: 9
» Views: 199,380
Python Install Mager Help
Forum: News and Discussions
Last Post: DeaD_EyE
Jun-24-2025, 04:43 AM
» Replies: 1
» Views: 138
tracking version during r...
Forum: News and Discussions
Last Post: DeaD_EyE
Jun-24-2025, 04:15 AM
» Replies: 3
» Views: 632
Comparing two columns wit...
Forum: General Coding Help
Last Post: Pedroski55
Jun-24-2025, 03:41 AM
» Replies: 3
» Views: 1,540

 
  Output on same line
Posted by: takaa - May-03-2017, 10:02 AM - Forum: General Coding Help - Replies (4)

Hi,

I made a little code to extract some stock quotes. 

[python]open('outputyahoo.txt', 'w').close()
from yahoo_finance import Share
symbolfil..... More

Print this item

  Strange logic! :)
Posted by: alsimm - May-03-2017, 09:49 AM - Forum: General Coding Help - Replies (10)

Hi all
python 2.7
can someone explain the logic here I am confused Confused (doesn't take much to confuse me Smile
In the first example ev..... More

Print this item

  sqlite 3 python help
Posted by: yuvalsaias - May-03-2017, 07:16 AM - Forum: General Coding Help - Replies (9)

[align=left]hello everyone i have a problem as you can see in the code and i don't know how to fix it, i need your help please with this situation abo..... More

Print this item

  Requisites for live data extraction and display
Posted by: Denniz - May-03-2017, 12:59 AM - Forum: Web Scraping & Web Development - Replies (1)

Dear all,

im a noob, but would like to create a monitor for certain purposes.
a friend told me python would be a viable option to conceive this in..... More

Print this item

  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

Forum stats
Latest posts
Topic Date, time  Author Last Sender Forum
  [PyQt] PyQT5 Thread crash... 3 hours ago Suresh Axel_Erfurt GUI
  List[] in Python needs so... Today, 11:14 Codingdesigner12 miajones Game Developm...
  Unable to install pygame ... Today, 08:09 garthE Thatedge Game Developm...
  can't use pyrepl: bad mag... Today, 05:53 eliastw85 Plyth News and Disc...
  Setting AST node lineno c... 06-24, 14:10 voidtrance voidtrance General Codin...
  [WxPython] [SOLVED] Let u... 06-24, 14:04 Winfried deanhystad GUI
  color names 06-24, 08:10 jimrinaldo DeaD_EyE General Codin...
  Python Install Mager Help 06-24, 04:43 bowens1983 DeaD_EyE News and Disc...
  tracking version during r... 06-24, 04:15 Skaperen DeaD_EyE News and Disc...
  Comparing two columns wit... 06-24, 03:41 doug2019 Pedroski55 General Codin...
  Convert any Python expres... 06-23, 07:06 voidtrance DeaD_EyE General Codin...
Most views
  The best Prog... 572345
  Tutorial Requ... 484977
  Web Scraping ... 436869
  Newbie with P... 379702
  Thread remain... 351238
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
Robert_Ruben Today
luxorb Today
SPODGEBOB Today
livecricket Today
miajones Today

User Panel Messages

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