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,312
» Latest member: elizabethlittle6258
» Forum threads: 38,801
» Forum posts: 175,923

Full Statistics

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

Latest Threads
No new line from print in...
Forum: General Coding Help
Last Post: noisefloor
6 hours ago
» Replies: 11
» Views: 316
Python compiler
Forum: General Coding Help
Last Post: noisefloor
7 hours ago
» Replies: 1
» Views: 75
Trading Risk management s...
Forum: Code sharing
Last Post: NeoQuant
Yesterday, 07:34 PM
» Replies: 5
» Views: 93
Standard template Data En...
Forum: Code Review
Last Post: Hosthubac
Yesterday, 05:51 PM
» Replies: 0
» Views: 51
Python Online Compiler
Forum: News and Discussions
Last Post: ichsanputr
Yesterday, 07:39 AM
» Replies: 3
» Views: 11,128
Python is not working on ...
Forum: General Coding Help
Last Post: noisefloor
Nov-28-2025, 10:44 AM
» Replies: 4
» Views: 205
Help with Serial.write in...
Forum: General Coding Help
Last Post: Larz60+
Nov-28-2025, 04:44 AM
» Replies: 8
» Views: 732
Can I develop a live vide...
Forum: Web Scraping & Web Development
Last Post: mamta25
Nov-27-2025, 04:48 AM
» Replies: 6
» Views: 7,839
silent deployment Python ...
Forum: News and Discussions
Last Post: Larz60+
Nov-26-2025, 09:58 PM
» Replies: 3
» Views: 213
Proposal for PEP
Forum: News and Discussions
Last Post: Gribouillis
Nov-26-2025, 03:53 PM
» Replies: 1
» Views: 168

 
  Buttons in table. Which row was selected to export.
Posted by: KirkmanJ - Jul-05-2018, 08:57 AM - Forum: Web Scraping & Web Development - Replies (12)

I am using a flask model with sqlalchemy.

The following python code exports a pdf.
[python]
@pdf_display_blueprint.route('/download_pdf', metho..... More

Print this item

  wordpress-python-xmlrpc. I can import 1 file. How do I import the entire folder?
Posted by: SamLearnsPython - Jul-05-2018, 06:21 AM - Forum: General Coding Help - No Replies

Im learning xmlrpc. I am able to import 1 image at a time. How do I import all images in a folder into a post?

[python]from wordpress_xmlrpc import..... More

Print this item

  Path or PurePath
Posted by: Skaperen - Jul-05-2018, 05:29 AM - Forum: General Coding Help - Replies (2)

i am writing a function that may be given a pathlib Path or PurePath object, or a string, or bytes, or bytearray. the first two are what conce..... More

Print this item

  object cannot be interpreted as an integer
Posted by: How_2 - Jul-05-2018, 04:40 AM - Forum: Data Science - Replies (1)

Hello,

I am a beginner programmer working on a Python project. - Using Python 3.6 and Windows 10
I need help interpreting this error message befor..... More

Print this item

  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

Forum stats
Latest posts
Topic Date, time  Author Last Sender Forum
  No new line from print in... 6 hours ago Lou noisefloor General Codin...
  Python compiler 7 hours ago NeoQuant noisefloor General Codin...
  Trading Risk management s... Yesterday, 19:34 NeoQuant NeoQuant Code sharing
  Standard template Data En... Yesterday, 17:51 Hosthubac Hosthubac Code Review
  Python Online Compiler Yesterday, 07:39 alexmaxwell1 ichsanputr News and Disc...
  Python is not working on ... 11-28, 10:44 lary_p noisefloor General Codin...
  Help with Serial.write in... 11-28, 04:44 racingsubby Larz60+ General Codin...
  Can I develop a live vide... 11-27, 04:48 mtrkhan mamta25 Web Scraping ...
  silent deployment Python ... 11-26, 21:58 Bummibaer Larz60+ News and Disc...
  Proposal for PEP 11-26, 15:53 matt Gribouillis News and Disc...
  My regex function is not ... 11-26, 08:47 Moltar1997 perfringo General Codin...
Most views
  The best Prog... 579512
  Tutorial Requ... 512964
  Web Scraping ... 442375
  Newbie with P... 386402
  New Users Int... 381782
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+ 12113
buran 8196
snippsat 7394
deanhystad 6916
metulburr 5151
Top referrers
Googlepro 23
python 6
metulburr 6
NonEntity 5
buran 3
Newest members
elizabethlittle6258 Today
StepanVoronin Today
QABOB Today
adityaN Today
NeoQuant Yesterday

User Panel Messages

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