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,261
» Latest member: SledgeNE
» Forum threads: 38,786
» Forum posts: 175,844

Full Statistics

Online Users
There are currently 36 online users.
» 1 Member(s) | 32 Guest(s)
Bing, Google, AOL, Tuurbo46

Latest Threads
PermissionError: [Errno 1...
Forum: GUI
Last Post: Tuurbo46
23 minutes ago
» Replies: 0
» Views: 14
How to make ball stay wit...
Forum: General Coding Help
Last Post: SledgeNE
5 hours ago
» Replies: 1
» Views: 58
sorting a lisr of file pa...
Forum: News and Discussions
Last Post: Skaperen
10 hours ago
» Replies: 4
» Views: 291
conditional nested loops
Forum: News and Discussions
Last Post: Skaperen
11 hours ago
» Replies: 0
» Views: 30
PyQt6 QWidgets and system...
Forum: GUI
Last Post: stevecoh1
Yesterday, 06:38 PM
» Replies: 0
» Views: 63
[solved] re.split issue
Forum: General Coding Help
Last Post: deanhystad
Yesterday, 06:02 PM
» Replies: 10
» Views: 242
Please guide me to comple...
Forum: General Coding Help
Last Post: Larz60+
Yesterday, 03:33 PM
» Replies: 3
» Views: 121
New to python and coding
Forum: Homework
Last Post: jefsummers
Nov-13-2025, 07:58 PM
» Replies: 6
» Views: 205
Backward compatibility qu...
Forum: News and Discussions
Last Post: noisefloor
Nov-13-2025, 11:52 AM
» Replies: 6
» Views: 391
why is the image not show...
Forum: General Coding Help
Last Post: deanhystad
Nov-12-2025, 07:26 PM
» Replies: 2
» Views: 134

 
  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

  all_data.append not work it should be
Posted by: issac_n - Nov-29-2017, 10:49 AM - Forum: Data Science - Replies (4)

Huh ** I am not programmer Big Grin

currently I am trying to use "all_data.append" to append all xlsx files into one file ,
it return res..... More

Print this item

  Oracle web site
Posted by: Skaperen - Nov-29-2017, 08:14 AM - Forum: Bar - Replies (5)

i am wondering how many of my friends can check this exact URL for me:

    http://oracle.com/guaranteed

note that this is without the "www." on ..... More

Print this item

  Some Guy Today Told Me Python Isn't A Real Programming Language
Posted by: digitalmatic7 - Nov-29-2017, 06:26 AM - Forum: News and Discussions - Replies (11)

I ran into some guy while walking my dog and he said Python is a scripting language, and isn't a real programming language.

My instincts tell me he..... More

Print this item

  Home / Login & Logout Page
Posted by: ab_1986 - Nov-29-2017, 05:06 AM - Forum: Web Scraping & Web Development - Replies (1)

Hi Guys ,

I am beginner in Python and django and creating a web app using these. I have to create a home page however not so sure about html stuff..... More

Print this item

  Help turning game into function
Posted by: kixxm - Nov-29-2017, 04:35 AM - Forum: General Coding Help - Replies (5)

#Make a guess and get feedback.
guess=0
fb=0
while fb != 'c' or fb != 'C':
guess = random.randint(lower, upper)
print("I'm guessing your numb..... More

Print this item

  & vs %
Posted by: Skaperen - Nov-29-2017, 03:40 AM - Forum: General Coding Help - Replies (7)

which is better:

    foo = bar % 256
or:
    foo = bar & 255
???

i just benchmarked them for speed.  the 2nd is sligh..... More

Print this item

  Space ships movements
Posted by: pierrem13 - Nov-29-2017, 03:08 AM - Forum: Game Development - Replies (1)

Hi, I want to do a spaceship that I can control with the arrows on the keyboard. For now I'm able to make it rotate on itself with the left and the ri..... More

Print this item

  Game in Pycharm using pyglet
Posted by: pierrem13 - Nov-29-2017, 01:54 AM - Forum: General Coding Help - No Replies

Hi, so I'm trying to make a game where you basically control a ship. For now, I' m able to make the ship rotate with key event, but now I want to make..... More

Print this item

  a dictionary of ranges
Posted by: Skaperen - Nov-29-2017, 01:53 AM - Forum: General Coding Help - Replies (10)

looking up numbers in a very sparse unordered collection is easy with a dictionary.  but what about a sparse collection of ranges?  this would be a se..... More

Print this item

  how to extract a portion of data from text lines by python 2
Posted by: alex0516 - Nov-29-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

Forum stats
Latest posts
Topic Date, time  Author Last Sender Forum
  PermissionError: [Errno 1... 23 minutes ago Tuurbo46 Tuurbo46 GUI
  How to make ball stay wit... 5 hours ago nathanael SledgeNE General Codin...
  sorting a lisr of file pa... 10 hours ago Skaperen Skaperen News and Disc...
  conditional nested loops 11 hours ago Skaperen Skaperen News and Disc...
  PyQt6 QWidgets and system... Yesterday, 18:38 stevecoh1 stevecoh1 GUI
  [solved] re.split issue Yesterday, 18:02 paul18fr deanhystad General Codin...
  Please guide me to comple... Yesterday, 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...
  Help with Serial.write in... 11-12, 10:11 racingsubby Larz60+ General Codin...
Most views
  The best Prog... 578979
  Tutorial Requ... 510555
  Web Scraping ... 441997
  Newbie with P... 386023
  New Users Int... 377144
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
SledgeNE Today
nathanael Yesterday
JamesFalkner Yesterday
stevecoh1 Yesterday
Bamboo Yesterday

User Panel Messages

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