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,936
» Latest member: MihaiPope
» Forum threads: 38,723
» Forum posts: 175,511

Full Statistics

Online Users
There are currently 55 online users.
» 1 Member(s) | 46 Guest(s)
Bing, Apple, AOL, Google, AOL, Mojeek, Internet Archive, bibin6Dip

Latest Threads
what does % stand for in ...
Forum: General Coding Help
Last Post: arbiel
3 hours ago
» Replies: 2
» Views: 203
FAST,SECURE AND RELIABLE ...
Forum: Game Development
Last Post: MihaiPope
4 hours ago
» Replies: 0
» Views: 82
403 Error
Forum: Web Scraping & Web Development
Last Post: CaptainNewb
4 hours ago
» Replies: 10
» Views: 3,662
Scraping a page with log ...
Forum: Web Scraping & Web Development
Last Post: Hershien
11 hours ago
» Replies: 1
» Views: 3,316
C++ program embedding Pyt...
Forum: General Coding Help
Last Post: Alexandros
Today, 11:11 AM
» Replies: 4
» Views: 606
Too much space between gr...
Forum: GUI
Last Post: RonR
Sep-17-2025, 11:22 AM
» Replies: 4
» Views: 2,052
datetime in SQL query.
Forum: General Coding Help
Last Post: Dibbley
Sep-17-2025, 10:31 AM
» Replies: 3
» Views: 954
Another app idea - intera...
Forum: News and Discussions
Last Post: Lenowell
Sep-16-2025, 07:07 AM
» Replies: 1
» Views: 1,185
real community
Forum: News and Discussions
Last Post: decuser
Sep-15-2025, 08:16 PM
» Replies: 3
» Views: 2,206
variable changing types f...
Forum: General Coding Help
Last Post: Gribouillis
Sep-15-2025, 06:45 PM
» Replies: 1
» Views: 1,303

 
  Converting an 8-bit binary to decimal WITHOUT the shortcuts
Posted by: EIA - Nov-30-2017, 06:00 PM - Forum: General Coding Help - Replies (5)

Hey everyone, I am trying to self-teach myself in python and I was wondering. Is there a way to convert an 8-bit binary to decimal without using the s..... More

Print this item

  why does the list of list replicate this way?
Posted by: hshivaraj - Nov-30-2017, 05:36 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

  Python 3.6 and 2003 Domain
Posted by: ajaccard - Nov-30-2017, 05:13 PM - Forum: General Coding Help - Replies (1)

Thank you in advance for any help you can offer. I apologize if this is posted under the wrong topic.

We are beginning a project in 2018 using P..... More

Print this item

  tweepy:invalid or expired token
Posted by: weareux - Nov-30-2017, 03:38 PM - Forum: General Coding Help - Replies (2)

Hello, thanks for your help, I want to find a twitter user thanks to tweepy, I have already tried to generate a new key, I've also tried with a token,..... More

Print this item

  Tic Tac Toe Game!
Posted by: lgalan90 - Nov-30-2017, 03:33 PM - Forum: Game Development - Replies (1)

I am new to python and am currently taking an online bootcamp. I am having trouble with the random input where it would not input "o", usually on my t..... More

Print this item

  error in python script (for energy meter)
Posted by: br0ken - Nov-30-2017, 02:08 PM - Forum: General Coding Help - Replies (9)

