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,260
» Latest member: nathanael
» Forum threads: 38,785
» Forum posts: 175,842

Full Statistics

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

Latest Threads
sorting a lisr of file pa...
Forum: News and Discussions
Last Post: Skaperen
2 hours ago
» Replies: 4
» Views: 277
conditional nested loops
Forum: News and Discussions
Last Post: Skaperen
3 hours ago
» Replies: 0
» Views: 16
How to make ball stay wit...
Forum: General Coding Help
Last Post: nathanael
4 hours ago
» Replies: 0
» Views: 23
PyQt6 QWidgets and system...
Forum: GUI
Last Post: stevecoh1
8 hours ago
» Replies: 0
» Views: 46
[solved] re.split issue
Forum: General Coding Help
Last Post: deanhystad
8 hours ago
» Replies: 10
» Views: 219
Please guide me to comple...
Forum: General Coding Help
Last Post: Larz60+
11 hours ago
» Replies: 3
» Views: 113
New to python and coding
Forum: Homework
Last Post: jefsummers
Nov-13-2025, 07:58 PM
» Replies: 6
» Views: 197
Backward compatibility qu...
Forum: News and Discussions
Last Post: noisefloor
Nov-13-2025, 11:52 AM
» Replies: 6
» Views: 384
why is the image not show...
Forum: General Coding Help
Last Post: deanhystad
Nov-12-2025, 07:26 PM
» Replies: 2
» Views: 130
Help with Serial.write in...
Forum: General Coding Help
Last Post: Larz60+
Nov-12-2025, 10:11 AM
» Replies: 6
» Views: 264

 
  How to Loop A Script within itself?
Posted by: HiImNew - Nov-22-2017, 01:38 AM - 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

  How can I produce a list of n times the same element?
Posted by: JoeB - Nov-21-2017, 10:39 PM - Forum: General Coding Help - Replies (6)

