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,263
» Latest member: aanthonymaaleyo3938
» Forum threads: 38,787
» Forum posts: 175,849

Full Statistics

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

Latest Threads
How to make ball stay wit...
Forum: General Coding Help
Last Post: deanhystad
Yesterday, 04:07 PM
» Replies: 2
» Views: 97
PermissionError: [Errno 1...
Forum: GUI
Last Post: deanhystad
Yesterday, 02:42 PM
» Replies: 1
» Views: 66
Graph Interpolate Difficu...
Forum: General Coding Help
Last Post: deanhystad
Yesterday, 01:54 PM
» Replies: 1
» Views: 63
sorting a lisr of file pa...
Forum: News and Discussions
Last Post: DeaD_EyE
Yesterday, 01:00 PM
» Replies: 5
» Views: 316
conditional nested loops
Forum: News and Discussions
Last Post: Skaperen
Nov-14-2025, 11:31 PM
» Replies: 0
» Views: 45
PyQt6 QWidgets and system...
Forum: GUI
Last Post: stevecoh1
Nov-14-2025, 06:38 PM
» Replies: 0
» Views: 75
[solved] re.split issue
Forum: General Coding Help
Last Post: deanhystad
Nov-14-2025, 06:02 PM
» Replies: 10
» Views: 269
Please guide me to comple...
Forum: General Coding Help
Last Post: Larz60+
Nov-14-2025, 03:33 PM
» Replies: 3
» Views: 144
New to python and coding
Forum: Homework
Last Post: jefsummers
Nov-13-2025, 07:58 PM
» Replies: 6
» Views: 240
Backward compatibility qu...
Forum: News and Discussions
Last Post: noisefloor
Nov-13-2025, 11:52 AM
» Replies: 6
» Views: 424

 
  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

  Need help with octree
Posted by: cee012 - Jan-04-2018, 08:26 PM - Forum: General Coding Help - Replies (1)

Hello I'm trying to implement an octree, but when I query the centre positions they all return zero, but these should be offset from zero. Here is my ..... More

Print this item

  PIL: "ValueError: Images do not match"
Posted by: jajjaja - Jan-04-2018, 06:51 PM - Forum: General Coding Help - No Replies

I'm trying to write a script which selects part of a given image and tiles it in one of a variety of ways. For this, I'm using pillow (archlinux's pa..... More

Print this item

  Reading Binary File, Missing Occurences
Posted by: Oliver - Jan-04-2018, 04:33 PM - Forum: General Coding Help - Replies (4)

I am reading a set of binary files (some, not all) recursively in a directory structure. These files are now-ancient Visual Foxpro files of various ty..... More

Print this item

  While loop variable defining
Posted by: Yordy - Jan-04-2018, 04:08 PM - Forum: General Coding Help - Replies (5)

Hey guys I want to create something like a database here is my code
i=0
#f=open('t.txt', 'w')
#f.write('Hello')
while True:
name=input('Name..... More

Print this item

  Curses could not find terminal
Posted by: Solstice - Jan-04-2018, 02:18 PM - Forum: General Coding Help - Replies (13)

I want to start programming with the module curses in Python on my
Raspberry pi3(with rasbian), But I already ran into a problem.

I wrote my firs..... More

Print this item

  Bug or my misunderstanding?
Posted by: MrSteveVee - Jan-04-2018, 02:13 PM - Forum: General Coding Help - Replies (2)

Hi all, I am trying to get to grips with Python using Visual Studio 2017 on Windows 10 and have a problem that may be a bug in VS or my misunderstandi..... More

Print this item

  cross-compiling python with zlib support
Posted by: michelebucca - Jan-04-2018, 01:19 PM - Forum: News and Discussions - Replies (5)

Hi There
Has anybody ever tried to cross-compile python with zlib support for another architecture?
I'm trying to cross-compile Python for my embedded..... More

Print this item

  Error while executing makemessages command
Posted by: sonic911 - Jan-04-2018, 10:19 AM - Forum: Web Scraping & Web Development - Replies (2)

Hello!
I'm creating multilingual website.

When I try to execute:

$python manage.py makemessages -l de
I get an error:

[python]..... More

Print this item

  df and regex, NaN and df.concat
Posted by: metalray - Jan-04-2018, 10:04 AM - Forum: Homework - Replies (8)

Hi Pandas experts,

I got some messy data with dates like:

[b]04/20/2001; 04/20/11; 4/20/09; 4/3/01
Mar-20-2001; Dec 20, 2009; April 20, 2009; M..... More

Print this item

  Pregnancy caculator
Posted by: Niko - Jan-04-2018, 08:57 AM - Forum: General Coding Help - Replies (2)

How do I make it so whenever I input "condom pullout birthcontrol spermicide" to work



[python]
print("pregnant percentage").upper()
print("-"..... More

Print this item

  Array NaN values? ValueError: continuous format is not supported
Posted by: metalray - Jan-04-2018, 08:44 AM - Forum: Homework - Replies (3)

Hi,

I do have this ValueError: continuous format is not supported problem again.

[python]
auc_roc = roc_auc_score(fpr, tpr)

#"roc_auc" is a ..... More

Print this item

  Python 3.6 geetin error : pyimod03_importers.py
Posted by: Rajnishbsm - Jan-04-2018, 06:31 AM - Forum: Data Science - Replies (3)

Hi experts,
After converting python program to exe, i am getting pyimod03_importers.py error
Although I have imported pandas,xlrd,numpy and pyinsta..... More

Print this item

Forum stats
Latest posts
Topic Date, time  Author Last Sender Forum
  How to make ball stay wit... Yesterday, 16:07 nathanael deanhystad General Codin...
  PermissionError: [Errno 1... Yesterday, 14:42 Tuurbo46 deanhystad GUI
  Graph Interpolate Difficu... Yesterday, 13:54 Tuurbo46 deanhystad General Codin...
  sorting a lisr of file pa... Yesterday, 13:00 Skaperen DeaD_EyE News and Disc...
  conditional nested loops 11-14, 23:31 Skaperen Skaperen News and Disc...
  PyQt6 QWidgets and system... 11-14, 18:38 stevecoh1 stevecoh1 GUI
  [solved] re.split issue 11-14, 18:02 paul18fr deanhystad General Codin...
  Please guide me to comple... 11-14, 15:33 pbkurd Larz60+ General Codin...
  New to python and coding 11-13, 19:58 lary_p jefsummers Homework
  Backward compatibility qu... 11-13, 11:52 yutaozhou noisefloor News and Disc...
  why is the image not show... 11-12, 19:26 sarbogast deanhystad General Codin...
Most views
  The best Prog... 579007
  Tutorial Requ... 510803
  Web Scraping ... 442022
  Newbie with P... 386058
  New Users Int... 377407
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+ 12108
buran 8195
snippsat 7388
deanhystad 6913
metulburr 5151
Top referrers
Googlepro 23
metulburr 6
python 6
NonEntity 5
buran 3
Newest members
aanthonymaaleyo3938 Today
chuhlowe Yesterday
SledgeNE Yesterday
nathanael 11-14
JamesFalkner 11-14

User Panel Messages

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