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

Username
  

Password
  





Search Forums

(Advanced Search)

Forum Statistics
» Members: 18,582
» Latest member: srinidhigowda
» Forum threads: 37,363
» Forum posts: 169,779

Full Statistics

Online Users
There are currently 377 online users.
» 0 Member(s) | 371 Guest(s)
Bing, Google, Baidu, Applebot, Yandex

Latest Threads
Adding a sub menu to a tt...
Forum: General Coding Help
Last Post: deanhystad
22 minutes ago
» Replies: 1
» Views: 42
python calculate float pl...
Forum: General Coding Help
Last Post: DeaD_EyE
1 hour ago
» Replies: 6
» Views: 97
Need to get around SSL: C...
Forum: General Coding Help
Last Post: sawtooth500
1 hour ago
» Replies: 3
» Views: 89
python packaging/ hosted ...
Forum: Web Scraping & Web Development
Last Post: manjureka
4 hours ago
» Replies: 0
» Views: 50
Dynamically plotting grap...
Forum: Data Science
Last Post: Larz60+
5 hours ago
» Replies: 7
» Views: 126
Rich output to PDF
Forum: General Coding Help
Last Post: Pedroski55
7 hours ago
» Replies: 1
» Views: 84
Seeking advice on dask di...
Forum: General Coding Help
Last Post: sawtooth500
Yesterday, 11:07 PM
» Replies: 4
» Views: 177
Hide CMD call window
Forum: General Coding Help
Last Post: DeaD_EyE
Yesterday, 08:56 PM
» Replies: 3
» Views: 93
Fixture not returning web...
Forum: General Coding Help
Last Post: Nik1811
Yesterday, 04:39 PM
» Replies: 1
» Views: 133
Making the tab key work l...
Forum: General Coding Help
Last Post: jackg
Yesterday, 02:25 PM
» Replies: 2
» Views: 99

 
  pagination for non standarded pages
Posted by: zarize - Aug-30-2019, 12:52 PM - Forum: Web Scraping & Web Development - Replies (12)

hi guys,

i am learning scraping and i currently i ve stopped in point of doing pagination in script below:

[python]from bs4 import BeautifulSoup
imp..... More

Print this item

  print multiple at once
Posted by: zarize - Aug-30-2019, 11:06 AM - Forum: General Coding Help - Replies (2)

hi guys,

is it possible to print multiple things/rows at once instead of print1, print2 etc?

On example presented below i would like to print al..... More

Print this item

  How can I compare Python XML-Files and add missing values from one to another
Posted by: kirat - Aug-30-2019, 10:59 AM - Forum: General Coding Help - Replies (2)

I am fairly new to programming with Python and I want to compare values of 2 XML-Files and adding the missing values from XML-File2 to XML-File1

Si..... More

Print this item

  Copy xlsx cell format into data frame or table
Posted by: Johnse - Aug-30-2019, 10:59 AM - Forum: News and Discussions - Replies (4)

Hello,

Is there a way to copy excel cell data format into python.
Cell format for example, in a cell some words are bold while others are link.
..... More

Print this item

  UI ComboBox in DatagridColumn
Posted by: BollerwagenIng - Aug-30-2019, 10:56 AM - Forum: GUI - Replies (1)

Hello,

I crate a DataGrid and I want to insert for every row in the third column a ComboBox. I am so far til now:

[python]
def getUIContent():..... More

Print this item

  sending requests over TCP to terminal
Posted by: Oolongtea - Aug-30-2019, 08:55 AM - Forum: Networking - Replies (5)

I am trying to set up a TCP client to communicate with an encoder terminal (Heindenhain EIB714). The EIB is basically a server with 1 open port, which..... More

Print this item

  Django getting ModuleNotFoundError: No module named '='
Posted by: Malt - Aug-30-2019, 08:34 AM - Forum: Web Scraping & Web Development - No Replies

Hi All,

I just installed Django framework and created one .py file to access sqlite3 (which I have installed). I mentioned the sqlite3 db path unde..... More

Print this item

  what does __file__ mean in getting abspath
Posted by: Malt - Aug-30-2019, 06:20 AM - Forum: General Coding Help - Replies (9)

I'm exploring Django framework and in manage.py, I could see statement
BASE_DIR = os.path.dirname(os.path.dirname(os.path.abspath(__file__)))

I c..... More

Print this item

  Sorry to bother, I've occured a newbiw question.
Posted by: Ethan4216 - Aug-30-2019, 04:25 AM - Forum: General Coding Help - Replies (2)

You see, as I type in the codes below, Python said that there was an ValueError. But what's below is literaly what I copied from the book, still didn'..... More

Print this item

  something i noticed about the "schedule" module
Posted by: Stan2292 - Aug-30-2019, 04:11 AM - Forum: General Coding Help - Replies (1)

