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,424
» Latest member: tomtyiu
» Forum threads: 38,831
» Forum posts: 176,080

Full Statistics

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

Latest Threads
If I open a file write or...
Forum: General Coding Help
Last Post: Pedroski55
1 hour ago
» Replies: 6
» Views: 159
we open-sources faster py...
Forum: Code sharing
Last Post: tomtyiu
1 hour ago
» Replies: 0
» Views: 12
Ко ланта
Forum: General Coding Help
Last Post: RaymondNaw
2 hours ago
» Replies: 0
» Views: 16
Life advice
Forum: Bar
Last Post: Josephbar
5 hours ago
» Replies: 3
» Views: 3,583
Exponential Number Conver...
Forum: General Coding Help
Last Post: Jessicaadams
11 hours ago
» Replies: 5
» Views: 503
a function to watch files
Forum: News and Discussions
Last Post: Skaperen
Jan-11-2026, 05:21 AM
» Replies: 3
» Views: 757
python re.finditer return...
Forum: General Coding Help
Last Post: Pedroski55
Jan-11-2026, 02:57 AM
» Replies: 8
» Views: 550
Possible bug found, pleas...
Forum: General Coding Help
Last Post: alexajames
Jan-08-2026, 04:31 PM
» Replies: 14
» Views: 844
How to put my game loop i...
Forum: Game Development
Last Post: MarkHenry
Jan-08-2026, 12:47 PM
» Replies: 12
» Views: 7,796
Code failing to ask input...
Forum: Homework
Last Post: perfringo
Jan-08-2026, 06:35 AM
» Replies: 4
» Views: 750

 
  Pygame.mixer.music.load(...) not working
Posted by: JD3971 - Jan-07-2018, 08:13 PM - Forum: GUI - Replies (5)

Hi all, first time using pygame and relatively new with Python. pygame.mixer.music.load(listofsongs[0]) causes the program to not respond and cpu goes..... More

Print this item

  wank
Posted by: metulburr - Jan-07-2018, 06:28 PM - Forum: Code sharing - No Replies

fixed up a script found that no longer worked made for old school python. Now works for python3.x

[python]import sys
import time
import argparse..... More

Print this item

  Installing PyChrome
Posted by: simiugor - Jan-07-2018, 05:13 PM - Forum: Web Scraping & Web Development - Replies (5)

Hello,

I watched a tutorial for some basic web bot. I was told I need PyChrome and Selenium. I am just beginning with Python and my skills are real..... More

Print this item

  Question about os.walk() behaviour
Posted by: dfkettle - Jan-07-2018, 01:57 PM - Forum: General Coding Help - Replies (3)

I'm trying to write a small program to calculate how much disk space is used by each directory. It seems to work, except when it hits a directory that..... More

Print this item

  need help with crawling FB likes
Posted by: najla3 - Jan-07-2018, 12:51 PM - Forum: General Coding Help - Replies (2)

Hi,
I tried to crawl likes data from public page on FB, however, I can't crawl more than 6000 likes per day and most of the posts in that page have m..... More

Print this item

  Can this type of project be created with Python ?
Posted by: AbdallahBeraidaPro - Jan-07-2018, 12:33 PM - Forum: General Coding Help - Replies (7)

[b]Welcome developers
I learned the basics of Python, I want to do a project purpose task automation
Can this type of project be created with Python..... More

Print this item

  Using PyInstaller in PyCharm
Posted by: Oliver - Jan-07-2018, 11:44 AM - Forum: General Coding Help - Replies (6)

This question might have gotten lost in the other thread so here it is again.

