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,954
» Latest member: bianchiluca116
» Forum threads: 38,725
» Forum posts: 175,520

Full Statistics

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

Latest Threads
pip install requests does...
Forum: General Coding Help
Last Post: DeaD_EyE
3 hours ago
» Replies: 10
» Views: 29,151
Creating a Mindmap progra...
Forum: General Coding Help
Last Post: Pedroski55
Yesterday, 12:00 PM
» Replies: 4
» Views: 9,304
IBKR Purchasing code issu...
Forum: General Coding Help
Last Post: compuman145
Yesterday, 09:08 AM
» Replies: 0
» Views: 185
A coding beginner needs h...
Forum: General Coding Help
Last Post: Littlefish
Yesterday, 03:29 AM
» Replies: 2
» Views: 608
Is the interpreter that c...
Forum: General Coding Help
Last Post: helendamdam
Yesterday, 02:36 AM
» Replies: 0
» Views: 209
Using a For Loop to subtr...
Forum: General Coding Help
Last Post: deanhystad
Sep-22-2025, 08:56 PM
» Replies: 9
» Views: 765
403 error
Forum: Web Scraping & Web Development
Last Post: snippsat
Sep-20-2025, 04:28 PM
» Replies: 11
» Views: 5,020
what does % stand for in ...
Forum: General Coding Help
Last Post: arbiel
Sep-19-2025, 07:55 PM
» Replies: 2
» Views: 1,270
C++ program embedding Pyt...
Forum: General Coding Help
Last Post: Alexandros
Sep-19-2025, 11:11 AM
» Replies: 4
» Views: 1,633
Too much space between gr...
Forum: GUI
Last Post: RonR
Sep-17-2025, 11:22 AM
» Replies: 4
» Views: 3,196

 
  Mac OS 64 Python 2.7.3 Installation Failed
Posted by: jacksuyu - Jul-05-2018, 02:19 AM - Forum: General Coding Help - Replies (2)

On
https://www.python.org/downloads/release/python-273/

I tried to install "Mac OS X 64-bit/32-bit installer"

The package has been downloaded,..... More

Print this item

  Some questions regarding classes
Posted by: Truman - Jul-04-2018, 10:36 PM - Forum: Homework - Replies (11)

task:
Create a Pets class that holds instances of dogs; this class is completely separate from the Dog class. In other words, the Dog class does not i..... More

Print this item

  Scrape multiple lines with regex
Posted by: greetings - Jul-04-2018, 09:00 PM - Forum: Web Scraping & Web Development - Replies (2)

basically i wish to scrape content between two tags with mulitiple lines in between, ignoring other tags until it matches the one i look for.

i know ..... More

Print this item

  Why is this the output I am getting?
Posted by: wlsa - Jul-04-2018, 08:55 PM - Forum: Homework - Replies (1)

def func_a():
    print('inside func_a')
def func_c(z):
    print('inside func_c')
    return z()
print(func_c(func_a))
the out..... More

Print this item

  Beginner Problem python 2.7
Posted by: Jonathan_levy - Jul-04-2018, 08:29 PM - Forum: General Coding Help - Replies (2)

i am using pycharm the lastest version and inteprter python 2.7
[Python]

def sum_two_or_more(x1, x2, *args):
if args:
second = sum_t..... More

Print this item

  How to call the stored values
Posted by: Dieselkaine - Jul-04-2018, 08:21 PM - Forum: General Coding Help - Replies (6)

Complete beginner
I don't know how to get the player choice to return the values stored in alpha

[python]### The idea is to have the player play a..... More

Print this item

  GUI insert textbox value into a Class
Posted by: dimvord - Jul-04-2018, 06:49 PM - Forum: GUI - No Replies

By modifing my gui with the TopLevel code (that i acquired from the forum), i have another problem. I want to pass inside the class that generates the..... More

Print this item

  investigating a bash error
Posted by: userRobXTR - Jul-04-2018, 05:14 PM - Forum: General Coding Help - Replies (7)

Hi Python Forum,

I'm struggling with getting a twphotos to work, I found the script here and I think based on what others have said it is working ..... More

Print this item

  How to run a python file from html hyperlinks
Posted by: dhinahar - Jul-04-2018, 05:07 PM - Forum: General Coding Help - No Replies

I connected the local host and when I click the link (timing data) from my browser i get plain python code displayed in my page.
Need to know how CGI..... More

Print this item

  Installation of Python 2.7.x
Posted by: akshaynimkar - Jul-04-2018, 02:50 PM - Forum: General Coding Help - Replies (11)