im new to python. using 3.7 atm. i just finished a SCADA auto fault reporting script (works off of a monitoring website's frontend). i've scheduled th..... More

Print this item

  Random Loss of Control of Website When Scraping
Posted by: bmccollum - Aug-30-2019, 04:04 AM - Forum: Web Scraping & Web Development - No Replies

I've been writing a Python script to scrape a site. I'm accessing & controlling the site using Selenium.

Here's an example of a typical page on th..... More

Print this item

  extracting embedded IP addresses
Posted by: Skaperen - Aug-30-2019, 03:27 AM - Forum: News and Discussions - Replies (3)

i am reading in a sequence of lines from a file. each line has zero or more (usually at least one) IPv4 addresses embedded within other text. there ..... More

Print this item

  axes.spines
Posted by: jaisale1 - Aug-30-2019, 02:28 AM - Forum: General Coding Help - No Replies

axes[0,0].spines['bottom'].set_color('black')
axes[0,1].spines['bottom'].set_color('black')
axes[1,0].spines['bottom'].set_color('black')
axes[1,1]..... More

Print this item

  How to run a method on an argument in a formatted string
Posted by: Exsul - Aug-30-2019, 12:52 AM - Forum: General Coding Help - Replies (1)

[python]class Test:

def __init__(self):
self.name = "unnamed"
self.subj = "he"
self.poss = "his"
self.obj =..... More

Print this item

  waiting for many processes in parallel
Posted by: Skaperen - Aug-30-2019, 12:16 AM - Forum: General Coding Help - Replies (2)

i have started about 20 processes using subprocess.Popen(command,stdout=PIPE) and have gotten EOF on all their pipes. ..... More

Print this item

  Instalation of library for Python 3 / 3.7
Posted by: ybeco - Aug-30-2019, 12:05 AM - Forum: General Coding Help - Replies (1)

Hi

I don't understand how to install a library available for all Python3 versions...

I installed "numpy" in this way:
[output]
sudo apt-get in..... More

Print this item

  Python built-ins: when and why should I use them?
Posted by: DrProfessor85 - Aug-29-2019, 11:22 PM - Forum: News and Discussions - Replies (4)

Hello!

I've googled then googled some more, but I still can't seem to find an explanation of when and why I should be using certain built-ins in P..... More

Print this item

  can itertools compact a list removing all of some value?
Posted by: Skaperen - Aug-29-2019, 10:30 PM - Forum: General Coding Help - Replies (6)

i have a huge list (approaching a billion items) which is mostly strings and/or numbers, but there are a lot of None values in there,..... More

Print this item

  Noob. Importing Help.
Posted by: Techigamer - Aug-29-2019, 08:07 PM - Forum: General Coding Help - No Replies

Hi,

I am currently using Python 3.3.0 based on a restriction, and as a result, I have been attempting to install packages with no success. More speci..... More

Print this item

  Help with options
Posted by: raiden - Aug-29-2019, 08:05 PM - Forum: General Coding Help - Replies (1)

Hello, Im new to python programing. I wrote the folowing program last night.
It just gets basic user information and writes it to a text file.
My ques..... More

Print this item

  Errors to get information of multiple files into a single file csv
Posted by: Clnprof - Aug-29-2019, 07:35 PM - Forum: General Coding Help - Replies (3)

I'm trying to get information from several files (in this order: 1.bateaulecalife.csv (https://imgur.com/a/831o2s3 - 201 lines), 2.boutary (https://im..... More

Print this item

  Basic if/then help (I'm sorry)
Posted by: racichb - Aug-29-2019, 07:17 PM - Forum: General Coding Help - Replies (4)

Basic question from a complete noob. I'm sorry.

Testing if statement and for loops. Populating a list, creating an empty list, finding some values ..... More

Print this item

  created a pandas series instead of pandas DataFrame
Posted by: ibaad1406 - Aug-29-2019, 06:03 PM - Forum: Data Science - Replies (6)

i created a pandas DataFrame for GPS satellite from a text file and i wanted to create a single DataFrame for distinct satellite, all goes as per my e..... More


Attached Files

.txt   ABMF00GLP_R_20190201400_01H_GN.txt (Size: 27.69 KB / Downloads: 0)
Print this item

  How to bind an event when enter is pressed on a Entry control?
Posted by: Michael4 - Aug-29-2019, 06:00 PM - Forum: GUI - Replies (4)

Hello everyone! I am a newbie to Python. I'd like to create a program that runs using Tkinter, but my code doesn't work correctly, unluckily. Could yo..... More

Print this item

  save in CSV and plotting in real time
Posted by: linkxxx - Aug-29-2019, 05:04 PM - Forum: General Coding Help - Replies (8)

[python]
import serial # import Serial Library
import numpy as np # Impor..... More

Print this item

  Object Handles across QThread Boundaries
Posted by: Denni - Aug-29-2019, 04:15 PM - Forum: GUI - No Replies

First I am specifically using: Python 3.7, pyqt5, QThread

I know I can do this because I have done it without the program crashing but I am wonderi..... More

Print this item

  Reverse order of phrase Error
Posted by: ilondire05 - Aug-29-2019, 03:42 PM - Forum: General Coding Help - Replies (4)

[python]phrase = input("Enter a phrase")
rev_phrase = reversed(phrase)
i = len(phrase)
while i >= 0:
if phrase[i] != rev_phrase[i]
pr..... More

Print this item

  How to trigger python script twice a day
Posted by: SriMekala - Aug-29-2019, 03:17 PM - Forum: General Coding Help - Replies (1)

Hi,
I want to trigger my python program every day at 8 am & 11 pm. I try to test this using below code, but the program did work well.

[python]imp..... More

Print this item

  Modify a dictionary
Posted by: NathanF - Aug-29-2019, 03:05 PM - Forum: General Coding Help - Replies (2)

Hello everyone,

I'm new to coding and currently self-taught using online books. I am creating a dictionary with 30 aliens all the same, then modify..... More

Print this item

  Post JSON from python to PHP don't give expected result
Posted by: pgagnebin - Aug-29-2019, 02:43 PM - Forum: General Coding Help - Replies (1)

Hello.
I need to send JSON data from python to PHP.
Python and PHP are located on different servers.
I test with this python code :
[python]
impo..... More

Print this item

  Scrap a value from website
Posted by: harsush - Aug-29-2019, 12:43 PM - Forum: Web Scraping & Web Development - Replies (1)

Iam trying scrap trade date value -- below is what i have written, but not getting the value. Can someone help on this.

[python]
#!/usr/bin/env py..... More

Print this item

  Error when running the second time
Posted by: metro17 - Aug-29-2019, 10:28 AM - Forum: General Coding Help - Replies (3)

def check_id():
while True:
userid = input("Please enter your ID: ")
if len(userid) == 8 and ' 'not in userid and userid[0:2].i..... More

Print this item

  Read 2 temperatures in Real Time from Arduino
Posted by: linkxxx - Aug-29-2019, 10:25 AM - Forum: General Coding Help - No Replies

Guys sorry if I'm disturbing again, but I am not able to find the errors on my code, how you can see in the picture attached I'm able to show the temp..... More

Print this item

  TypeError: 'int' object is not callable
Posted by: hakan - Aug-29-2019, 09:49 AM - Forum: General Coding Help - Replies (3)

Hello everybody, I just wrote this code to calculate Factorial using python 3.6 on Microsoft azure jupyter notebook. it's works fine for the first tim..... More

Print this item

  VS-Code or PyCharm Vs IDLE For Python Coding
Posted by: adt - Aug-29-2019, 06:23 AM - Forum: News and Discussions - Replies (14)

Python installation includes IDLE as its own IDE.

Across the web, a marked preference is observed for alternative IDE's
like Visual Studio Code or..... More

Print this item

Forum stats
Latest posts
Topic Date, time  Author Last Sender Forum
  Adding a sub menu to a tt... 22 minutes ago Robo deanhystad General Codin...
  python calculate float pl... 1 hour ago sirocawa DeaD_EyE General Codin...
  Need to get around SSL: C... 1 hour ago sawtooth500 sawtooth500 General Codin...
  python packaging/ hosted ... 4 hours ago manjureka manjureka Web Scraping ...
  Dynamically plotting grap... 5 hours ago CAD79 Larz60+ Data Science
  Rich output to PDF 7 hours ago HEbO61 Pedroski55 General Codin...
  Seeking advice on dask di... Yesterday, 23:07 sawtooth500 sawtooth500 General Codin...
  Hide CMD call window Yesterday, 20:56 tester_V DeaD_EyE General Codin...
  Fixture not returning web... Yesterday, 16:39 Nik1811 Nik1811 General Codin...
  Making the tab key work l... Yesterday, 14:25 jackg jackg General Codin...
  Just beginning Yesterday, 11:49 dalekeel Pedroski55 General Codin...
Most views
  The best Prog... 393803
  Web Scraping ... 286241
  Tutorial Requ... 281054
  Newbie with P... 241230
  New Users Int... 228258
Most reputation
buran 582
snippsat 499
Larz60+ 452
Gribouillis 330
deanhystad 312
Most replies
  New Users Int... 431
  [book] Variou... 188
  CKEditor / Ri... 100
  moving from t... 95
  Free keys and... 91
Top posters
Larz60+ 11866
buran 8086
snippsat 7079
deanhystad 6186
metulburr 5150
Top referrers
Googlepro 20
python 6
metulburr 6
NonEntity 5
buran 3
Newest members
srinidhigowda Today
CaseySullivan Today
manjureka Today
amirh Today
LukasB Today

User Panel Messages

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