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 27 online users.
» 0 Member(s) | 23 Guest(s)
Bing, Google, AOL, Mojeek

Latest Threads
How to make ball stay wit...
Forum: General Coding Help
Last Post: deanhystad
9 hours ago
» Replies: 2
» Views: 85
PermissionError: [Errno 1...
Forum: GUI
Last Post: deanhystad
10 hours ago
» Replies: 1
» Views: 52
Graph Interpolate Difficu...
Forum: General Coding Help
Last Post: deanhystad
11 hours ago
» Replies: 1
» Views: 52
sorting a lisr of file pa...
Forum: News and Discussions
Last Post: DeaD_EyE
Yesterday, 01:00 PM
» Replies: 5
» Views: 311
conditional nested loops
Forum: News and Discussions
Last Post: Skaperen
Nov-14-2025, 11:31 PM
» Replies: 0
» Views: 44
PyQt6 QWidgets and system...
Forum: GUI
Last Post: stevecoh1
Nov-14-2025, 06:38 PM
» Replies: 0
» Views: 69
[solved] re.split issue
Forum: General Coding Help
Last Post: deanhystad
Nov-14-2025, 06:02 PM
» Replies: 10
» Views: 260
Please guide me to comple...
Forum: General Coding Help
Last Post: Larz60+
Nov-14-2025, 03:33 PM
» Replies: 3
» Views: 136
New to python and coding
Forum: Homework
Last Post: jefsummers
Nov-13-2025, 07:58 PM
» Replies: 6
» Views: 235
Backward compatibility qu...
Forum: News and Discussions
Last Post: noisefloor
Nov-13-2025, 11:52 AM
» Replies: 6
» Views: 419

 
  Trouble importing text from a .docx file
Posted by: atinesh922 - Dec-24-2017, 04:46 PM - Forum: General Coding Help - Replies (3)

I am trying tokenize words of a Word Document Doc.docx having a sentence This is a doc file. But unfortunately, each..... More

Print this item

  If/ Or if/ temp controlled fan.
Posted by: clueless - Dec-24-2017, 03:58 PM - Forum: General Coding Help - Replies (5)

Good afternoon.

I am trying to turn on a fan automatically when it reaches a certain temperature and have borrowed this code to the letter. I reall..... More

Print this item

  listening to USB
Posted by: DPaul - Dec-24-2017, 03:50 PM - Forum: General Coding Help - Replies (3)

Hi,

I have made some progress into the not-so-easy listening to input from USB busses.
The setup:
RPi 3, python

I have 3 (identical) numerical..... More

Print this item

  Christmas image
Posted by: snippsat - Dec-24-2017, 12:34 PM - Forum: Bar - Replies (2)

It happens that i make a Christmas image.
Here one from this year,and i post the one from last year to.
Tools used is someone wonder:
3ds-max(Coron..... More

Print this item

  TCP ping time mesure diffrence from other tools
Posted by: tbaror - Dec-24-2017, 12:17 PM - Forum: Networking - Replies (2)

Hello,

I am trying to write a simple tool that measures the TCP port open, the code works well.
The issue I have is that when I compare the TCP ping ..... More

Print this item

  CompileError: Unable to find vcvarsall.bat
Posted by: roni_im - Dec-24-2017, 11:36 AM - Forum: Data Science - Replies (1)

Hi,
I'm using python 2.7 with anaconda.
I try to run a file that uses the function weave.inline() however I get the error:
"CompileError: error: Un..... More

Print this item

  Anaconda pytorch error
Posted by: Prince_Bhatia - Dec-24-2017, 10:56 AM - Forum: General Coding Help - Replies (1)

hi,

i am have installed anaconda on my system and trying to install pytorch on my system,

I am using a yml file in which there is no pytorch f..... More


Attached Files

Thumbnail(s)
   
Print this item

  Merry Christmas
Posted by: DeaD_EyE - Dec-24-2017, 10:24 AM - Forum: Bar - Replies (4)

I wish all programmers and their families Merry Christmas.

   

Print this item

  SQL query with MariaDB
Posted by: vogll - Dec-24-2017, 06:43 AM - Forum: General Coding Help - No Replies

Hi,
I read more tutorials and try use PyMySQL. I resolv some problems :

- which is the best library for SQL and MariaDB ? (I found MysqlDB, PyMySQ..... More

Print this item

  compiling to python-- should ; be used or not?
Posted by: ezdev - Dec-24-2017, 03:43 AM - Forum: News and Discussions - Replies (4)

the way i code uses ; a lot-- it puts statements together like this:

print(5) ; print (12)
the reason i do this is because it f..... More

Print this item

  Check if integer is between two values
Posted by: Wolfpack2605 - Dec-24-2017, 12:47 AM - Forum: Homework - Replies (3)

Hi,
I am quite new to Python and I am having trouble with solving a problem with an online course I am undertaking on Grok Learning. This is the ques..... More

Print this item

  asyncio: run_until_complete() returns when the first of gathered Futures is set
Posted by: saavedra29 - Dec-23-2017, 10:24 PM - Forum: General Coding Help - No Replies

i have the following code:
[python]
import asyncio
import functools

class EchoClientProtocol(asyncio.Protocol):
def __init__(self, message,..... More

Print this item

  Code review needed for a basic repl implementation
Posted by: RickyWilson - Dec-23-2017, 09:57 PM - Forum: Code sharing - Replies (2)

Here is a very basic object orientated implementation of a read evaluate print loop AKA REPL. I encluded REShell to demonstrate how one could use Repl..... More

Print this item

  Newbie question to add columns in dataframe
Posted by: zydjohn - Dec-23-2017, 08:30 PM - Forum: General Coding Help - Replies (1)

Hello:
I have a CSV file (C:\Temp\NameList.CSV), it has exactly 20,000 records, like this:
First Name, Last Name (Field names)
John, Doe
......
X..... More

Print this item

  Beginner question: help ensuring input is a number
Posted by: ycrad - Dec-23-2017, 07:02 PM - Forum: General Coding Help - Replies (2)

Hello, I am very new to programming - so please excuse the incredibly beginner question.

I have been trying to a write a couple of lines of code an..... More

Print this item

  Basic Python Question
Posted by: fs8 - Dec-23-2017, 06:42 PM - Forum: General Coding Help - Replies (7)

Hi all,

My code is not working. Why?



print('enter your email for registration')
entered=input('your email is:')
if(entered=="",'@hotmail.c..... More

Print this item

  function definition (pycharm)
Posted by: raulseangarciaroberts - Dec-23-2017, 06:35 PM - Forum: General Coding Help - Replies (3)

Ok so i´m new to coding and have ZERO experience in this...I am reading a book i found online and i am trying to do some of the activties that are sho..... More

Print this item

  Multiprocessing doesn't work in this code
Posted by: mraabs - Dec-23-2017, 05:28 PM - Forum: General Coding Help - Replies (4)

Hi there,
I wrote this simple packet interceptor app using pypacker. when I run this code by just calling the [inline]start_monitor[/..... More

Print this item

  Updating Point Graphics Coordinates
Posted by: pi314159geek - Dec-23-2017, 03:48 AM - Forum: General Coding Help - Replies (3)

In my program, I create a circle called "electron" at a random place. I then draw a second circle called "photon", that starts at a constant place (-..... More

Print this item

  Checkbutton code not working
Posted by: ToddRyler - Dec-23-2017, 03:35 AM - Forum: General Coding Help - Replies (4)

Hello
I'm trying to determine the states of checkboxes depending whether or not they had been checked the previous time the programme was run. I do no..... More

Print this item

  understanding lists....I'm very confused
Posted by: mepyyeti - Dec-22-2017, 11:04 PM - Forum: General Coding Help - Replies (7)

[nodisplay]To make helping easy, please show a runnable example of your code with the full error text or a clear description of the problem. For impro..... More

Print this item

  Python Text based Game
Posted by: Luoxiang - Dec-22-2017, 08:12 PM - Forum: General Coding Help - Replies (1)

Hello everyone.
I am new to programming in general. I took up Python Because it was the language I wanted to use for this text based adventure game ..... More

Print this item

  How search in multidim. list
Posted by: jakubmudra - Dec-22-2017, 07:34 PM - Forum: General Coding Help - Replies (1)

Hi there.

I have questinon. I need to search in my multidimensional list by more than one key. There is list:
[python]lis= [["id","type","city","p..... More

Print this item

  What is wrong with this implementation of the cost function for linear regression?
Posted by: JoeB - Dec-22-2017, 07:24 PM - Forum: Data Science - Replies (1)

I am trying to write the cost function for regularised linear regression. (I am doing exercise 5 from the Stanford Coursera course on machine learning..... More

Print this item

  Install and Troubleshooting
Posted by: metulburr - Dec-22-2017, 06:48 PM - Forum: Game Tutorials - No Replies

Before you read all this you should know that pygame should work from simply doing

pip install pygame
On linux systems to get pyth..... More

Print this item

  Accessing IP Cam Audio In Python
Posted by: Haselsmasher - Dec-22-2017, 04:55 PM - Forum: General Coding Help - Replies (1)

[I'm not sure if this should be here or in the Networking forum.]

I need to get sound samples from a microphone that is attached to an IP Camera I ha..... More

Print this item

  Time based control of phillips hue
Posted by: Kimzer - Dec-22-2017, 04:38 PM - Forum: General Coding Help - Replies (3)

Hi all,

Very new to all of this so bear with me.
Below is my script, ive commented out a few colors.

What i am trying to do is the following;

A se..... More

Print this item

  Picking out integers from a non-list variable
Posted by: AnOrdinaryFolk - Dec-22-2017, 04:18 PM - Forum: General Coding Help - Replies (2)

Imagine there are two variables:

source=123456
selected=[]


Is there a way to append the first integer from the variable 'source' into th..... More

Print this item

  Memory error while recursively adding np.arrays
Posted by: Afterdarkreader - Dec-22-2017, 04:02 PM - Forum: Data Science - No Replies

[nodisplay]To make helping easy, please show a runnable example of your code with the full error text or a clear description of the problem. For impro..... More

Print this item

  socket.timeout: timed out
Posted by: DanielGraham - Dec-22-2017, 02:12 PM - Forum: General Coding Help - Replies (2)

[nodisplay]To make helping easy, please show a runnable example of your code with the full error text or a clear description of the problem. For impro..... More

Print this item

  Word search in grid
Posted by: Skelbo - Dec-22-2017, 01:00 PM - Forum: Homework - Replies (9)

Supposed to ask the user to input the file name, then read and append each line from the file to a list and display the grid. Then find some words in ..... More

Print this item

  Error while scraping links with beautiful soup
Posted by: mgtheboss - Dec-22-2017, 10:42 AM - Forum: Web Scraping & Web Development - Replies (4)

I am getting error while scraping links with beautiful soup. Here is the program.

[python]fr..... More

Print this item

  Want to see sample graphic output for python
Posted by: omar - Dec-22-2017, 10:32 AM - Forum: GUI - Replies (3)

I wanted to see how good the graphical output of python was

Just seeing random pics of well developed apps or programs 

I searched Google for py..... More

Print this item

  [Python Class] save method output to global file/list
Posted by: Vijay - Dec-22-2017, 09:42 AM - Forum: General Coding Help - Replies (3)

Hi All,

--------------
class Xyz(object):


Hi All,

I want to save mutliple method output to a global file so that I can use it in another m..... More

Print this item

  Dictionary Comprehension - ValueError: too many values to unpack (expected 2)
Posted by: samRddhi - Dec-22-2017, 08:45 AM - Forum: General Coding Help - Replies (2)

Hi,

Trying to understand dictionary comprehension.
[python]
dGro = {"Cabbage": 2, "Carrot":3, "Peas":5, "LadyFinger":1}
print (dGro)
dGroD = {v..... More

Print this item

Forum stats
Latest posts
Topic Date, time  Author Last Sender Forum
  How to make ball stay wit... 9 hours ago nathanael deanhystad General Codin...
  PermissionError: [Errno 1... 10 hours ago Tuurbo46 deanhystad GUI
  Graph Interpolate Difficu... 11 hours ago 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... 578998
  Tutorial Requ... 510715
  Web Scraping ... 442012
  Newbie with P... 386046
  New Users Int... 377333
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