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: Perry
» Forum threads: 38,727
» Forum posts: 175,525

Full Statistics

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

Latest Threads
how to export a dictionar...
Forum: GUI
Last Post: Pedroski55
5 hours ago
» Replies: 3
» Views: 143
Is the interpreter that c...
Forum: General Coding Help
Last Post: helendamdam
7 hours ago
» Replies: 0
» Views: 337
extracting data from a us...
Forum: General Coding Help
Last Post: Perry
8 hours ago
» Replies: 0
» Views: 63
pip install requests does...
Forum: General Coding Help
Last Post: DeaD_EyE
Yesterday, 02:48 PM
» Replies: 10
» Views: 29,350
Creating a Mindmap progra...
Forum: General Coding Help
Last Post: Pedroski55
Sep-23-2025, 12:00 PM
» Replies: 4
» Views: 9,403
IBKR Purchasing code issu...
Forum: General Coding Help
Last Post: compuman145
Sep-23-2025, 09:08 AM
» Replies: 0
» Views: 277
A coding beginner needs h...
Forum: General Coding Help
Last Post: Littlefish
Sep-23-2025, 03:29 AM
» Replies: 2
» Views: 723
Using a For Loop to subtr...
Forum: General Coding Help
Last Post: deanhystad
Sep-22-2025, 08:56 PM
» Replies: 9
» Views: 922
403 error
Forum: Web Scraping & Web Development
Last Post: snippsat
Sep-20-2025, 04:28 PM
» Replies: 11
» Views: 5,183
what does % stand for in ...
Forum: General Coding Help
Last Post: arbiel
Sep-19-2025, 07:55 PM
» Replies: 2
» Views: 1,392

 
  open a web page by selenium !!
Posted by: evilcode1 - Jul-30-2018, 08:52 AM - Forum: Web Scraping & Web Development - Replies (3)

hello folks ... i hope all okay ?

i try to visit a website via selenium but it did not work :

[python]from selenium import webdriver
qassam = "htt..... More

Print this item

  Sending/Receiving Multiple Message from Server or Client
Posted by: Lyperion - Jul-30-2018, 07:52 AM - Forum: Networking - No Replies

Hi, my problem is that I don't know how I can send two times send and receive message from client to server.
I've coded these;
Example
[python]
# Serv..... More

Print this item

  pyspark database exception handling
Posted by: lsanthan - Jul-30-2018, 06:45 AM - Forum: General Coding Help - Replies (1)

We are replacing our datastage ETL tool with PySpark code.We want to mimic the error handling code in our Python script. Our ETL program fetches rows..... More

Print this item

  unicode weirdness
Posted by: Skaperen - Jul-30-2018, 05:46 AM - Forum: General Coding Help - Replies (2)

this is probably a feature. when i run this code (python3 required):[python]out = '\n'*8
for n in range(0,1024):
if n%32 == 0:
if out:..... More

Print this item

  Python split and concatenate
Posted by: saravanatn - Jul-30-2018, 05:44 AM - Forum: General Coding Help - Replies (5)

I am new to Python and using python 2.7 version

I am trying to extract array column name using python.

