Python Forum
Welcome, Guest
You have to register before you can post on our site.

Username
  

Password
  





Search Forums

(Advanced Search)

Forum Statistics
» Members: 19,935
» Latest member: Baran12332
» Forum threads: 38,722
» Forum posts: 175,508

Full Statistics

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

Latest Threads
what does % stand for in ...
Forum: General Coding Help
Last Post: buran
3 hours ago
» Replies: 1
» Views: 102
Scraping a page with log ...
Forum: Web Scraping & Web Development
Last Post: Hershien
6 hours ago
» Replies: 1
» Views: 3,267
C++ program embedding Pyt...
Forum: General Coding Help
Last Post: Alexandros
7 hours ago
» Replies: 4
» Views: 532
403 Error
Forum: Web Scraping & Web Development
Last Post: CaptainNewb
Sep-17-2025, 05:56 PM
» Replies: 9
» Views: 3,561
Too much space between gr...
Forum: GUI
Last Post: RonR
Sep-17-2025, 11:22 AM
» Replies: 4
» Views: 1,966
datetime in SQL query.
Forum: General Coding Help
Last Post: Dibbley
Sep-17-2025, 10:31 AM
» Replies: 3
» Views: 890
Another app idea - intera...
Forum: News and Discussions
Last Post: Lenowell
Sep-16-2025, 07:07 AM
» Replies: 1
» Views: 1,124
real community
Forum: News and Discussions
Last Post: decuser
Sep-15-2025, 08:16 PM
» Replies: 3
» Views: 2,156
variable changing types f...
Forum: General Coding Help
Last Post: Gribouillis
Sep-15-2025, 06:45 PM
» Replies: 1
» Views: 1,236
looking for help
Forum: Bar
Last Post: Azdaghost
Sep-15-2025, 05:03 PM
» Replies: 0
» Views: 800

 
  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: 973)
.wav   explosion_with_debris.wav (Size: 270.84 KB / Downloads: 942)
.wav   game_over.wav (Size: 116.58 KB / Downloads: 956)
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

  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

Forum stats
Latest posts
Topic Date, time  Author Last Sender Forum
  what does % stand for in ... 3 hours ago arbiel buran General Codin...
  Scraping a page with log ... 6 hours ago iamaghost Hershien Web Scraping ...
  C++ program embedding Pyt... 7 hours ago Alexandros Alexandros General Codin...
  403 Error 09-17, 17:56 CaptainNewb CaptainNewb Web Scraping ...
  [Tkinter] Too much space ... 09-17, 11:22 RonR RonR GUI
  datetime in SQL query. 09-17, 10:31 Dibbley Dibbley General Codin...
  Another app idea - intera... 09-16, 07:07 decuser Lenowell News and Disc...
  real community 09-15, 20:16 decuser decuser News and Disc...
  variable changing types f... 09-15, 18:45 Azdaghost Gribouillis General Codin...
  looking for help 09-15, 17:03 Azdaghost Azdaghost Bar
  Seeking feedback: dynamic... 09-15, 15:28 Bona2000 Bona2000 General Codin...
Most views
  The best Prog... 576197
  Tutorial Requ... 497812
  Web Scraping ... 440138
  Newbie with P... 383961
  New Users Int... 366622
Most reputation
buran 581
snippsat 508
Larz60+ 452
Gribouillis 362
deanhystad 327
Most replies
  New Users Int... 451
  [book] Variou... 188
  CKEditor / Ri... 100
  moving from t... 95
  Free keys and... 91
Top posters
Larz60+ 12089
buran 8175
snippsat 7367
deanhystad 6891
metulburr 5151
Top referrers
Googlepro 23
metulburr 6
NonEntity 6
python 6
buran 3
Newest members
Baran12332 Today
Hershien Today
Diyaseating Today
marineoman Today
marineservice Today

User Panel Messages

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