[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

  if statement and in operator problem
Posted by: bobger - Nov-30-2017, 01:08 PM - Forum: General Coding Help - Replies (5)

can i use a if statement and in operator to trigger the code [python]corb = random.randrange(3)
print('talks about it with ' + talks[corb] + ' about ..... More

Print this item

  Can't get call or subprocess functions to use space in path.
Posted by: jonesin1974 - Nov-30-2017, 01:04 PM - Forum: General Coding Help - Replies (2)

Hi there,

I'm having issues with both subprocess and call functions to accept spaces in the the file path.

I'm runni..... More

Print this item

  Trying to create a python exe for an addition problem with an odd variable
Posted by: Python_Newb - Nov-30-2017, 12:18 PM - Forum: General Coding Help - No Replies

Good morning,
New to Python for sure, but I do have VERY limited experience with it. I am trying to write a short program that solves a short simple ..... More

Print this item

  Machine learning SQL injection detection
Posted by: agocomp - Nov-30-2017, 12:13 PM - Forum: Data Science - Replies (3)

Good day, i am a post graduate student working on "Detecting and preventing SQL injection attack on a database using machine learning approach". My Ma..... More

Print this item

  open file from web
Posted by: Viesturs - Nov-30-2017, 11:55 AM - Forum: General Coding Help - Replies (1)

by

File = open('file.txt')

I can open a file.

How can I open a file from a web URL?

Print this item

  MySql and field names.
Posted by: MuntyScruntfundle - Nov-30-2017, 11:36 AM - Forum: General Coding Help - Replies (2)

Hi folks, I'm a programmer of many, many years, but not with Python, so I'm very new to the way of thinking and the syntax.

At the moment I'm strug..... More

Print this item

  Why does Function behave differently in a class vs. outside a class?
Posted by: Leaf - Nov-30-2017, 09:54 AM - Forum: General Coding Help - Replies (4)

[python]

# Why does this function behave differently in a class vs. outside a class?
class Test():
def add_person(element, lineage=[]):
..... More

Print this item

  Need help in Python script to BIND with OID(Oracle Internet Directory) Server
Posted by: kiran_j - Nov-30-2017, 06:23 AM - Forum: General Coding Help - No Replies

Hi,

I want to write python script to connect/bind to our OID(oracle internet directory) server

Server : oraoidvm.dba.com
Port : 3060

I tried..... More

Print this item

  Python syntax
Posted by: Drone4four - Nov-30-2017, 03:36 AM - Forum: General Coding Help - Replies (3)

Here is a code sample from a web framework (Django) but my questions are mostly syntax-related. Take a look at this specimen:

[python]
from djang..... More

Print this item

  Help with array smallest biggest number
Posted by: thanikos - Nov-30-2017, 12:44 AM - Forum: Homework - Replies (4)

Hello
I need some help to: User inserts 10 numbers that goes to an array, and then the program prints the smallest number, the biggest number and th..... More

Print this item

  How can python handle a stdout from bash shell by using Popen()
Posted by: ruifenghu - Nov-29-2017, 11:09 PM - Forum: General Coding Help - 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

  GTIN code validation program not working!
Posted by: AnonDxZ - Nov-29-2017, 11:04 PM - Forum: Homework - 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

  Help Formatting Print Statement (input from 3 lists) X 2
Posted by: Hebruiser - Nov-29-2017, 11:03 PM - Forum: Homework - Replies (11)

I am working on my class project and am having some difficulty getting my print statement to format "neatly". Teacher wants it to look like this when ..... More

Print this item

  Structure and Organizing (part 8)
Posted by: metulburr - Nov-29-2017, 10:18 PM - Forum: Game Tutorials - No Replies

Back to part 7
https://python-forum.io/Thread-PyGame-Fl...ing-part-7



Ideally you should do this in the beginning from scratch. E..... More

Print this item

  Planetary Motion Simulation
Posted by: kprov - Nov-29-2017, 09:30 PM - Forum: Homework - Replies (1)

I am required to plot the orbits of the planets around the sun. So far I have been able to plot the circular orbits from my code below. However, I am ..... More

Print this item

  creating date/time stamp from dataframe values
Posted by: kiki1113 - Nov-29-2017, 09:23 PM - Forum: Homework - Replies (1)

I have a data frame that includes the following values:

Quote:Date
07/12/17

Start Time
05:00 PM
Each of these is currently stored as..... More

Print this item

  precision error
Posted by: chris64 - Nov-29-2017, 09:21 PM - Forum: General Coding Help - Replies (1)

How do I make 24/48 to equal 0.5?
My program says that it equals 0. However, if I write it as 24.0/48 then I get the correct result.

How do I chan..... More

Print this item

  Better way to create nested dictionary with defaultdict()
Posted by: x2mlh - Nov-29-2017, 08:59 PM - Forum: General Coding Help - Replies (8)

I need to loop through some JSON data (company storm data) and create a nested dictionary 4 keys deep with the first 3 keys having values of type dict..... More

Print this item

  Code for a circular wire??
Posted by: hiphopopot0mous - Nov-29-2017, 07:59 PM - Forum: Homework - Replies (11)

Hey everyone, so I'm trying to create a code for a circular wire carrying a current from which I can then apply the Biot-Savart law to. However, due t..... More

Print this item

  how do one remove whitespace from a list?
Posted by: BoaCoder3 - Nov-29-2017, 07:54 PM - Forum: General Coding Help - 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

  How to make a dynamic variable based on input
Posted by: loltylerdowney - Nov-29-2017, 06:44 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

  Loops
Posted by: rstewart - Nov-29-2017, 06:41 PM - Forum: Homework - Replies (1)

Please help with this and try to make it as simple as possible.
Write a program to store information about the people in your class. First, it should..... More

Print this item

  Require the code for,,,,
Posted by: akg711 - Nov-29-2017, 06:22 PM - Forum: Homework - 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

  Mozilla give $170,000 to improve PyPi
Posted by: snippsat - Nov-29-2017, 05:34 PM - Forum: News and Discussions - No Replies

The PSF awarded $170,000 grant from Mozilla Open Source Program to impro[url=https://python-forum.io/thread-6583.html]..... More

Print this item

  Login a Python Web Crawler on a ASP NET (.aspx) website
Posted by: p4t3x - Nov-29-2017, 05:15 PM - Forum: General Coding Help - 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

  How to upload the terminal on windows 10
Posted by: sylas - Nov-29-2017, 04:12 PM - Forum: Bar - Replies (17)

Hi all ! Do you know an easy way to upload the terminal, where I can type, for instance: "sudo apt-get install qt-creator" I am now on my 32 bits engi..... More

Print this item

  How to click the button automatically using python
Posted by: purnima1 - Nov-29-2017, 02:20 PM - Forum: Web Scraping & Web Development - Replies (22)

Hi Experts,
I have one web page and it has one tab "upload file" . when manually press that button screen pops up and i select excel file and then w..... More

Print this item

  Getting TypeError: list indices must be integers or slices not str
Posted by: ozzyk - Nov-29-2017, 01:33 PM - Forum: General Coding Help - Replies (10)

I want to get the lyrics for each track returned from lastfm api. If i use the method song_lyric() below, that uses the musixmatch api, directy like:..... More

Print this item

  Python for Web Data analysis
Posted by: sumandas89 - Nov-29-2017, 11:02 AM - Forum: News and Discussions - Replies (1)

Hi,
I am new to python programming and I am basically focusing it for web data analysis and web crawling. I have already learnt basic python programm..... More

Print this item

Forum stats
Latest posts
Topic Date, time  Author Last Sender Forum
  what does % stand for in ... 3 hours ago arbiel arbiel General Codin...
  FAST,SECURE AND RELIABLE ... 4 hours ago MihaiPope MihaiPope Game Developm...
  403 Error 4 hours ago CaptainNewb CaptainNewb Web Scraping ...
  Scraping a page with log ... 11 hours ago iamaghost Hershien Web Scraping ...
  C++ program embedding Pyt... Today, 11:11 Alexandros Alexandros General Codin...
  [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
Most views
  The best Prog... 576229
  Tutorial Requ... 497881
  Web Scraping ... 440168
  Newbie with P... 384006
  New Users Int... 366705
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
MihaiPope Today
Baran12332 Today
Hershien Today
Diyaseating Today
marineoman Today

User Panel Messages

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