Array column is mentioned below:
[python]
`co..... More

Print this item

  A weather program.
Posted by: mcmxl22 - Jul-30-2018, 03:19 AM - Forum: Code sharing - No Replies

This is something I have always been interested in doing. It's a work in progress but it's fully functional. Dance

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

Print this item

  Can't figure out how to write the correct functions for my pseudocode
Posted by: mkrodick - Jul-29-2018, 11:43 PM - Forum: Homework - Replies (2)

I'm having some issues figuring out how to write the correct functions to turn my pseudocode in a Python program. These are the full instructions:
Wr..... More

Print this item

  Sharing variables across modules
Posted by: j.crater - Jul-29-2018, 11:00 PM - Forum: General Coding Help - Replies (4)

Hey all,
today I somehow managed to get stuck with getting a variable in one module changed by a function in another module - something I had working ..... More

Print this item

  Best way to return Cursor Data
Posted by: rajuarien - Jul-29-2018, 09:47 PM - Forum: General Coding Help - No Replies

I am very new to python.

--This method is encapsulated in class OracleQuery :
def executeProcedure(self, query):
try:
or..... More

Print this item

  table lamp
Posted by: Skaperen - Jul-29-2018, 07:25 PM - Forum: Bar - Replies (3)

i was looking for a table lamp. i found one with multi colors. there's a phone app to control it. it requires registering an account. i'm moving o..... More

Print this item

  Help With Script/Code
Posted by: dawratt - Jul-29-2018, 06:39 PM - Forum: General Coding Help - Replies (1)

I am 100% new to this, and I am having a lot of difficulty learning to use Python. I need help figuring out how to start a code/script to achieve what..... More

Print this item

  Python bug in ArcGIS - Urban Network analysis tool
Posted by: stanimirasn - Jul-29-2018, 06:08 PM - Forum: General Coding Help - No Replies

Hi there,

I'm trying make reach analyze with Urban network analysis (UNA) tool in ArcGIS. It's based on points for buildings and pedestrian networ..... More

Print this item

  How to install DJango
Posted by: Atsuko_Zeppeli - Jul-29-2018, 05:27 PM - Forum: General Coding Help - Replies (4)

I looked for some tutorial for install Django and connect it with Python, But the message that appears on my application its different to what I looke..... More

Print this item

  Activating buton using "Enter" key
Posted by: ybeco - Jul-29-2018, 04:45 PM - Forum: GUI - Replies (3)

Hello everybody!
I am a beginner in python. I start to access the basics...
Thank you for this very useful site and for the time you spend to answe..... More

Print this item

  extracting XML data into datframe
Posted by: hey_arnold - Jul-29-2018, 02:54 PM - Forum: Data Science - Replies (2)

I am querying an API that returns the following, I am trying to extract the name and flow rate data using the below code, but can't work out why its n..... More

Print this item

  Clone a project
Posted by: saisankalpj - Jul-29-2018, 02:24 PM - Forum: General Coding Help - Replies (1)

How do i clone a project from github ? What are the steps required to run the project after downloading from github

Print this item

  How to add multiple tables to pyspark sql
Posted by: cpatte7372 - Jul-29-2018, 01:59 PM - Forum: General Coding Help - Replies (2)

Hello community,

Can someone let me know how to add multiple tables to a my query?

As you can see from the code below I have two tables i) Perso..... More

Print this item

  Type just one character not followed by ENTER
Posted by: sylas - Jul-29-2018, 10:23 AM - Forum: General Coding Help - Replies (2)

Hi all! If I remember well,in C++, I could wait an answer to (y/n), the user typing y, not followed by hitting ENTER. Is it possible in python3 ?? T..... More

Print this item

  zklib fingerprint attendance problem
Posted by: daemonsh - Jul-29-2018, 10:12 AM - Forum: General Coding Help - Replies (1)

Hello, i need some help about zklib library which link below. zkMachine.py is working but if machines finger id 2 digits. when 3 digits or 4 digits, f..... More

Print this item

  Put Print Statement Wrong Somehow...
Posted by: abrogard - Jul-29-2018, 09:33 AM - Forum: General Coding Help - Replies (6)

I have my first ever bit of code going alright and then I put some print() statements in at the bottom and they don't print and the system doesn't tel..... More

Print this item

  Automation/Scraping
Posted by: moejoe125 - Jul-29-2018, 08:38 AM - Forum: General Coding Help - Replies (1)

Hello All,
I've just joined this forum, had a quick look around and seems like a good place to be for someone like myself who's just starting out.
..... More

Print this item

  What key pressed?
Posted by: ian - Jul-29-2018, 01:26 AM - Forum: General Coding Help - Replies (2)

I test the code below but not sure how to catch non-ASCII key, like Enter, Esc and so on. Thanks

[python]
import msvcrt
while True:
if msvcr..... More

Print this item

  Emulate slicing for a method
Posted by: heras - Jul-28-2018, 09:14 PM - Forum: Data Science - Replies (5)

Hi,

Is there a way to make a method sliceable? For example:

my_instance.look_up[3:6]
Pandas has the DataFrame class. It needs ..... More

Print this item

  Python HTTPs client code with mutual SSL authentication
Posted by: ashish0265 - Jul-28-2018, 07:39 PM - Forum: Web Scraping & Web Development - No Replies

I am trying to write a python code for an HTTPs client to connect to an HTTPS server.

The code will do the following:
1. Connect to ..... More

Print this item

  Variant type object arrays
Posted by: anbra - Jul-28-2018, 05:37 PM - Forum: General Coding Help - Replies (3)

Good day everyone,

I've been making some scripts with Autohotkey before and decided to move forwards and learn python(i know there is ironpython for..... More

Print this item

  Connecting Anaconda with Sublime Text 3
Posted by: Atsuko_Zeppeli - Jul-28-2018, 04:40 PM - Forum: General Coding Help - Replies (2)

I wanted to connect Sublime Text 3 with Anaconda from the same sublime text, I did it and it came out to me that the installation had been successful ..... More

Print this item

  20 x 20 Integer array with random numbers
Posted by: harryk - Jul-28-2018, 03:30 PM - Forum: General Coding Help - Replies (3)

How do I make a 20 x 20 array and fill it with random 1s and -1s ? I've tried using A=np.random.randint(-1,1,[20,20])
print(A)
but this includes zer..... More

Print this item

  Tkinter move to next row
Posted by: liamo_08 - Jul-28-2018, 02:58 PM - Forum: GUI - Replies (2)

Hi all, I'm making an app that pastes receipt details into an excel spreadsheet for me & I have 2 problems that are driving me crazy!

1. For sec1: Tk..... More

Print this item

  Code discussion
Posted by: khanghaxuan - Jul-28-2018, 02:16 PM - Forum: Homework - Replies (3)

Hi everyone, I came across this problem(which is quite interesting):
input: a sentence
output: that sentence in reverse
E.g: input: 'abc 123 abc..... More

Print this item

  How to get number with print statement
Posted by: Rehan11 - Jul-28-2018, 02:00 PM - Forum: General Coding Help - Replies (1)

I wrote program to add two integer.
(using python 2.7)
[code]print "Promote user to enter first number"

number1 = int(raw_input())

print "Pr..... More

Print this item

  Closing a program
Posted by: oldDog - Jul-28-2018, 12:39 PM - Forum: General Coding Help - Replies (4)

Have been trying to learn about dictionaries in Python 3 at Understanding Dictionaries in Python 3

[python]..... More

Print this item

  'For' command and filling excel table with pandas by doing web-scrabbing
Posted by: fyec - Jul-28-2018, 08:22 AM - Forum: Web Scraping & Web Development - Replies (1)

With selenium library, I can open and read some information from a website, but while transferring these data read to an excel table, I can't fill all..... More

Print this item

  Hangman Tkinter game
Posted by: RitaBomb2017 - Jul-28-2018, 07:37 AM - Forum: GUI - Replies (2)

Hello,

I am unable to input a letter or even start the game. I was able to get the tkinter to work, but stuck on being able to play the game.

..... More

Print this item

  Can I/Should I Install Python 2 AND 3?
Posted by: abrogard - Jul-28-2018, 06:10 AM - Forum: News and Discussions - Replies (6)

I'm just starting. Installed 3. Now following an online tutorial where he says use 2 and he's pretty convincing about it.

Can I install 2 now al..... More

Print this item

  Unexpected Results for Selection Sort
Posted by: emerger - Jul-28-2018, 02:51 AM - Forum: General Coding Help - Replies (2)

My book, "Fundamentals of Python, Data Structures" gives me this code for selection sort. I tried the code and got unexpected results (below). I've ..... More

Print this item

Forum stats
Latest posts
Topic Date, time  Author Last Sender Forum
  [Tkinter] how to export a... 5 hours ago RonR Pedroski55 GUI
  Is the interpreter that c... 7 hours ago helendamdam helendamdam General Codin...
  extracting data from a us... 8 hours ago Perry Perry General Codin...
  pip install requests does... Yesterday, 14:48 misodca DeaD_EyE General Codin...
  Creating a Mindmap progra... 09-23, 12:00 J_Miller Pedroski55 General Codin...
  IBKR Purchasing code issu... 09-23, 09:08 compuman145 compuman145 General Codin...
  A coding beginner needs h... 09-23, 03:29 Littlefish Littlefish 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...
Most views
  The best Prog... 576843
  Tutorial Requ... 499330
  Web Scraping ... 440625
  Newbie with P... 384600
  New Users Int... 368529
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 6895
metulburr 5151
Top referrers
Googlepro 23
metulburr 6
NonEntity 6
python 6
buran 3
Newest members
Perry Today
bianchiluca116 Yesterday
Jorgecog Yesterday
adamsmith12 Yesterday
Ronny Yesterday

User Panel Messages

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