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,422
» Latest member: alexfox
» Forum threads: 38,829
» Forum posts: 176,076

Full Statistics

Online Users
There are currently 39 online users.
» 0 Member(s) | 32 Guest(s)
Bing, Google, Internet Archive, Facebook Dev

Latest Threads
If I open a file write or...
Forum: General Coding Help
Last Post: Pedroski55
1 hour ago
» Replies: 4
» Views: 97
a function to watch files
Forum: News and Discussions
Last Post: Skaperen
Yesterday, 05:21 AM
» Replies: 3
» Views: 744
python re.finditer return...
Forum: General Coding Help
Last Post: Pedroski55
Yesterday, 02:57 AM
» Replies: 8
» Views: 507
Exponential Number Conver...
Forum: General Coding Help
Last Post: DeaD_EyE
Jan-09-2026, 08:47 PM
» Replies: 4
» Views: 451
Possible bug found, pleas...
Forum: General Coding Help
Last Post: alexajames
Jan-08-2026, 04:31 PM
» Replies: 14
» Views: 800
How to put my game loop i...
Forum: Game Development
Last Post: MarkHenry
Jan-08-2026, 12:47 PM
» Replies: 12
» Views: 7,757
Code failing to ask input...
Forum: Homework
Last Post: perfringo
Jan-08-2026, 06:35 AM
» Replies: 4
» Views: 730
sorting a lisr of file pa...
Forum: News and Discussions
Last Post: OtiliaGen
Jan-07-2026, 07:13 AM
» Replies: 6
» Views: 1,032
Data Science
Forum: Data Science
Last Post: OtiliaGen
Jan-04-2026, 10:20 AM
» Replies: 4
» Views: 3,620
Merge video with subtitle...
Forum: General Coding Help
Last Post: OtiliaGen
Jan-02-2026, 12:32 PM
» Replies: 29
» Views: 17,378

 
  Raspberry + Sensor to Plotly HOW?
Posted by: azairek - Nov-22-2017, 08:06 PM - Forum: Homework - Replies (3)

Hello :)

save my life. PYTHON+RASPI! I have some problems. I have raspberry pi 3 + Ultrasound Sensor HC-SR04. I am reading distance from it and wa..... More

Print this item

  Combining information from excel
Posted by: kiki1113 - Nov-22-2017, 07:14 PM - Forum: General Coding Help - Replies (1)

I have a file of excel data I'm reading into python. The excel file contains the information of people who have signed up for an interview.

An e..... More


Attached Files

Thumbnail(s)
   
Print this item

  Using a list like an array
Posted by: pegn305 - Nov-22-2017, 06:19 PM - 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

  read a binary file to find its type
Posted by: atux_null - Nov-22-2017, 12:35 PM - Forum: Homework - 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

  social-auth-app-django wheel and dependables "six"
Posted by: metalray - Nov-22-2017, 12:26 PM - Forum: General Coding Help - Replies (2)

Hi Python Experts,

I downloaded the social-auth-app-django wheel from
https://pypi.python.org/pypi/social-auth-app-django/
I dont have an interne..... More

Print this item

  How do I activate my script when another program opens?
Posted by: jhave_21 - Nov-22-2017, 12:07 PM - Forum: General Coding Help - Replies (3)

let's say I have program A (a default program in windows) and I have Script B (a python script but I wanna make it executable) How can I execute(autom..... More

Print this item

  assignment embedded in an expression
Posted by: Skaperen - Nov-22-2017, 08:37 AM - Forum: General Coding Help - Replies (11)

i want to call a function and assign the returned value to a variable, while this value is being tested.  if a condition is met, then that value will ..... More

Print this item

  Save User Input From LineEdit Box To Variable
Posted by: digitalmatic7 - Nov-22-2017, 08:05 AM - Forum: General Coding Help - Replies (2)

I have an input box for user to type their username.

I want that user input saved as a variable.

Here's what I have so far:
[python]self.inpu..... More

Print this item

  integer bases
Posted by: Skaperen - Nov-22-2017, 05:30 AM - Forum: News and Discussions - Replies (7)

when a sequence of digits is prefixed with "0x" in many contexts, one of them being the int() function in python with "0" as argument 2, it means the ..... More

Print this item

  Enemy AI and collision (part 6)
Posted by: metulburr - Nov-22-2017, 05:08 AM - Forum: Game Tutorials - No Replies

Back to part 5
https://python-forum.io/Thread-PyGame-Ba...ion-part-5


We are moving back to our spaceship game now.

This is where our..... More


Attached Files

Thumbnail(s)
   
Print this item

  Flair and Organizing (part 7)
Posted by: metulburr - Nov-22-2017, 05:07 AM - Forum: Game Tutorials - No Replies

Back to part 6
https://python-forum.io/Thread-PyGame-Enemy-AI-part-6



This is going to be about the bells and whistles around the actual game..... More


Attached Files

.wav   beep.wav (Size: 4.65 KB / Downloads: 999)
.wav   explosion_with_debris.wav (Size: 270.84 KB / Downloads: 960)
.wav   game_over.wav (Size: 116.58 KB / Downloads: 975)
Print this item

  byte string in python2
Posted by: Skaperen - Nov-22-2017, 04:24 AM - Forum: General Coding Help - Replies (4)

i want to test something in python2.  to do the test i need a byte string.  i don't need a byte string type.  i only need some way to get a byte strin..... More

Print this item

  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

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...
  a function to watch files Yesterday, 05:21 Skaperen Skaperen News and Disc...
  python re.finditer return... Yesterday, 02:57 arbiel Pedroski55 General Codin...
  Exponential Number Conver... 01-09, 20:47 Tuurbo46 DeaD_EyE 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...
  Data Science 01-04, 10:20 Oshadha OtiliaGen Data Science
  Merge video with subtitle... 01-02, 12:32 Pavel_47 OtiliaGen General Codin...
  Check if running from she... 01-01, 11:52 rjdegraff42 noisefloor General Codin...
Most views
  The best Prog... 580739
  Tutorial Requ... 522259
  Web Scraping ... 442913
  New Users Int... 388135
  Newbie with P... 387135
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
python 6
metulburr 6
NonEntity 5
buran 3
Newest members
alexfox Yesterday
zalexisshulzeo8879 Yesterday
SUMIATI Yesterday
starboy25 Yesterday
zabenjamitop8877 01-10

User Panel Messages

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