I was able to get PyInstaller to work from the command line (thanks f..... More

Print this item

  Overwrite last printed line
Posted by: DeGerlash - Jan-07-2018, 10:59 AM - Forum: Homework - Replies (9)

Hi everyone,

I'm quite new to Python programming, which is why this thread is located in the Homework section: it's not because of a teacher that I..... More

Print this item

  using openpyxl copy the value of a cell, not the formula
Posted by: Pedroski55 - Jan-07-2018, 09:53 AM - Forum: General Coding Help - Replies (3)

Hi,

I want to copy just the first 7 columns of my excel sheets to a new file, but columns 4,5,6 and 7 contain formulas linked to lots of cells furt..... More

Print this item

  Merging CSV Files in Jupyter
Posted by: RJ117 - Jan-07-2018, 06:24 AM - Forum: General Coding Help - No Replies

Whenever I attempt to merge CSV files I receive the following:



df = pd.read_csv('C:/Users/RJ/Documents/FGB/JulSept.csv', 'C:/Users/RJ/Do..... More

Print this item

  How to fix UnboundLocalError
Posted by: Tawnwen - Jan-07-2018, 05:59 AM - Forum: General Coding Help - Replies (5)

The code below models a simple game that tests if an input occurs in the list. The function is called twice, then the total # of correct answers is pr..... More

Print this item

  Invalid syntax on IF function
Posted by: RandomCoder - Jan-07-2018, 02:09 AM - Forum: General Coding Help - Replies (3)

[python]guessnumber=0

import random
Mystery = random.randint(0,9)

while guessnumber==int(input("Guess a number between 0-9: ")):
if guessn..... More

Print this item

  Buildtools installation on python 3.6.4
Posted by: Larz60+ - Jan-07-2018, 02:01 AM - Forum: General Coding Help - Replies (14)

I'm trying to build a local copy of the wxpython pheonix documemtation.
I have installed sphinx without issue.
i then installed (or so i thought) bu..... More

Print this item

  PhotoImage and Jpeg images.
Posted by: rozen - Jan-06-2018, 10:06 PM - Forum: GUI - Replies (3)

Hi,

I find that PhotoImage does not handle jpeg images while Tk does.

I am building an open source GUI generator based on Tkinter and would like..... More

Print this item

  No route to host error when using requests.post in python on raspberry pi
Posted by: mariummalik22 - Jan-06-2018, 08:34 PM - Forum: General Coding Help - No Replies

I am trying to send post request to URL from raspberry pi but I am getting Errno 113: No route to host error.
My code is:
Code: Select all

import..... More

Print this item

  Massive discounts on Udemy
Posted by: j.crater - Jan-06-2018, 07:17 PM - Forum: News and Discussions - No Replies

A lot of discounted courses now on Udemy.New Year sale until 11 January, with some discounts as high as 95% off.
Are ..... More

Print this item

  No output in 'english word generator'
Posted by: DeGerlash - Jan-06-2018, 02:58 PM - Forum: Homework - Replies (14)

Hi everyone

I'm quite new to python, only been doing it for a semester now, so I don't really now quite a lot of syntax, in fact, the syntax I use ..... More

Print this item

  get certain data from json
Posted by: kappa123 - Jan-06-2018, 01:54 PM - Forum: General Coding Help - Replies (2)

I'm working on a small project to get better at Python. For that project I need some data from the Twitch API. I want to get all the display_names and..... More

Print this item

  TypeError: must be str, not bytes
Posted by: Zhsv - Jan-06-2018, 12:49 PM - Forum: General Coding Help - Replies (14)

Hi !

Error in this code:

Traceback (most recent call last):
File "C:/Cloud/Cripto/3.py", line 53, in <module>
print (api_query("GetBalance"))..... More

Print this item

  udp
Posted by: Skaperen - Jan-06-2018, 04:28 AM - Forum: News and Discussions - Replies (5)

has anyone here done any python programming of udp (user datagram protocol) or of any applications (written in python) that stack their protocol on ud..... More

Print this item

  Help with a function?
Posted by: Tawnwen - Jan-06-2018, 03:46 AM - Forum: General Coding Help - Replies (2)

Hello,

I'm very new to Python (and coding overall) and am taking my first course. Currently writing a function that takes a letter, space, or empty..... More

Print this item

  Just starting out, allready stuck..
Posted by: Sandman - Jan-05-2018, 11:17 PM - Forum: Homework - Replies (16)

Hi.

I'm not really a student, but i sort of made it a new year's resolution to learn how to code. This seemed like the appropriate place to ask my ..... More

Print this item

  Scripted update of web page
Posted by: treatitwell - Jan-05-2018, 09:07 PM - Forum: Web Scraping & Web Development - Replies (6)

I am not a developer per se. I try to find a way to update our CMDB database using Python (scripted bulk updates) and I stuck in a way.

Here is wha..... More

Print this item

  Create Python "Executable" from PyCharm?
Posted by: Oliver - Jan-05-2018, 08:45 PM - Forum: Data Science - Replies (8)

Is it possible to create a standalone python "application" using PyCharm on the mac?

I see a setup.py with lots of options under PyCharm's Tools me..... More

Print this item

  Excel Question
Posted by: karaokelove - Jan-05-2018, 05:45 PM - Forum: Data Science - Replies (12)

Hi all, I have a very specific Excel task I need to complete, and was hoping to get some advice.

I have a single Excel worksheet with roughly 30,00..... More

Print this item

  Needing help with python/tkinter and selenium
Posted by: wells218 - Jan-05-2018, 04:39 PM - Forum: Web Scraping & Web Development - Replies (1)

So I am writing a web bot with selenium, python 3, and TKinter(GUI). I want the user to input a keyword like 'Dog'. When they click the start button i..... More

Print this item

  Command in Bash not working in python
Posted by: pynoob - Jan-05-2018, 04:29 PM - Forum: General Coding Help - Replies (5)

I am receiving a 'No such file or directory' error on a command that is working in bash shell.
Here is the code:
[python]#!/bin/python
from datetim..... More

Print this item

  Python - Netezza cursor function help
Posted by: leojosefm - Jan-05-2018, 12:22 PM - Forum: General Coding Help - Replies (4)

Hello friends,

I'm trying to fetch all view defintions defined in a database using Python

query="SELECT DEFINITION FROM DATABSE1.._V_VIEW WHERE..... More

Print this item

  web scraping using selenium
Posted by: sumandas89 - Jan-05-2018, 10:54 AM - Forum: Web Scraping & Web Development - Replies (3)

I want to learn web scraping using selenium(like login into the website with/without username & password then scrolling into the page). There are so m..... More

Print this item

  code to understand the script execution
Posted by: Skaperen - Jan-05-2018, 06:27 AM - Forum: General Coding Help - Replies (2)

i'd like to have a script with a #! in the first line test to see if it was executed by a means that actually used the #! or if a python interpreter w..... More

Print this item

  how to think like a computer scientist
Posted by: broke_university_student - Jan-05-2018, 04:58 AM - Forum: Homework - Replies (6)

7. You look at the clock and it is exactly 2pm. You set an alarm to go off in 51 hours. At
what time does the alarm go off? (Hint: you could count on..... More

Print this item

  simple bounding box for opengl use.
Posted by: Windspar - Jan-05-2018, 04:08 AM - Forum: Code sharing - Replies (2)

[python]import numpy as np

class BoxProperty:
def __init__(self, pos, pos2=None, div=False):
self.pos = pos
self.pos2 = pos2..... More

Print this item

  methods for open files
Posted by: Skaperen - Jan-05-2018, 03:19 AM - Forum: General Coding Help - Replies (5)

i am looking for the documentation of all methods (and attributes, if any) of open file objects. i want to see what all is available, and, of course,..... More

Print this item

  [split] Problem with integers and strings
Posted by: aka2d7 - Jan-04-2018, 11:23 PM - Forum: General Coding Help - Replies (3)

Please help!
I very new to python and need to understand why I'm getting this error message for this output.
Traceback (most recent call last):
F..... More

Print this item

  help me with this libraries
Posted by: Kiasheen - Jan-04-2018, 09:32 PM - Forum: Data Science - Replies (7)

hello
I have a code starting with "from Classes import LoadAtom , Atom"
and I cant get them installed on my python
pakages like numpy and scipy ar..... More

Print this item

Forum stats
Latest posts
Topic Date, time  Author Last Sender Forum
  If I open a file write or... 1 hour ago Pedroski55 Pedroski55 General Codin...
  we open-sources faster py... 1 hour ago tomtyiu tomtyiu Code sharing
  Ко ланта 2 hours ago RaymondNaw RaymondNaw General Codin...
  Life advice 5 hours ago jamesaarr Josephbar Bar
  Exponential Number Conver... 11 hours ago Tuurbo46 Jessicaadams General Codin...
  a function to watch files 01-11, 05:21 Skaperen Skaperen News and Disc...
  python re.finditer return... 01-11, 02:57 arbiel Pedroski55 General Codin...
  Possible bug found, pleas... 01-08, 16:31 Hassher alexajames General Codin...
  How to put my game loop i... 01-08, 12:47 temlotresid6 MarkHenry Game Developm...
  Code failing to ask input... 01-08, 06:35 Phoenix_Narukami perfringo Homework
  sorting a lisr of file pa... 01-07, 07:13 Skaperen OtiliaGen News and Disc...
Most views
  The best Prog... 580766
  Tutorial Requ... 522451
  Web Scraping ... 442927
  New Users Int... 388258
  Newbie with P... 387150
Most reputation
buran 581
snippsat 511
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+ 12117
buran 8197
snippsat 7399
deanhystad 6921
metulburr 5151
Top referrers
Googlepro 23
metulburr 6
python 6
NonEntity 5
buran 3
Newest members
tomtyiu Today
RaymondNaw Yesterday
Josephbar Yesterday
zaasheytop3010 Yesterday
Avigma Yesterday

User Panel Messages

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