Hello All,
I want to install Python 2.7.x on Linux as AWS Redshift is compatible with this version.

The current Linux already have one version of ..... More

Print this item

  EOFError: Ran Out Of Input in Pickle
Posted by: Panda - Jul-04-2018, 02:04 PM - Forum: General Coding Help - Replies (2)

Here is a snippet of code that is causing an error

import pickle
amount_of_accounts = pickle.load( open( "savek.p", "rb" ) )
Thi..... More

Print this item

  How to add gif to tkinter window?
Posted by: Nwb - Jul-04-2018, 11:56 AM - Forum: GUI - No Replies

When I add gif as PhotoImage it loses its characteristics of being a gif, also it loses its transparency.

Is there anyway to negate these two so t..... More

Print this item

  Web-Application Developer Python (m/f) - Vienna, Austria
Posted by: wienfluss - Jul-04-2018, 11:34 AM - Forum: Jobs - No Replies

We are looking for a committed developer to implement sophisticated and user-friendly web applications.

[size=large]Your Qualification[/siz..... More

Print this item

  replace-function for selveral variables..
Posted by: Specdrum - Jul-04-2018, 10:33 AM - Forum: General Coding Help - Replies (2)

Hello,

This is my first post here..

Using Python 2.7, and I am relatively new to python.

I am trying to find a way to make a function for replaci..... More

Print this item

  Lamda function explanation
Posted by: mrcool4 - Jul-04-2018, 10:02 AM - Forum: General Coding Help - Replies (4)

Hi All,

Can someone please explain the below code?I am mainly interested in the lambda function lambda x: '{0:0>10}'.format(x). Thanks.
[python]
..... More

Print this item

  error on stock indicator code on balance volume
Posted by: yatish - Jul-04-2018, 10:01 AM - Forum: Data Science - Replies (19)

[python]# On-balance Volume
def on_balance_volume(aapl, n):

i = 0

OBV = [0]
#I have a dataframe with open high low close volume of s..... More

Print this item

  using pyenv and virtual environment created with venv question
Posted by: Larz60+ - Jul-04-2018, 09:49 AM - Forum: General Coding Help - Replies (3)

Ok,

I am running OpenSuse Leap 15

I have pyenv properly (I'm quite (sort of, maybe) confident of this) running, and set up to run python 3.7.0 w..... More

Print this item

  Trying to sort a MYSQL Database
Posted by: PierreSoulier - Jul-04-2018, 08:39 AM - Forum: General Coding Help - Replies (14)

Hello, (first of all sorry for my english, I'm french **biggrin** )

I have a database in MySQL with this table:

CREATE TABLE Tri(
[b]id VARCHA..... More

Print this item

  Logging into a website with requests
Posted by: HiImNew - Jul-04-2018, 04:59 AM - Forum: Web Scraping & Web Development - Replies (3)

I'm trying to log into globenewswire.com with requests on my reader account. After I log in I want to go to a page on my account that requires my logi..... More

Print this item

  Another free Python framework to write iOS app
Posted by: Analyser - Jul-04-2018, 04:56 AM - Forum: GUI - No Replies

https://github.com/MobileAnalytics/iPython-Framework
Yet another free Python framework to write iOS app, which migrated from PyObjC(https://pythonhos..... More

Print this item

  Placing directory in a function
Posted by: mmaz67 - Jul-04-2018, 03:39 AM - Forum: General Coding Help - Replies (3)

Hi i am currently trying to put 2 directories that i am going to use in 2 different functions.

These are the location:
/disks/user/mmaz/mmaz05/ru..... More

Print this item

  by default functions return None
Posted by: Skaperen - Jul-04-2018, 03:34 AM - Forum: Bar - Replies (1)

by default functions return None. sometimes i like to be nasty and do return (None,). or worse, sometimes i just get evil and do [u]return 66..... More

Print this item

  creapy ping
Posted by: Skaperen - Jul-04-2018, 02:55 AM - Forum: News and Discussions - No Replies

i just tested the ping command again. i did this test many years ago, too. it is still creapy. i ran ping under strace with the -tt option to see w..... More

Print this item

  How to add metakernel magic for python
Posted by: rikaki__ - Jul-04-2018, 02:49 AM - Forum: General Coding Help - No Replies

Having trouble getting metakernel added into the jupyter notebook. Basically I'm trying to get the blockly work on my python

Print this item

  phython language java integration
Posted by: jammytcs123123 - Jul-04-2018, 12:27 AM - Forum: General Coding Help - Replies (1)

I am attempting to submit a HTML form that has some values created via javascript. However, when I submit the form those input fields lose their value..... More

Print this item

  subprocess.Popen for lively data reading?
Posted by: Skaperen - Jul-03-2018, 08:02 PM - Forum: General Coding Help - Replies (4)

is subprocess.Popen the best choice for lively data reading? what i mean by lively data reading is that i can read the data imme..... More

Print this item

  any more repo sites?
Posted by: Skaperen - Jul-03-2018, 07:51 PM - Forum: News and Discussions - Replies (4)

this page lists the two big repo sites. do you know of any..... More

Print this item

  Can someone explain me this
Posted by: hseran - Jul-03-2018, 05:07 PM - Forum: General Coding Help - Replies (1)

hello,

I am new to python.
So, can some one explain me what does the last two line of the following do?

[python]line_prof_lesser_idx = np.where(l..... More

Print this item

  Newbie help
Posted by: dust - Jul-03-2018, 03:33 PM - Forum: General Coding Help - Replies (28)

Hi all

Brand new at this, am just dipping my toe into Python as I want to try and have a go at creating some simple databases and then see what I c..... More

Print this item

  converting mysqli to json
Posted by: ameliabob - Jul-03-2018, 03:01 PM - Forum: News and Discussions - Replies (1)

I downloaded a data base table and asked that it be converted into json. What I got was:
[{"rowId": 21,"nature": "O","symbol": "TAL","qty": 10,"daysH..... More

Print this item

  recompile issues
Posted by: 3Pinter - Jul-03-2018, 01:28 PM - Forum: General Coding Help - Replies (5)

[font=Arial, Helvetica, sans-serif]Hi guys,

Trying to a simple match with a variable input.

* list1['30 dfa00','NOPE 223123','41 53452','XX 1234..... More

Print this item

  case-sensitive search
Posted by: saisankalpj - Jul-03-2018, 01:25 PM - Forum: General Coding Help - Replies (1)

In python 2.7.14 when i am giving file path like c:\users\<FILENAME> For c:\users\<filename> ,it is accepting .Is it by default like that in python or..... More

Print this item

  network programming
Posted by: karan - Jul-03-2018, 10:50 AM - Forum: Web Scraping & Web Development - Replies (2)

Hi Folks,
I am trying to use the following script to check if the IP is active or not, but the result shows active irrespective of the actual status...... More

Print this item

  SqlAlchemy Default value bug ?
Posted by: KirkmanJ - Jul-03-2018, 10:12 AM - Forum: General Coding Help - Replies (4)

I have a table set up like so:
[python]
class test_result(db.Model):
'''
Create main_database table
'''
__tablename__ = 'test_result'..... More

Print this item

  Beginner Problem python 2.7
Posted by: Jonathan_levy - Jul-03-2018, 09:09 AM - Forum: General Coding Help - Replies (2)

. im trying to learn python and i did a code , it gave me an error and i dont under stand why
[IMG]http://up419.siz.co.il/[url=https://python-forum.io/thread-11321.html]..... More

Print this item

Forum stats
Latest posts
Topic Date, time  Author Last Sender Forum
  pip install requests does... 3 hours ago misodca DeaD_EyE General Codin...
  Creating a Mindmap progra... Yesterday, 12:00 J_Miller Pedroski55 General Codin...
  IBKR Purchasing code issu... Yesterday, 09:08 compuman145 compuman145 General Codin...
  A coding beginner needs h... Yesterday, 03:29 Littlefish Littlefish General Codin...
  Is the interpreter that c... Yesterday, 02:36 helendamdam helendamdam General Codin...
  Using a For Loop to subtr... 09-22, 20:56 Anunderling deanhystad General Codin...
  403 error 09-20, 16:28 CaptainNewb snippsat Web Scraping ...
  what does % stand for in ... 09-19, 19:55 arbiel arbiel General Codin...
  C++ program embedding Pyt... 09-19, 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...
Most views
  The best Prog... 576794
  Tutorial Requ... 499184
  Web Scraping ... 440580
  Newbie with P... 384549
  New Users Int... 368432
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+ 12088
buran 8176
snippsat 7367
deanhystad 6894
metulburr 5151
Top referrers
Googlepro 23
metulburr 6
NonEntity 6
python 6
buran 3
Newest members
bianchiluca116 Today
ShanePulse Today
Jorgecog Today
adamsmith12 Today
Ronny Today

User Panel Messages

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