[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

  Lists
Posted by: RiceGum - Nov-21-2017, 10:17 PM - Forum: Homework - Replies (1)

I just started lists and i'm having a very hard time, i need a program that reads a list and two values(superior and inferior) then it prints the valu..... More

Print this item

  xpath returns an empty list
Posted by: haye - Nov-21-2017, 09:42 PM - Forum: Web Scraping & Web Development - Replies (5)

hi, here are my two codes:

First :

[python]page = requests.get('http://www.google.fr/')
tree = html.fromstring(page.content)
test1 = tree.xpath('/ht..... More

Print this item

  error getting tracks from albums
Posted by: ozzyk - Nov-21-2017, 08:21 PM - Forum: General Coding Help - Replies (7)

Im getting the top artists from a sepcific country, albums of that artists and tracks of that albums from lastfm. Im getting the artists and albums wi..... More

Print this item

  Socket - Keep Alive?
Posted by: CDitty - Nov-21-2017, 07:42 PM - Forum: Networking - Replies (3)

I am trying to write a small python program that just sends data out over a port socket. I can get it to work when there is a server that is listenin..... More

Print this item

  Joining a Daemon Thread
Posted by: QueenSvetlana - Nov-21-2017, 06:14 PM - Forum: General Coding Help - Replies (3)

I've asked this question twice (1,..... More

Print this item

  Canvas not placing inside Grid
Posted by: leonv - Nov-21-2017, 05:18 PM - Forum: GUI - Replies (2)

I am trying to build a fairly simple GUI that will allow me to use GPIO pins on a Raspberry PI 3. I am using grid to place the labels, buttons and in..... More

Print this item

  Simplest way to create a musical note and play it
Posted by: insearchofanswers87 - Nov-21-2017, 05:02 PM - Forum: General Coding Help - Replies (3)

Looking for a simple Python 3 library that would enable me to create a single musical note and play it. Any recommendations would be appreciated. Been..... More

Print this item

  Pulling any information from a dictionary with a user input
Posted by: Darmanus - Nov-21-2017, 04:11 PM - Forum: Web Scraping & Web Development - Replies (19)

Hi all!

I have recently started using Python 2 with no previous experience in the language. I have created a dictionary (or a dictionary of diction..... More

Print this item

  PyQt5 No Error But GUI Window Not Loading
Posted by: digitalmatic7 - Nov-21-2017, 03:27 PM - Forum: General Coding Help - Replies (1)

Hey guys any ideas whats up with this?

[Image: ezhq1CjERMuVLJU3JVi-EQ.png]

It's not using QtGui in the code yet i..... More

Print this item

  matching question
Posted by: takaa - Nov-21-2017, 10:14 AM - Forum: General Coding Help - Replies (11)

Hi all, 

I am building a personal project to match items from two different db tables. I got stuck so I started to break down my problems in little..... More

Print this item

  Don't find this foum on a 64 bits engine(windows10)
Posted by: sylas - Nov-21-2017, 05:13 AM - Forum: Board - Replies (11)

Hi all! How is it possible adresses are not the same on a 64 bits engine. First, I cannot find the forum. Second I cannot open a terminal. Thanks for ..... More

Print this item

  an error --> a wanted feature
Posted by: Skaperen - Nov-21-2017, 05:03 AM - Forum: News and Discussions - Replies (9)

today i had a "thinking-glitch" writing some code and got the error message SyntaxError: can't assign to function call.  i had coded ..... More

Print this item

  Printing the output in columns
Posted by: pythonbabe - Nov-21-2017, 04:28 AM - Forum: General Coding Help - Replies (3)

Hi Gurus,

I am trying to print all services running on my windows laptop as a "three column output"
and i have written the following code.

Howe..... More

Print this item

  java book bundle
Posted by: metulburr - Nov-21-2017, 12:34 AM - Forum: News and Discussions - No Replies

https://www.humblebundle.com/books/java-books

Print this item

  Python OSC
Posted by: andrea0913 - Nov-20-2017, 11:52 PM - Forum: Data Science - Replies (4)

So, i'm using this python OSC https://pypi.python.org/pypi/python-osc

I see the example and try to replicate it with my code, but i'm havin a synta..... More

Print this item

  I have difficulties to use Pyshark
Posted by: jeanapala - Nov-20-2017, 11:28 PM - Forum: General Coding Help - Replies (1)

Can someone help me with pyshark ? for sniffing traffic

Print this item

  printing data from dictionary
Posted by: kiki1113 - Nov-20-2017, 02:37 PM - Forum: Homework - Replies (4)

[quote]NOTE: modifying my questions below as I was able to fix the issue with my original post but am now having additional problems.

I'm tr..... More

Print this item

  Histogram help
Posted by: dandatadan - Nov-20-2017, 11:54 AM - Forum: Data Science - Replies (1)

[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

  need help with Python and Blynk on my RaspPi
Posted by: hotwalk - Nov-20-2017, 10:35 AM - Forum: General Coding Help - Replies (1)

anyone here has experience with RaspberryPi (3b) + Blynk?

My problem is:
i want to controll my 8-channel relay over my blynk application.
ive fig..... More

Print this item

  Adding into Path var while silent installation of Python
Posted by: Erik - Nov-20-2017, 10:06 AM - Forum: General Coding Help - Replies (7)

I need to passively install Python in my applications package installation so i use the following:

[quote]python-3.5.4-amd64.exe /passive PrependPath..... More

Print this item

  For loop in Python
Posted by: WantoLearnPyhon - Nov-20-2017, 08:58 AM - Forum: Homework - Replies (3)

[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

  argument and option scanning
Posted by: Skaperen - Nov-20-2017, 05:23 AM - Forum: News and Discussions - Replies (2)

i am nearly finished with a new script that has a lot of code dedicated to argument and option scanning.  i think i need to write my own option scanni..... More

Print this item

  Get name of instanciated class from class itself
Posted by: Larz60+ - Nov-20-2017, 03:05 AM - Forum: General Coding Help - Replies (7)

when I create an instance of a class,
I'm thinking that the new object is somewhere on the call stack,
during the instantiating process. Is it possi..... More

Print this item

  How to make pyinstaller import the ttk theme?
Posted by: royer14 - Nov-20-2017, 02:46 AM - Forum: GUI - Replies (6)

I have a project done and it is in the following:
[python]import tkinter as tk
from tkinter import ttk
import tkinter.messagebox as tmb
from ttkth..... More

Print this item

  Python 3 break statement
Posted by: kresh - Nov-19-2017, 09:28 PM - Forum: General Coding Help - Replies (5)

Hi everyone. I have some problem with BREAK in my code. I don't understand why the program does not stop after adding a new username to LIST. Sorry fo..... More

Print this item

  Getting top albums from last.fm
Posted by: ozzyk - Nov-19-2017, 06:23 PM - Forum: General Coding Help - Replies (1)

Im getting the top artists from a specific country from lastfm api. Im getting the name of each artist and store in the artists{} with success with:
..... More

Print this item

  Numerical Python Cluster?
Posted by: squirrel_s - Nov-19-2017, 02:30 PM - Forum: News and Discussions - No Replies

Hello!

I am a statistican. I want to found up a startup, which offers statistical computing and statistical consulting to customers.

Therefore, ..... More

Print this item

  [Selenium] Element Visible / Invisible | Delay - Best Settings?
Posted by: digitalmatic7 - Nov-19-2017, 01:02 PM - Forum: Web Scraping & Web Development - Replies (2)

I have this snippet of code that delays the script from moving forward until images are done uploading to a website.

[python]WebDriverWait(driver, 2..... More

Print this item

  Create a new list dynamically
Posted by: floatingshed - Nov-19-2017, 08:23 AM - Forum: General Coding Help - Replies (6)

I have a list of dicts. One of the values in the dict contains several words semi-colon separated which I would like to be the names of dynamically cr..... More

Print this item

  List in function
Posted by: thehimanshukeshri - Nov-19-2017, 07:45 AM - Forum: General Coding Help - Replies (1)

def f(x,l=):
for i in range(x):
l.append(i*i)
print(l)

f(2)
f(3,[3,2,1])
f(3)


[0, 1]
[3, 2, 1, 0, 1, 4]
#How this is possible?
[0, 1, ..... More

Print this item

  sha384
Posted by: Skaperen - Nov-19-2017, 06:08 AM - Forum: General Coding Help - Replies (8)

what module has the sha384 and sha512 functions?

Print this item

  Python 3.6.3 installation
Posted by: paragvijay - Nov-19-2017, 04:42 AM - Forum: General Coding Help - Replies (2)

Hi,
While installing Python on my Windows laptop, it gives an error -
"The TARGETDIR variable must be provided while invoking this installer"

Pl..... More

Print this item

  OSC python and puredata
Posted by: andrea0913 - Nov-19-2017, 04:14 AM - Forum: General Coding Help - Replies (1)

Hi, i'm trying to used OSC to communicate python with pureData, but i haven't found a godd library yet.

Can anyone please recommend me one? This w..... More

Print this item

Forum stats
Latest posts
Topic Date, time  Author Last Sender Forum
  sorting a lisr of file pa... 2 hours ago Skaperen Skaperen News and Disc...
  conditional nested loops 3 hours ago Skaperen Skaperen News and Disc...
  How to make ball stay wit... 4 hours ago nathanael nathanael General Codin...
  PyQt6 QWidgets and system... 8 hours ago stevecoh1 stevecoh1 GUI
  [solved] re.split issue 8 hours ago paul18fr deanhystad General Codin...
  Please guide me to comple... 11 hours ago 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...
  Help with Serial.write in... 11-12, 10:11 racingsubby Larz60+ General Codin...
  [Tkinter] I’m building a ... 11-11, 09:52 tsgiannis tsgiannis GUI
Most views
  The best Prog... 578973
  Tutorial Requ... 510483
  Web Scraping ... 441988
  Newbie with P... 386009
  New Users Int... 377062
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 6910
metulburr 5151
Top referrers
Googlepro 23
metulburr 6
python 6
NonEntity 5
buran 3
Newest members
nathanael Yesterday
JamesFalkner Yesterday
stevecoh1 Yesterday
Bamboo Yesterday
TomTMH 11-13

User Panel Messages

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